Skip to content

Commit

Permalink
Convert nginx config value to string before calculating hash
Browse files Browse the repository at this point in the history
  • Loading branch information
sunu committed Dec 20, 2023
1 parent ff55371 commit 90887ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/osmcha/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ metadata:
environment: {{ .Values.config.environment }}
release: {{ .Release.Name }}
annotations:
nginx-configmap-hash: {{ .Values.app.ui.nginxConfig | sha256sum | trunc 8 }}
nginx-configmap-hash: {{ .Values.app.ui.nginxConfig | toJson | sha256sum | trunc 8 }}
spec:
replicas: {{ .Values.app.replicas }}
selector:
Expand Down

0 comments on commit 90887ac

Please sign in to comment.