diff --git a/ci-operator/templates/cluster-launch-installer-e2e.yaml b/ci-operator/templates/cluster-launch-installer-e2e.yaml index 95a4b9065ebc8..47a6e96014de6 100644 --- a/ci-operator/templates/cluster-launch-installer-e2e.yaml +++ b/ci-operator/templates/cluster-launch-installer-e2e.yaml @@ -195,10 +195,11 @@ objects: export SSH_KEY="$( cat /etc/openshift-installer/ssh-publickey )" export EC2_AMI_OVERRIDE=ami-06d864b4154214132 export EXPIRATION_DATE=$( date -d '4 hours' --iso=minutes --utc ) + export PULL_SECRET="$(jq -c /tmp/cluster/inputs.yaml ) mkdir /tmp/artifacts/installer - cp /tmp/cluster/inputs.yaml /tmp/artifacts/installer/ + sed 's/pullSecret: .*/pullSecret: '{"REDACTED": {}}/' /tmp/artifacts/installer/inputs.yaml echo "Invoking installer ..." diff --git a/cluster/test-deploy/aws/openshift.yaml b/cluster/test-deploy/aws/openshift.yaml index bcf345972324d..6cdf4c9f77480 100644 --- a/cluster/test-deploy/aws/openshift.yaml +++ b/cluster/test-deploy/aws/openshift.yaml @@ -241,7 +241,7 @@ nodePools: # The platform used for deploying. platform: aws -# The path the pull secret file in JSON format. +# The pull secret in JSON format. # This is known to be a "Docker pull secret" as produced by the docker login [1] command. # A sample JSON content is shown in [2]. # You can download the pull secret from your Account overview page at [3]. @@ -251,7 +251,7 @@ platform: aws # [2] https://coreos.com/os/docs/latest/registry-authentication.html#manual-registry-auth-setup # # [3] https://account.coreos.com/overview -pullSecretPath: pull-secret +pullSecret: '${PULL_SECRET}' worker: # The name of the node pool(s) to use for workers