Adds taiga app.
This commit is contained in:
69
taiga/versions/6/deployment-events.yaml
Normal file
69
taiga/versions/6/deployment-events.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: taiga-events
|
||||
namespace: {{ .namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: events
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
component: events
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: taiga-events
|
||||
image: taigaio/taiga-events:6.10.0
|
||||
ports:
|
||||
- name: ws
|
||||
containerPort: 8888
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: RABBITMQ_USER
|
||||
value: taiga
|
||||
- name: RABBITMQ_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: taiga-secrets
|
||||
key: rabbitmqPassword
|
||||
- name: RABBITMQ_VHOST
|
||||
value: taiga
|
||||
- name: RABBITMQ_HOST
|
||||
value: taiga-rabbitmq
|
||||
- name: TAIGA_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: taiga-secrets
|
||||
key: secretKey
|
||||
resources:
|
||||
limits:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 64Mi
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: 8888
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 8888
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 3
|
||||
failureThreshold: 3
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
restartPolicy: Always
|
||||
Reference in New Issue
Block a user