mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-22 09:29:17 +02:00
go fmt run
This commit is contained in:
committed by
Murat Kabilov
parent
0764505a10
commit
a5f0ef10d0
@@ -106,7 +106,7 @@ bootstrap:
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
if c.OpConfig.WALES3Bucket != "" {
|
if c.OpConfig.WALES3Bucket != "" {
|
||||||
envVars = append(envVars, v1.EnvVar{Name: "WAL_S3_BUCKET", Value: c.OpConfig.WALES3Bucket})
|
envVars = append(envVars, v1.EnvVar{Name: "WAL_S3_BUCKET", Value: c.OpConfig.WALES3Bucket})
|
||||||
}
|
}
|
||||||
privilegedMode := bool(true)
|
privilegedMode := bool(true)
|
||||||
container := v1.Container{
|
container := v1.Container{
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ type Config struct {
|
|||||||
DbHostedZone string `split_words:"true" default:"db.example.com"`
|
DbHostedZone string `split_words:"true" default:"db.example.com"`
|
||||||
EtcdScope string `split_words:"true" default:"service"`
|
EtcdScope string `split_words:"true" default:"service"`
|
||||||
WALES3Bucket string `envconfig: "wal_s3_bucket"`
|
WALES3Bucket string `envconfig: "wal_s3_bucket"`
|
||||||
KubeIAMRole string `envconfig: "kube_iam_role"`
|
KubeIAMRole string `envconfig: "kube_iam_role"`
|
||||||
DebugLogging bool `split_words:"true" default:"false"`
|
DebugLogging bool `split_words:"true" default:"false"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ const (
|
|||||||
PasswordLength = 64
|
PasswordLength = 64
|
||||||
UserSecretTemplate = "%s.%s.credentials.%s.%s" // Username, ClusterName, TPRName, TPRVendor
|
UserSecretTemplate = "%s.%s.credentials.%s.%s" // Username, ClusterName, TPRName, TPRVendor
|
||||||
ZalandoDnsNameAnnotation = "zalando.org/dnsname"
|
ZalandoDnsNameAnnotation = "zalando.org/dnsname"
|
||||||
KubeIAmAnnotation = "iam.amazonaws.com/role"
|
KubeIAmAnnotation = "iam.amazonaws.com/role"
|
||||||
ResourceName = TPRName + "s"
|
ResourceName = TPRName + "s"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user