Skip to content

Commit

Permalink
test secret
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinshakya507 committed Dec 13, 2024
1 parent b5b729b commit a8c2b79
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm/grpc-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.7
version: 3.0.8

# 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
1 change: 1 addition & 0 deletions helm/grpc-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Deployment
metadata:
name: {{ include "grpc-service.fullname" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
secretHash: {{ .Values.secretenv | toJson | sha256sum }}
{{- if .Values.grpcs.enabled }}
secret.reloader.stakater.com/reload: "{{ .Values.grpcs.tlsSecret }}"
Expand Down
2 changes: 1 addition & 1 deletion helm/web-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.0.9
version: 4.0.10

# 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
3 changes: 2 additions & 1 deletion helm/web-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ kind: Deployment
metadata:
name: {{ include "web-service.fullname" . }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
secretHash: {{ .Values.secretenv | toJson | sha256sum }}
checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}-{{ toYaml .Values.secretenv | sha256sum }}
# checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}-{{ toYaml .Values.secretenv | sha256sum }}
{{- with .Values.deploymentAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit a8c2b79

Please sign in to comment.