Skip to content

Commit 809f318

Browse files
chart: support annotations on superuser secret
1 parent 6426c78 commit 809f318

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

charts/cnpg-cluster/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.4.0
18+
version: 0.4.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/cnpg-cluster/templates/superuser-secret.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ spec:
2222
metadata:
2323
labels:
2424
{{ .Values.superuser.secret.labels | toYaml | nindent 12 }}
25+
annotations:
26+
{{ .Values.superuser.secret.annotations | toYaml | nindent 12 }}
2527
data:
2628
username: postgres
2729
password: "{{ .password }}"

charts/cnpg-cluster/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ superuser:
1010
name: superuser-credentials
1111
labels:
1212
cnpg.io/reload: "true"
13+
annotations: {}
1314

1415
# PostgreSQL pod resources
1516
resources:

0 commit comments

Comments
 (0)