diff options
author | Calle Pettersson <carlpett@users.noreply.github.com> | 2017-07-31 14:42:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-31 14:42:55 +0200 |
commit | fbd7cc341390290bada33441e03a1964979f4e6b (patch) | |
tree | 91d65cf1c7f6997c0874b007bddf05ff0ac4c672 /roles/openshift_master/templates | |
parent | 3be2748d87f7eda17ed8cec496bbbd11b311b076 (diff) | |
download | openshift-fbd7cc341390290bada33441e03a1964979f4e6b.tar.gz openshift-fbd7cc341390290bada33441e03a1964979f4e6b.tar.bz2 openshift-fbd7cc341390290bada33441e03a1964979f4e6b.tar.xz openshift-fbd7cc341390290bada33441e03a1964979f4e6b.zip |
Fix aws_secret_key check
Diffstat (limited to 'roles/openshift_master/templates')
-rw-r--r-- | roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.j2 b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.j2 index a153fb33d..b5aa731b0 100644 --- a/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.j2 +++ b/roles/openshift_master/templates/native-cluster/atomic-openshift-master-controllers.j2 @@ -7,7 +7,7 @@ OPENSHIFT_DEFAULT_REGISTRY=docker-registry.default.svc:5000 IMAGE_VERSION={{ openshift_image_tag }} {% endif %} -{% if openshift_cloudprovider_kind | default('') == 'aws' and openshift_cloudprovider_aws_access_key is defined and openshift_cloudprovider_aws_access_key is defined %} +{% if openshift_cloudprovider_kind | default('') == 'aws' and openshift_cloudprovider_aws_access_key is defined and openshift_cloudprovider_aws_secret_key is defined %} AWS_ACCESS_KEY_ID={{ openshift_cloudprovider_aws_access_key }} AWS_SECRET_ACCESS_KEY={{ openshift_cloudprovider_aws_secret_key }} {% endif %} |