Skip to content

Commit 624dc48

Browse files
authored
hide commands related to tokens (#1937)
1 parent 8ca8525 commit 624dc48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ibm/pipelines/openshift-ci-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,10 @@ apply_yaml_files() {
187187
fi
188188
sed -i "s/K8S_CLUSTER_NAME:.*/K8S_CLUSTER_NAME: ${ENCODED_CLUSTER_NAME}/g" "$dir/auth/secrets-rhdh-secrets.yaml"
189189

190+
set +x
190191
token=$(oc get secret "${secret_name}" -n "${project}" -o=jsonpath='{.data.token}')
191192
sed -i "s/OCM_CLUSTER_TOKEN: .*/OCM_CLUSTER_TOKEN: ${token}/" "$dir/auth/secrets-rhdh-secrets.yaml"
193+
set -x
192194

193195
if [[ "${project}" == *rbac* ]]; then
194196
oc apply -f "$dir/resources/config_map/configmap-app-config-rhdh-rbac.yaml" --namespace="${project}"

0 commit comments

Comments
 (0)