File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
docs-source/content/userguide/managing-operators/using-the-operator Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,7 @@ REST_ADDR="https://${KUBERNETES_SERVER}:${REST_PORT}"
70
70
SECRET=`kubectl get serviceaccount weblogic-operator -n weblogic-operator -o jsonpath='{.secrets[0].name}'`
71
71
ENCODED_TOKEN=`kubectl get secret ${SECRET} -n weblogic-operator -o jsonpath='{.data.token}'`
72
72
TOKEN=`echo ${ENCODED_TOKEN} | base64 --decode`
73
- OPERATOR_CERT_SECRET=`grep externalRestIdentitySecret weblogic-operator.yaml | awk '{ print $2 }'`
74
- OPERATOR_CERT_DATA=`kubectl get secret ${OPERATOR_CERT_SECRET} -n weblogic-operator -o jsonpath='{.data.tls\.crt}'`
73
+ OPERATOR_CERT_DATA=`kubectl get secret -n weblogic-operator weblogic-operator-external-rest-identity -o jsonpath='{.data.tls\.crt}'`
75
74
OPERATOR_CERT_FILE="/tmp/operator.cert.pem"
76
75
echo ${OPERATOR_CERT_DATA} | base64 --decode > ${OPERATOR_CERT_FILE}
77
76
cat ${OPERATOR_CERT_FILE}
You can’t perform that action at this time.
0 commit comments