mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
86 lines
2.2 KiB
YAML
86 lines
2.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zitadel
|
|
labels:
|
|
app: zitadel
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: zitadel
|
|
version: v1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: zitadel
|
|
version: v1
|
|
spec:
|
|
containers:
|
|
- name: zitadel
|
|
image: docker.pkg.github.com/caos/zitadel/zitadel:latest
|
|
imagePullPolicy: IfNotPresent
|
|
args: []
|
|
ports:
|
|
- name: management-rest
|
|
containerPort: 50011
|
|
- name: management-grpc
|
|
containerPort: 50010
|
|
- name: auth-rest
|
|
containerPort: 50021
|
|
- name: issuer-rest
|
|
containerPort: 50022
|
|
- name: auth-grpc
|
|
containerPort: 50020
|
|
- name: admin-rest
|
|
containerPort: 50041
|
|
- name: admin-grpc
|
|
containerPort: 50040
|
|
- name: console-http
|
|
containerPort: 50050
|
|
- name: accounts-http
|
|
containerPort: 50031
|
|
env:
|
|
- name: POD_IP
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: status.podIP
|
|
- name: CHAT_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: zitadel-secrets-vars
|
|
key: ZITADEL_GOOGLE_CHAT_URL
|
|
- name: TWILIO_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: zitadel-secrets-vars
|
|
key: ZITADEL_TWILIO_AUTH_TOKEN
|
|
- name: TWILIO_SERVICE_SID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: zitadel-secrets-vars
|
|
key: ZITADEL_TWILIO_SID
|
|
- name: SMTP_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: zitadel-secrets-vars
|
|
key: ZITADEL_EMAILAPPKEY
|
|
envFrom:
|
|
- configMapRef:
|
|
name: zitadel-vars
|
|
volumeMounts:
|
|
- name: zitadel-secret
|
|
mountPath: /secret
|
|
- name: console-config
|
|
mountPath: /console/environment.json
|
|
subPath: environment.json
|
|
imagePullSecrets:
|
|
- name: githubsecret
|
|
volumes:
|
|
- name: zitadel-secret
|
|
secret:
|
|
secretName: zitadel-secret
|
|
- name: console-config
|
|
configMap:
|
|
name: console-config
|