2023-08-10 11:37:25 +02:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: taiga-events-deployment
|
|
|
|
labels:
|
|
|
|
app.kubernetes.part-of: c4k-taiga
|
2023-08-10 14:11:48 +02:00
|
|
|
app.kubernetes.io/component: taiga-events
|
2023-08-10 11:37:25 +02:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
2023-08-11 12:54:32 +02:00
|
|
|
app: taiga # ToDo: Check for consistent labels (maybe use app.kubernetes.io)
|
2023-08-10 11:37:25 +02:00
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: taiga
|
|
|
|
spec:
|
2023-08-10 12:42:24 +02:00
|
|
|
containers:
|
2023-08-10 11:37:25 +02:00
|
|
|
- name: taiga-events
|
|
|
|
image: taigaio/taiga-events:latest
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
ports:
|
2023-08-10 12:52:05 +02:00
|
|
|
- name: http
|
|
|
|
containerPort: 8888
|
2023-08-10 13:19:45 +02:00
|
|
|
env:
|
|
|
|
- name: RABBITMQ_USER
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: taiga-secret
|
|
|
|
key: RABBITMQ_USER
|
|
|
|
- name: RABBITMQ_PASS
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: taiga-secret
|
|
|
|
key: RABBITMQ_PASS
|
|
|
|
- name: SECRET_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: taiga-secret
|
|
|
|
key: TAIGA_SECRET_KEY
|
|
|
|
|