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: "2.1.12"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 9.3.24
version: 10.0.8
description: The open-source core of Pinry, a tiling image board system for people who want to save, tag, and share images, videos and webpages in an easy to skim through format.
home: https://github.com/truecharts/apps/tree/master/charts/stable/pinry
icon: https://truecharts.org/_static/img/appicons/pinry.png
@@ -17,7 +17,7 @@ maintainers:
name: pinry
sources:
- https://github.com/pinry/pinry/
version: 1.0.12
version: 2.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()))))
+2 -2
View File
@@ -1,8 +1,8 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.setup" . }}
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for pinry */}}
{{- include "pinry.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}
{{ include "tc.common.loader.apply" . }}
+1 -1
View File
@@ -11,7 +11,7 @@ podSecurityContext:
runAsUser: 0
runAsGroup: 0
envValueFrom:
env:
SECRET_KEY:
secretKeyRef:
name: pinry-secrets