File tree Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Expand file tree Collapse file tree 3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,20 @@ backup:
10
10
encryption: { { .Values.backups.wal.encryption } }
11
11
{ {- end } }
12
12
maxParallel: { { .Values.backups.wal.maxParallel } }
13
+ { {- if .Values.backups.wal.additionalCommandArgs } }
14
+ additionalCommandArgs:
15
+ { {- toYaml .Values.backups.wal.additionalCommandArgs | nindent 8 } }
16
+ { {- end } }
13
17
data:
14
18
compression: { { .Values.backups.data.compression } }
15
19
{ {- if .Values.backups.data.encryption } }
16
20
encryption: { { .Values.backups.data.encryption } }
17
21
{ {- end } }
18
22
jobs: { { .Values.backups.data.jobs } }
23
+ { {- if .Values.backups.data.additionalCommandArgs } }
24
+ additionalCommandArgs:
25
+ { {- toYaml .Values.backups.data.additionalCommandArgs | nindent 8 } }
26
+ { {- end } }
19
27
20
28
{ {- $d := dict " chartFullname" (include " cluster.fullname" .) " scope" .Values.backups " secretPrefix" " backup" } }
21
29
{ {- include " cluster.barmanObjectStoreConfig" $d | nindent 2 } }
Original file line number Diff line number Diff line change 28
28
{ {- else } }
29
29
accessKeyId:
30
30
name: { { $secretName } }
31
- key: ACCESS_KEY_ID
31
+ key: { { .scope.secret.accessKeyIdField | default " ACCESS_KEY_ID" } }
32
32
secretAccessKey:
33
33
name: { { $secretName } }
34
- key: ACCESS_SECRET_KEY
34
+ key: { { .scope.secret.secretAccessKeyField | default " ACCESS_SECRET_KEY" } }
35
35
{ {- end } }
36
36
{ {- else if eq .scope.provider " azure" } }
37
37
{ {- if empty .scope.destinationPath } }
Original file line number Diff line number Diff line change @@ -418,6 +418,8 @@ backups:
418
418
create : true
419
419
# -- Name of the backup credentials secret
420
420
name : " "
421
+ accessKeyIdField : " "
422
+ secretAccessKeyField : " "
421
423
422
424
wal :
423
425
# -- WAL compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
@@ -426,13 +428,15 @@ backups:
426
428
encryption : AES256
427
429
# -- Number of WAL files to be archived or restored in parallel.
428
430
maxParallel : 1
431
+ additionalCommandArgs : []
429
432
data :
430
433
# -- Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`.
431
434
compression : gzip
432
435
# -- Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
433
436
encryption : AES256
434
437
# -- Number of data files to be archived or restored in parallel.
435
438
jobs : 2
439
+ additionalCommandArgs : []
436
440
437
441
scheduledBackups :
438
442
-
You can’t perform that action at this time.
0 commit comments