fix(cluster_setup): Pass correct context to helpers

This commit is contained in:
Jim Martens 2024-02-03 22:15:07 +01:00
parent 1dcbf2ba7b
commit 65c2f403e3
Signed by: 2martens
GPG Key ID: 47393ABD1F96B7C8
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v2
name: cluster_setup
version: 0.5.1
version: 0.5.2
type: application
description: "Initial cluster setup"
maintainers:
@ -9,7 +9,7 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: fixed
description: Always use global namespace in helpers
description: Pass correct context to helpers
artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc

View File

@ -15,11 +15,11 @@ metadata:
namespace: {{ .name | default "observability" }}
name: thanos-object-storage-config
labels:
{{- include "template.labels" . | nindent 4 }}
{{- include "template.labels" $ | nindent 4 }}
annotations:
{{- include "template.annotations" . | nindent 4 }}
{{- include "template.annotations" $ | nindent 4 }}
data:
thanos.yaml: |-
{{ tpl ($.Files.Get "thanos.yaml") . | b64enc }}
{{ tpl ($.Files.Get "thanos.yaml") $ | b64enc }}
{{- end }}
{{- end }}