mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
🔧 stakater on controller for rolling updates
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user