refactor(charts): BREAKING CHANGE (#2836)

* Update Apps with new Common version

* Patch with the secret fixes from common

* fix amd
This commit is contained in:
Kjeld Schouten-Lebbing
2022-06-07 19:41:19 +02:00
committed by GitHub
parent e4911cf0b1
commit 5529c2a3af
1546 changed files with 10467 additions and 3650 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: v2
appVersion: "2.1.4"
version: 6.0.23
version: 7.0.0
kubeVersion: '>=1.16.0-0'
name: gotify
description: a simple server for sending and receiving messages
@@ -18,7 +18,7 @@ sources:
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.3.24
version: 10.0.8
- condition: postgresql.enabled
name: postgresql
repository: https://charts.truecharts.org/
@@ -0,0 +1,21 @@
#!/usr/bin/python3
import json
import os
import sys
def migrate(values):
values.update({
**({'secretEnv': values['secret']} if values.get('secret') else {}),
**({'secret': {}} if values.get('secret'))
})
return values
if __name__ == '__main__':
if len(sys.argv) != 2:
exit(1)
if os.path.exists(sys.argv[1]):
with open(sys.argv[1], 'r') as f:
print(json.dumps(migrate(json.loads(f.read()))))
+1 -1
View File
@@ -74,7 +74,7 @@ questions:
- value: "OnDelete"
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
- variable: secretEnv
group: "Container Configuration"
label: "Image Secrets"
schema:
+2 -2
View File
@@ -1,7 +1,7 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{- include "tc.common.loader.init" . }}
{{/* Render configmap for nextcloud */}}
{{- include "gotify.configmap" . }}
{{ include "common.postSetup" . }}
{{ include "tc.common.loader.apply" . }}
+1 -1
View File
@@ -3,7 +3,7 @@ image:
pullPolicy: IfNotPresent
tag: v2.1.4@sha256:3f568cbc18808a8d138b07073233411a1077676e28a468b7e345fffae639fa32
secret:
secretEnv:
user: "admin"
pass: "admin"