apiVersion: apps/v1 kind: Deployment metadata: name: taiga-gateway namespace: {{ .namespace }} spec: replicas: 1 strategy: type: Recreate selector: matchLabels: component: gateway template: metadata: labels: component: gateway spec: securityContext: runAsNonRoot: false runAsUser: 0 runAsGroup: 0 seccompProfile: type: RuntimeDefault containers: - name: taiga-gateway image: nginx:1.27-alpine ports: - name: http containerPort: 80 protocol: TCP resources: limits: cpu: 250m memory: 128Mi requests: cpu: 50m memory: 32Mi volumeMounts: - name: gateway-config mountPath: /etc/nginx/conf.d - name: taiga-static mountPath: /taiga/static readOnly: true - name: taiga-media mountPath: /taiga/media readOnly: true livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 10 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 3 failureThreshold: 3 securityContext: readOnlyRootFilesystem: false volumes: - name: gateway-config configMap: name: taiga-gateway-config - name: taiga-static persistentVolumeClaim: claimName: taiga-static - name: taiga-media persistentVolumeClaim: claimName: taiga-media restartPolicy: Always