fix: revert azure patch and fix the order parameters in the function
Signed-off-by: Marco Amador <amador.marco@gmail.com>
This commit is contained in:
@@ -23,14 +23,7 @@ spec:
|
||||
read token server <<< "${output}"
|
||||
user="00000000-0000-0000-0000-000000000000"
|
||||
|
||||
echo "Creating secret: ${KUBE_SECRET}"
|
||||
/kbin/kubectl create secret docker-registry "${KUBE_SECRET}" \
|
||||
--docker-server="${server}" \
|
||||
--docker-username="00000000-0000-0000-0000-000000000000" \
|
||||
--docker-password="${token}" \
|
||||
--dry-run=client -o=yaml \
|
||||
| grep -v "creationTimestamp:" \
|
||||
| /kbin/kubectl apply -f -
|
||||
apply-secret "${KUBE_SECRET}" "${token}" "${user}" "${server}"
|
||||
|
||||
echo "Finished ACR token sync -- $(date)"
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user