Skip to content

Commit a032117

Browse files
authored
feat: Annotate deployment with app config checksum (#46)
1 parent e53c183 commit a032117

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.11.0
18+
version: 0.12.0
1919

2020
dependencies:
2121
- name: common

charts/backstage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# Backstage Helm Chart
33

4-
![Version: 0.11.0](https://img.shields.io/badge/Version-0.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
4+
![Version: 0.12.0](https://img.shields.io/badge/Version-0.12.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
55

66
A Helm chart for deploying a Backstage application
77

charts/backstage/templates/backstage-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ spec:
2424
metadata:
2525
labels: {{- include "common.labels.standard" . | nindent 8 }}
2626
app.kubernetes.io/component: backstage
27+
annotations:
28+
checksum/app-config: {{ include "common.tplvalues.render" ( dict "value" .Values.backstage.appConfig "context" $) | sha256sum }}
2729
spec:
2830
{{- if .Values.serviceAccount.create }}
2931
serviceAccountName: {{ .Values.serviceAccount.name }}

0 commit comments

Comments
 (0)