🔧 stakater on controller for rolling updates

This commit is contained in:
auricom
2022-12-01 23:36:36 +01:00
parent 61b0eaa4b5
commit 936415b27a
12 changed files with 35 additions and 32 deletions

View File

@@ -30,13 +30,20 @@ spec:
controller:
replicas: 1
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
image:
repository: docker.io/outlinewiki/outline
tag: 0.66.3
envFrom:
- secretRef:
name: *app
command: ["/bin/sh", "-c", "yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled"]
name: outline-secret
command:
[
"/bin/sh",
"-c",
"yarn db:migrate --env=production-ssl-disabled && yarn start --env=production-ssl-disabled",
]
service:
main:
ports:
@@ -54,8 +61,6 @@ spec:
tls:
- hosts:
- *host
podAnnotations:
secret.reloader.stakater.com/reload: *app
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname