2023-08-10 09:37:25 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: taiga-protected-deployment
|
|
|
|
labels:
|
|
|
|
app.kubernetes.part-of: c4k-taiga
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: taiga
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: taiga
|
|
|
|
spec:
|
2023-08-10 10:42:24 +00:00
|
|
|
containers:
|
2023-08-10 09:37:25 +00:00
|
|
|
- name: taiga-protected
|
|
|
|
image: taigaio/taiga-protected:latest
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
ports:
|
2023-08-10 10:52:05 +00:00
|
|
|
- name: http
|
|
|
|
containerPort: 8003
|
2023-08-10 09:37:25 +00:00
|
|
|
env:
|
|
|
|
- name: MAX_AGE
|
|
|
|
value: ATTACHMENTS_MAX_AGE
|
2023-08-10 11:19:45 +00:00
|
|
|
- name: SECRET_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: taiga-secret
|
|
|
|
key: TAIGA_SECRET_KEY
|