fix(cluster_setup): Pass correct context to helpers

This commit is contained in:
2024-02-03 22:15:22 +01:00
parent 1dcbf2ba7b
commit 65c2f403e3
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: v2 apiVersion: v2
name: cluster_setup name: cluster_setup
version: 0.5.1 version: 0.5.2
type: application type: application
description: "Initial cluster setup" description: "Initial cluster setup"
maintainers: maintainers:
@@ -9,7 +9,7 @@ maintainers:
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: fixed - kind: fixed
description: Always use global namespace in helpers description: Pass correct context to helpers
artifacthub.io/signKey: | artifacthub.io/signKey: |
fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8 fingerprint: F0F153B65BAD467201D7544E47393ABD1F96B7C8
url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc url: https://mafiasi.de/pks/key/47393ABD1F96B7C8.asc
@@ -15,11 +15,11 @@ metadata:
namespace: {{ .name | default "observability" }} namespace: {{ .name | default "observability" }}
name: thanos-object-storage-config name: thanos-object-storage-config
labels: labels:
{{- include "template.labels" . | nindent 4 }} {{- include "template.labels" $ | nindent 4 }}
annotations: annotations:
{{- include "template.annotations" . | nindent 4 }} {{- include "template.annotations" $ | nindent 4 }}
data: data:
thanos.yaml: |- thanos.yaml: |-
{{ tpl ($.Files.Get "thanos.yaml") . | b64enc }} {{ tpl ($.Files.Get "thanos.yaml") $ | b64enc }}
{{- end }} {{- end }}
{{- end }} {{- end }}