mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 19:12:31 +02:00
Add configuration to support running WAL-E.
- Set WAL_S3_BUCKET to point WAL-E where to fetch/store WAL files - Set annotations/iam.amazonaws.com/role to set the role to access AWS" The new env vairables are PGOP_WAL_S3_BUCKET and PGOP_KUBE_IAM_ROLE.
This commit is contained in:
committed by
Murat Kabilov
parent
852c5beae5
commit
7841b85892
@@ -41,6 +41,8 @@ type Config struct {
|
||||
ServiceAccountName string `split_words:"true" default:"operator"`
|
||||
DbHostedZone string `split_words:"true" default:"db.example.com"`
|
||||
EtcdScope string `split_words:"true" default:"service"`
|
||||
WALES3Bucket string `envconfig: "wale_s3_bucket"`
|
||||
KubeIAMRole string `envconfig: "kube_iam_role"`
|
||||
DebugLogging bool `split_words:"true" default:"false"`
|
||||
}
|
||||
|
||||
|
||||
@@ -10,5 +10,6 @@ const (
|
||||
PasswordLength = 64
|
||||
UserSecretTemplate = "%s.%s.credentials.%s.%s" // Username, ClusterName, TPRName, TPRVendor
|
||||
ZalandoDnsNameAnnotation = "zalando.org/dnsname"
|
||||
KubeIAmAnnotation = "iam.amazonaws.com/role"
|
||||
ResourceName = TPRName + "s"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user