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 e570cbf commit 0af3819Copy full SHA for 0af3819
install-ocs.sh
@@ -4,7 +4,7 @@ install_ocs() {
4
echo "Updating the pull secret..."
5
6
oc get -n openshift-config secret/pull-secret -ojson | jq -r '.data.".dockerconfigjson"' | base64 -d | jq > secret.json
7
- jq --arg secret $PULL_SECRET 'del(.auths."quay.io") | .auths += {"quay.io/rhceph-dev": {auth: $secret, email: ""}}' secret.json > temp-secret.json
+ jq --arg secret $PULL_SECRET '.auths."quay.io"={auth: $secret, email: ""}' secret.json > temp-secret.json
8
oc set data secret/pull-secret -n openshift-config --from-file=.dockerconfigjson=temp-secret.json
9
10
sleep 1m
0 commit comments