🚑 fix weaveworks gitops

This commit is contained in:
auricom
2023-09-14 18:53:43 +02:00
parent d692ce456f
commit 2bdc0a928d
11 changed files with 42 additions and 52 deletions

View File

@@ -15,7 +15,7 @@ spec:
template:
engineVersion: v2
data:
adminPassword: "{{ .password }}"
adminPassword: "{{ .GITOPS_PASSWORD_BCRYPT }}"
dataFrom:
- extract:
key: weaveworks

View File

@@ -28,6 +28,8 @@ spec:
uninstall:
keepHistory: false
values:
annotations:
secret.reloader.stakater.com/reload: &secret weave-gitops-secret
adminUser:
create: true
username: admin
@@ -47,6 +49,6 @@ spec:
- *host
valuesFrom:
- kind: Secret
name: weave-gitops-secret
name: *secret
valuesKey: adminPassword
targetPath: adminUser.passwordHash