Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocc authored Sep 5, 2024
1 parent c9da3fd commit 63d79d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helm/cf-tunnel-v3/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# "2.0101.230402" -> "v2.1.1" of the chart, referring to "2023.4.2" of the tunnel
# The reason for this is to make the current chart update with the bump when deployed via HelmRelease
#
version: "3.1010.240841"
version: "3.1010.240842"

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
9 changes: 3 additions & 6 deletions helm/cf-tunnel-v3/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ spec:
checksum/configmap: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- with (lookup "v1" "ConfigMap" .Release.Namespace (include "cloudflare-tunnel.fullname" . )) }}
{{- if .data }}
checksum/configmap-live: |
{{ .data | toJson }}
checksum/configmap-live: {{ .data |toJson |b64enc |sha256sum }}
{{- else }}
checksum/configmap-live: "<no-data>"
{{- end }}
Expand All @@ -42,8 +41,7 @@ spec:
{{- else }}
{{- with (lookup "v1" "Secret" .Release.Namespace .Values.cloudflare.existingSecret) }}
{{- if .data }}
checksum/secret-live: |
{{ .data | toJson }}
checksum/secret-live: {{ .data |toJson |b64enc |sha256sum }}
{{- else }}
checksum/secret-live: "<no-data>"
{{- end }}
Expand All @@ -54,8 +52,7 @@ spec:
{{- else }}
{{- with (lookup "v1" "Secret" .Release.Namespace .Values.cloudflare.existingSecretCred) }}
{{- if .data }}
checksum/secretCred-live: \
{{ .data | toJson }}
checksum/secretCred-live: {{ .data |toJson |b64enc |sha256sum }}
{{- else }}
checksum/secretCred-live: "<no-data>"
{{- end }}
Expand Down

0 comments on commit 63d79d4

Please sign in to comment.