🔧 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

@@ -25,6 +25,8 @@ spec:
controller:
replicas: 1
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
image:
repository: docker.io/glauth/glauth
tag: v2.1.0
@@ -46,7 +48,7 @@ spec:
config:
enabled: true
type: secret
name: *app
name: glauth-secret
items:
- key: server.toml
path: server.toml
@@ -54,8 +56,6 @@ spec:
path: groups.toml
- key: users.toml
path: users.toml
podAnnotations:
secret.reloader.stakater.com/reload: *app
resources:
requests:
cpu: 15m

View File

@@ -5,7 +5,7 @@ namespace: default
resources:
- helm-release.yaml
secretGenerator:
- name: glauth
- name: glauth-secret
files:
- server.toml=config/server.sops.toml
- groups.toml=config/groups.sops.toml