diff --git a/pkg/cluster/k8sres.go b/pkg/cluster/k8sres.go index 6fc51a603..cc11c3298 100644 --- a/pkg/cluster/k8sres.go +++ b/pkg/cluster/k8sres.go @@ -106,7 +106,7 @@ bootstrap: }, } 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) container := v1.Container{ diff --git a/pkg/util/config/config.go b/pkg/util/config/config.go index 223b77048..e8b5c4a77 100644 --- a/pkg/util/config/config.go +++ b/pkg/util/config/config.go @@ -42,7 +42,7 @@ type Config struct { DbHostedZone string `split_words:"true" default:"db.example.com"` EtcdScope string `split_words:"true" default:"service"` 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"` } diff --git a/pkg/util/constants/constants.go b/pkg/util/constants/constants.go index fab99de3c..bc4b48605 100644 --- a/pkg/util/constants/constants.go +++ b/pkg/util/constants/constants.go @@ -10,6 +10,6 @@ const ( PasswordLength = 64 UserSecretTemplate = "%s.%s.credentials.%s.%s" // Username, ClusterName, TPRName, TPRVendor ZalandoDnsNameAnnotation = "zalando.org/dnsname" - KubeIAmAnnotation = "iam.amazonaws.com/role" + KubeIAmAnnotation = "iam.amazonaws.com/role" ResourceName = TPRName + "s" )