blob: 70cc13d9d79c545ef73a0a14f056491f7af55d53 (
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
|
apiVersion: apps/v1
kind: Deployment
metadata:
name: thallium-backend
namespace: merch
spec:
replicas: 1
selector:
matchLabels:
app: thallium-backend
template:
metadata:
labels:
app: thallium-backend
spec:
containers:
- name: thallium-backend
image: ghcr.io/owl-corp/thallium-backend:latest
imagePullPolicy: "Always"
envFrom:
- secretRef:
name: thallium-backend-env
- configMapRef:
name: thallium-config-env
securityContext:
readOnlyRootFilesystem: true
imagePullSecrets:
- name: ghcr-pull-secret
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
|