feat: rename addon vars to addon_ prefix and simplify logic in jinja templates (#1216)

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-21 09:05:23 -05:00
1 parent b89b7b3ed9
commit db21ea82fa
63 files changed
+102 -101

No files matched your search

@@ -1,4 +1,4 @@
#% if weave_gitops|default({}) and weave_gitops.enabled|default(false) %#
#% if addon_weave_gitops.enabled %#
---
apiVersion: v1
kind: Secret
@@ -7,5 +7,5 @@ metadata:
type: Opaque
stringData:
username: admin
password: "#{ weave_gitops.password | encrypt }#"
password: "#{ addon_weave_gitops.password | encrypt }#"
#% endif %#