We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca8525 commit 624dc48Copy full SHA for 624dc48
.ibm/pipelines/openshift-ci-tests.sh
@@ -187,8 +187,10 @@ apply_yaml_files() {
187
fi
188
sed -i "s/K8S_CLUSTER_NAME:.*/K8S_CLUSTER_NAME: ${ENCODED_CLUSTER_NAME}/g" "$dir/auth/secrets-rhdh-secrets.yaml"
189
190
+ set +x
191
token=$(oc get secret "${secret_name}" -n "${project}" -o=jsonpath='{.data.token}')
192
sed -i "s/OCM_CLUSTER_TOKEN: .*/OCM_CLUSTER_TOKEN: ${token}/" "$dir/auth/secrets-rhdh-secrets.yaml"
193
+ set -x
194
195
if [[ "${project}" == *rbac* ]]; then
196
oc apply -f "$dir/resources/config_map/configmap-app-config-rhdh-rbac.yaml" --namespace="${project}"
0 commit comments