Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-helmfiles
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3a4462d8
authored
2022-07-20 17:22:16 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix WALE backups, add WALE_STORAGE_CLASS.
1 parent
39600130
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
16 deletions
postgres-operator/charts/extra-config/extra-config.yaml
postgres-operator/environments/default-values.yaml
postgres-operator/helmfile.yaml
postgres-operator/charts/extra-config/extra-config.yaml
View file @
3a4462d
...
...
@@ -3,8 +3,3 @@ kind: ConfigMap
metadata
:
name
:
postgres-extra-config
---
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
postgres-extra-config
---
...
...
postgres-operator/environments/default-values.yaml
View file @
3a4462d
...
...
@@ -8,5 +8,7 @@ backup:
region
:
"
"
endpoint
:
"
"
sse
:
"
AES256"
wale_endpoint
:
"
"
wale
:
endpoint
:
"
"
storage_class
:
STANDARD
...
...
postgres-operator/helmfile.yaml
View file @
3a4462d
...
...
@@ -18,16 +18,12 @@ releases:
name
:
postgres-extra-config
namespace
:
{{
.Values.namespace
}}
data
:
USE_WALE_BACKUP
:
"
true"
AWS_ACCESS_KEY_ID
:
{{
.Values.backup.s3.access_key_id
}}
WALE_S3_ENDPOINT
:
{{
.Values.backup.s3.wale_endpoint
}}
-
apiVersion
:
v1
kind
:
Secret
metadata
:
name
:
postgres-extra-config
namespace
:
{{
.Values.namespace
}}
stringData
:
AWS_SECRET_ACCESS_KEY
:
{{
.Values.backup.s3.secret_access_key
}}
AWS_REGION
:
{{
.Values.backup.s3.region
}}
USE_WALE_BACKUP
:
"
true"
WALE_S3_ENDPOINT
:
{{
.Values.backup.s3.wale.endpoint
}}
WALE_S3_STORAGE_CLASS
:
{{
.Values.backup.s3.wale.storage_class
}}
-
name
:
postgres-operator
namespace
:
{{
.Values.namespace
}}
...
...
@@ -43,8 +39,6 @@ releases:
logical_backup_s3_secret_access_key
:
{{
.Values.backup.s3.secret_access_key
}}
logical_backup_s3_sse
:
{{
.Values.backup.s3.sse
}}
configAwsOrGcp
:
aws_region
:
{{
.Values.backup.s3.region
}}
wal_s3_bucket
:
{{
.Values.backup.s3.bucket
}}
configKubernetes
:
pod_environment_configmap
:
{{
.Values.namespace
}}
/postgres-extra-config
pod_environment_secret
:
{{
.Values.namespace
}}
/postgres-extra-config
...
...
Please
register
or
sign in
to post a comment