diff --git a/library/common-test/Chart.yaml b/library/common-test/Chart.yaml index fb0d6786..5bafe0a7 100644 --- a/library/common-test/Chart.yaml +++ b/library/common-test/Chart.yaml @@ -3,7 +3,7 @@ appVersion: "" dependencies: - name: common repository: file://../common - version: ~15.0.0 + version: ~15.2.0 deprecated: false description: Helper chart to test different use cases of the common library home: https://github.com/truecharts/apps/tree/master/charts/library/common-test diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index 8815e4e2..f1e35a27 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 15.0.2 +version: 15.2.0 diff --git a/library/common/templates/loader/_lists.tpl b/library/common/templates/loader/_lists.tpl index fc0de770..351a0dbe 100644 --- a/library/common/templates/loader/_lists.tpl +++ b/library/common/templates/loader/_lists.tpl @@ -1,5 +1,7 @@ {{- define "tc.v1.common.loader.lists" -}} + {{- include "tc.v1.common.values.imagePullList" . -}} + {{- include "tc.v1.common.values.persistenceList" . -}} {{- include "tc.v1.common.values.deviceList" . -}} diff --git a/library/common/templates/values/lists/_imagePullSecretList.tpl b/library/common/templates/values/lists/_imagePullSecretList.tpl new file mode 100644 index 00000000..16fa48c9 --- /dev/null +++ b/library/common/templates/values/lists/_imagePullSecretList.tpl @@ -0,0 +1,18 @@ +{{- define "tc.v1.common.values.imagePullSecretList" -}} + {{- $rootCtx := . -}} + + {{- range $idx, $imagePullSecretValues := $rootCtx.Values.imagePullSecretList -}} + + {{- $name := (printf "pullSecret-list-%s" (toString $idx)) -}} + + {{- with $imagePullSecretValues.name -}} + {{- $name = . -}} + {{- end -}} + + {{- if not (hasKey $rootCtx.Values "imagePullSecret") -}} + {{- $_ := set $rootCtx.Values "imagePullSecret" dict -}} + {{- end -}} + + {{- $_ := set $rootCtx.Values.imagePullSecret $name $imagePullSecretValues -}} + {{- end -}} +{{- end -}} diff --git a/library/common/values.yaml b/library/common/values.yaml index 56e1f2db..c838d5ca 100644 --- a/library/common/values.yaml +++ b/library/common/values.yaml @@ -326,7 +326,10 @@ ixCertificates: [] ixVolumes: [] # -- (docs/imagePullSecrets.md) -imagePullSecret: [] +imagePullSecret: {} + +# -- (docs/imagePullSecrets.md) +imagePullSecretList: [] # -- (docs/configmap.md) configmap: {} @@ -436,7 +439,7 @@ alpineImage: scratchImage: repository: tccr.io/truecharts/scratch - tag: latest@sha256:e7d1aaa6e29e7bcf3e3f13a8fc41803ca81b2614f72d11287ca4dcab4850bd99 + tag: latest@sha256:7f821eeb99d04ac248c47f79cfbcc2482651fea48aff9ec5d2ba0ba34f1f5531 pullPolicy: IfNotPresent kubectlImage: @@ -498,6 +501,26 @@ ingress: # -- Enables or disables the ingress enabled: false + # -- Adds integrations to ingress +# integration: +# homepage: +# enabled: true +# # Default: chart name +# name: somename +# # Default: chart description +# description: some description +# group: somegroup +# # Default: chart icon +# icon: icon.png +# pod-selector: "" +# widget: +# # Default: chartname +# type: "sometype" +# # Default: host-path of first ingress +# url: "https://example.com" +# custom: +# - somesetting: some value + # -- Make this the primary ingress (used in probes, notes, etc...). # If there is more than 1 ingress, make sure that only 1 ingress is marked as primary. primary: true