diff --git a/pkg/steps/multi_stage/gen.go b/pkg/steps/multi_stage/gen.go index bdc3dd8fa9a..c1fe2a06435 100644 --- a/pkg/steps/multi_stage/gen.go +++ b/pkg/steps/multi_stage/gen.go @@ -565,10 +565,6 @@ func addSTSVolumes(pod *coreapi.Pod) { ReadOnly: true, }, ) - container.Env = append(container.Env, - coreapi.EnvVar{Name: "AWS_CONFIG_FILE", Value: path.Join(stsConfigMountPath, "config")}, - coreapi.EnvVar{Name: "AWS_SDK_LOAD_CONFIG", Value: "1"}, - ) } func addCliInjector(imagestream string, pod *coreapi.Pod) { diff --git a/pkg/steps/multi_stage/testdata/zz_fixture_TestGeneratePods_STS_volumes.yaml b/pkg/steps/multi_stage/testdata/zz_fixture_TestGeneratePods_STS_volumes.yaml index be2a64e201c..2c3c270c4e0 100644 --- a/pkg/steps/multi_stage/testdata/zz_fixture_TestGeneratePods_STS_volumes.yaml +++ b/pkg/steps/multi_stage/testdata/zz_fixture_TestGeneratePods_STS_volumes.yaml @@ -93,10 +93,6 @@ value: aws - name: CLUSTER_PROFILE_DIR value: /var/run/secrets/ci.openshift.io/cluster-profile - - name: AWS_CONFIG_FILE - value: /var/run/secrets/aws/config/config - - name: AWS_SDK_LOAD_CONFIG - value: "1" - name: SHARED_DIR value: /var/run/secrets/ci.openshift.io/multi-stage - name: LEASE_PROXY_CLIENT_SH