Skip to content

Commit e2b8cd6

Browse files
committed
chart: managed roles
1 parent 5f68082 commit e2b8cd6

3 files changed

Lines changed: 5 additions & 12 deletions

File tree

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.1.2
18+
version: 0.1.3
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/cnpg-cluster.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,4 @@ spec:
9898
{{- end }}
9999

100100
managed:
101-
roles:
102-
- name: app
103-
ensure: present
104-
login: true
105-
createrole: true
106-
bypassrls: true
101+
roles: {{ toYaml .Values.managedRoles | nindent 6 }}

charts/cnpg-cluster/values.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,14 @@ recovery:
2929
# Mode 3: "recovery" - Recover from specific timeline
3030
#
3131
mode: "fresh" # Options: fresh, production, recovery
32-
3332
# Timeline configuration
3433
timeline:
35-
# Current writer timeline (update this for disaster recovery)
36-
# Format: ISO 8601 timestamp (e.g., "2025-09-23T14:59:00+08:00")
37-
writer: ""
38-
3934
# Source reader timeline (set to writer timeline after successful recovery)
4035
# This makes future recoveries easier by avoiding timeline searches
4136
reader: ""
37+
# Current writer timeline (update this for disaster recovery)
38+
# Format: ISO 8601 timestamp (e.g., "2025-09-23T14:59:00+08:00")
39+
writer: ""
4240

4341
managedRoles:
4442
- name: app

0 commit comments

Comments
 (0)