-
Notifications
You must be signed in to change notification settings - Fork 18
/
deployment.yml
45 lines (45 loc) · 1.1 KB
/
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
apiVersion: apps/v1
kind: Deployment
metadata:
name: deck
spec:
replicas: 1
template:
spec:
containers:
- env:
- name: DECK_HOST
value: 0.0.0.0
- name: DECK_PORT
value: "9000"
envFrom:
- configMapRef:
name: deck-env
image: gcr.io/spinnaker-marketplace/deck:spinnaker-master-latest-validated
name: deck
ports:
- name: traffic-port
containerPort: 9000
protocol: TCP
readinessProbe:
tcpSocket:
port: 9000
volumeMounts:
- mountPath: /opt/spinnaker/config
name: deck-config-volume
- mountPath: /var/secrets
name: spinnaker-secrets-volume
securityContext:
allowPrivilegeEscalation: false
volumes:
- name: deck-config-volume
secret:
secretName: deck-config
- name: spinnaker-secrets-volume
secret:
secretName: spinnaker-secrets
securityContext:
runAsUser: 1000
runAsGroup: 1000
runAsNonRoot: true
fsGroup: 1000