summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates
diff options
context:
space:
mode:
authorCalle Pettersson <carlpett@users.noreply.github.com>2017-07-31 14:42:55 +0200
committerGitHub <noreply@github.com>2017-07-31 14:42:55 +0200
commitfbd7cc341390290bada33441e03a1964979f4e6b (patch)
tree91d65cf1c7f6997c0874b007bddf05ff0ac4c672 /roles/openshift_master/templates
parent3be2748d87f7eda17ed8cec496bbbd11b311b076 (diff)
downloadopenshift-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.j22
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 %}