@@ -504,7 +504,7 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
504504 expectedS3BucketConfigMap := []ExpectedValue {
505505 {
506506 envIndex : 17 ,
507- envVarConstant : "WAL_S3_BUCKET " ,
507+ envVarConstant : "wal_s3_bucket " ,
508508 envVarValue : "global-s3-bucket-configmap" ,
509509 },
510510 }
@@ -518,7 +518,7 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
518518 expectedCustomVariableSecret := []ExpectedValue {
519519 {
520520 envIndex : 16 ,
521- envVarConstant : "CUSTOM_VARIABLE " ,
521+ envVarConstant : "custom_variable " ,
522522 envVarValueRef : & v1.EnvVarSource {
523523 SecretKeyRef : & v1.SecretKeySelector {
524524 LocalObjectReference : v1.LocalObjectReference {
@@ -532,7 +532,7 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
532532 expectedCustomVariableConfigMap := []ExpectedValue {
533533 {
534534 envIndex : 16 ,
535- envVarConstant : "CUSTOM_VARIABLE " ,
535+ envVarConstant : "custom_variable " ,
536536 envVarValue : "configmap-test" ,
537537 },
538538 }
@@ -573,14 +573,14 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
573573 },
574574 {
575575 envIndex : 20 ,
576- envVarConstant : "CLONE_AWS_ENDPOINT " ,
576+ envVarConstant : "clone_aws_endpoint " ,
577577 envVarValue : "s3.eu-west-1.amazonaws.com" ,
578578 },
579579 }
580580 expectedCloneEnvSecret := []ExpectedValue {
581581 {
582582 envIndex : 20 ,
583- envVarConstant : "CLONE_AWS_ACCESS_KEY_ID " ,
583+ envVarConstant : "clone_aws_access_key_id " ,
584584 envVarValueRef : & v1.EnvVarSource {
585585 SecretKeyRef : & v1.SecretKeySelector {
586586 LocalObjectReference : v1.LocalObjectReference {
@@ -599,7 +599,7 @@ func TestGenerateSpiloPodEnvVars(t *testing.T) {
599599 },
600600 {
601601 envIndex : 20 ,
602- envVarConstant : "STANDBY_GOOGLE_APPLICATION_CREDENTIALS " ,
602+ envVarConstant : "standby_google_application_credentials " ,
603603 envVarValueRef : & v1.EnvVarSource {
604604 SecretKeyRef : & v1.SecretKeySelector {
605605 LocalObjectReference : v1.LocalObjectReference {
0 commit comments