Skip to content

Commit

Permalink
chore(base-cluster/dependencies): migrate to new functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau committed Nov 14, 2023
1 parent b067c97 commit 877ab28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/base-cluster/templates/dns/external-dns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
imageRegistry: {{ $.Values.global.imageRegistry }}
{{- end }}
podAnnotations:
checksum/provider-secret: {{ include (print $.Template.BasePath (printf "/dns/%s/external-dns.yaml" (.Values.dns.provider | keys | first))) . | sha256sum }}
checksum/provider-secret: {{ include "common.utils.checksumTemplate" (dict "path" (printf "/dns/%s/external-dns.yaml" (.Values.dns.provider | keys | first)) "context" $) }}
provider: {{ .Values.dns.provider | keys | first | quote }}
{{- if .Values.dns.provider.cloudflare }}
cloudflare:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ serviceMonitor:
labels: {{- .Values.monitoring.labels | toYaml | nindent 4 }}
podAnnotations:
# This might change on every `template` call, this can be ignored
checksum/secret: {{ include (print $.Template.BasePath "/monitoring/kube-prometheus-stack/grafana-secret.yaml") . | sha256sum }}
checksum/secret: {{ include "common.utils.checksumTemplate" (dict "path" "/monitoring/kube-prometheus-stack/grafana-secret.yaml" "context" $) }}
admin:
existingSecret: {{ include "common.secrets.name" (dict "defaultNameSuffix" "grafana" "context" $) }}
userKey: username
Expand Down

0 comments on commit 877ab28

Please sign in to comment.