Skip to content

Commit

Permalink
fix: added secrets checksums in deployment pods annotations for rollo…
Browse files Browse the repository at this point in the history
…ut (#58)
  • Loading branch information
Diliz committed Mar 11, 2023
1 parent 6b1289b commit 3542d98
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/terrakube/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.2.0
version: 3.2.1

# 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
2 changes: 2 additions & 0 deletions charts/terrakube/templates/deployment-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: terrakube-api
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-api.yaml") . | sha256sum }}
spec:
containers:
- name: terrakube-api
Expand Down
2 changes: 2 additions & 0 deletions charts/terrakube/templates/deployment-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: terrakube-executor
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-executor.yaml") . | sha256sum }}
spec:
containers:
- name: terrakube-executor
Expand Down
2 changes: 2 additions & 0 deletions charts/terrakube/templates/deployment-openldap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: terrakube-openldap
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret-openldap.yaml") . | sha256sum }}
spec:
containers:
- name: terrakube-openldap
Expand Down
2 changes: 2 additions & 0 deletions charts/terrakube/templates/deployment-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: terrakube-registry
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-registry.yaml") . | sha256sum }}
spec:
containers:
- name: terrakube-registry
Expand Down
2 changes: 2 additions & 0 deletions charts/terrakube/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
metadata:
labels:
app: terrakube-ui
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secrets-ui.yaml") . | sha256sum }}
spec:
containers:
- name: terrakube-ui
Expand Down

0 comments on commit 3542d98

Please sign in to comment.