blob: 79fa24347805070f357dd779b989af14fbab668a (
plain) (
blame)
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: patsy
spec:
replicas: 0
selector:
matchLabels:
app: patsy
template:
metadata:
labels:
app: patsy
spec:
containers:
- name: patsy
image: ghcr.io/python-discord/patsy:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
envFrom:
- secretRef:
name: patsy-env
startupProbe:
httpGet:
path: /ping
port: http
httpHeaders:
- name: Host
value: patsy.pythondiscord.com
failureThreshold: 3
periodSeconds: 1
initialDelaySeconds: 10
securityContext:
readOnlyRootFilesystem: true
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
|