-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment.yaml
53 lines (45 loc) · 1.01 KB
/
deployment.yaml
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
47
48
49
50
51
52
53
apiVersion: apps/v1
kind: Deployment
metadata:
name: dieppe
spec:
selector:
matchLabels:
app: dieppe
replicas: 1
template:
metadata:
labels:
app: dieppe
spec:
volumes:
- name: config
configMap:
name: config
containers:
- name: dieppe
image: ghcr.io/nint8835/dieppe:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: /config
name: config
ports:
- name: http
containerPort: 8000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault