-
Notifications
You must be signed in to change notification settings - Fork 73
/
allure-deployment.yml
46 lines (46 loc) · 1.15 KB
/
allure-deployment.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
apiVersion: apps/v1
kind: Deployment
metadata:
name: allure-deployment
namespace: allure-docker-service
spec:
template:
metadata:
name: allure-container
labels:
type: app
spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
containers:
- name: allure
image: 'frankescobar/allure-docker-service'
imagePullPolicy: Always
ports:
- containerPort: 5050
envFrom:
- configMapRef:
name: allure-config-map
- secretRef:
name: allure-secret
volumeMounts:
- name: reports-volume
mountPath: /app/projects
- name: allure-ui
image: 'frankescobar/allure-docker-service-ui'
imagePullPolicy: Always
ports:
- containerPort: 5252
envFrom:
- configMapRef:
name: allure-config-ui-map
volumes:
- name: reports-volume
persistentVolumeClaim:
claimName: allure-persistent-volume-claim
replicas: 1
selector:
matchLabels:
type: app