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

41 lines
961 B
YAML
Raw Normal View History

2023-08-10 11:37:25 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: taiga-front-deployment
labels:
app.kubernetes.part-of: c4k-taiga
app.kubernetes.io/component: taiga-front
2023-08-10 11:37:25 +02:00
spec:
replicas: 1
selector:
matchLabels:
app: taiga
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-front
image: taigaio/taiga-front:latest
imagePullPolicy: IfNotPresent
ports:
2023-08-10 12:52:05 +02:00
- name: http
containerPort: 80
2023-08-10 11:37:25 +02:00
env:
- name: TAIGA_URL
2023-08-22 12:28:24 +02:00
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_URL
2023-08-10 11:37:25 +02:00
- name: TAIGA_SUBPATH
2023-08-22 12:28:24 +02:00
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_SUBPATH
- name: TAIGA_WEBSOCKETS_URL
valueFrom:
configMapKeyRef:
name: taiga-configmap
key: TAIGA_WEBSOCKETS_URL