Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

Commit d0ea648

Browse files
committed
Use separate secret in backupJob
1 parent 16aaa16 commit d0ea648

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

charts/kivitendo/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: 1.3.1
18+
version: 1.3.2
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/kivitendo/templates/kivitendo-backup.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ spec:
4343
- name: PGHOST
4444
value: "{{ .Values.database.postgresHost }}"
4545
- name: PGUSER
46-
value: "{{ .Values.database.postgresUser }}"
46+
value: "{{ .Values.backupJob.postgresUser }}"
4747
- name: PGPASSWORD
4848
valueFrom:
4949
secretKeyRef:
50-
name: {{ .Values.database.postgresSecret.name }}
51-
key: {{ .Values.database.postgresSecret.key }}
50+
name: {{ .Values.backupJob.postgresSecret.name }}
51+
key: {{ .Values.backupJob.postgresSecret.key }}
5252
securityContext:
5353
runAsNonRoot: true
5454
runAsUser: 1001
@@ -78,12 +78,12 @@ spec:
7878
- name: PGHOST
7979
value: "{{ .Values.database.postgresHost }}"
8080
- name: PGUSER
81-
value: "{{ .Values.database.postgresUser }}"
81+
value: "{{ .Values.backupJob.postgresUser }}"
8282
- name: PGPASSWORD
8383
valueFrom:
8484
secretKeyRef:
85-
name: {{ .Values.database.postgresSecret.name }}
86-
key: {{ .Values.database.postgresSecret.key }}
85+
name: {{ .Values.backupJob.postgresSecret.name }}
86+
key: {{ .Values.backupJob.postgresSecret.key }}
8787
- name: AWS_ACCESS_KEY_ID
8888
valueFrom:
8989
secretKeyRef:

charts/kivitendo/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ backupJob:
4343
s3BaseUrl: ""
4444
gpgRecipient: ""
4545

46+
postgresUser: "postgres"
47+
postgresSecret:
48+
name: ""
49+
key: ""
50+
4651
image:
4752
repository: rwunderer/postgres-s3backup
4853
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)