c4k-taiga/src/main/resources/taiga/taiga-protected-deployment.yaml

30 lines
640 B
YAML
Raw Normal View History

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
envFrom: # ToDo secret key ref - secret_key
- secretRef:
2023-08-10 10:57:25 +00:00
name: taiga-secret
2023-08-10 09:37:25 +00:00
env:
- name: MAX_AGE
value: ATTACHMENTS_MAX_AGE