Skip to content

Commit 2f0fdb8

Browse files
authored
Add keyType to postgres s3 helm template (CrunchyData#161)
* Add keyType to postgres s3 helm template keyType was missing from the list of s3 config fields.
1 parent 7242d03 commit 2f0fdb8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

helm/postgres/templates/_s3.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ repo{{ add .index 1 }}-s3-key={{ .s3.key }}
77
{{- end }}
88
{{- if .s3.keySecret }}
99
repo{{ add .index 1 }}-s3-key-secret={{ .s3.keySecret }}
10+
{{- end }}
11+
{{- if .s3.keyType }}
12+
repo{{ add .index 1 }}-s3-key-type={{ .s3.keyType }}
1013
{{- end }}
1114
{{- if .s3.encryptionPassphrase }}
1215
repo{{ add .index 1 }}-cipher-pass={{ .s3.encryptionPassphrase }}

helm/postgres/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,10 @@ postgresVersion: 14
195195
# region: ""
196196
# # key is the S3 key. This is stored in a Secret.
197197
# key: ""
198-
# # keySecret is the S3 key secret. This is tored in a Secret.
198+
# # keySecret is the S3 key secret. This is stored in a Secret.
199199
# keySecret: ""
200+
# # keyType can be configured to enable IAM integration via AssumeRole
201+
# keyType: ""
200202
# # encryptionPassphrase is an optional parameter to enable encrypted backups
201203
# # with pgBackRest. This is encrypted by pgBackRest and does not use S3's
202204
# # built-in encrpytion system.
@@ -244,6 +246,7 @@ postgresVersion: 14
244246
# region: ""
245247
# key: ""
246248
# keySecret: ""
249+
# keyType: ""
247250
# - gcs:
248251
# bucket: ""
249252
# key: |

0 commit comments

Comments
 (0)