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
@@ -3,7 +3,7 @@ appVersion: "0.18.0"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.3.24
version: 10.0.8
description: A management console for minio server and operator
home: https://github.com/truecharts/apps/tree/master/charts/stable/minio-console
icon: https://truecharts.org/_static/img/appicons/minio-console.png
@@ -19,7 +19,7 @@ maintainers:
name: minio-console
sources:
- https://github.com/minio/console
version: 2.0.32
version: 3.0.0
annotations:
truecharts.org/catagories: |
- media
@@ -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
@@ -75,7 +75,7 @@ questions:
description: "(Legacy) OnDelete: ignore .spec.template changes"
# Include{controllerExpert}
- variable: secret
- variable: secretEnv
group: "Container Configuration"
label: "Image Secrets"
schema:
@@ -1 +1 @@
{{ include "common.all" . }}
{{ include "tc.common.loader.all" . }}
+2 -2
View File
@@ -2,14 +2,14 @@ image:
# -- image repository
repository: tccr.io/truecharts/minio-console
# -- image tag
tag: v0.18.0@sha256:e561e84d6209dcd32d31131f5b0a501b8f4b164e05a21b532de01362db47ac9f
tag: v0.18.1@sha256:b3f107196a93f0a231081bf041d2d51e1f86c7fadf017152a3dc699c5de2177c
# -- image pull policy
pullPolicy: IfNotPresent
# -- Override the args for the default container.
args: ["server"]
secret:
secretEnv:
# -- Required: Passphrase to derive keys (generate own)
# Example: D6vpras1xpUgrcFpOIGA4crHvzUDQb48
CONSOLE_PBKDF_PASSPHRASE: "changeme"