Skip to content

Commit

Permalink
Use top level istioctl commands for create-remote-secret and tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
sergii-ssh committed Aug 10, 2023
1 parent 27ac648 commit e3e33ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asmcli/asmcli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion asmcli/commands/create-mesh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ install_one_remote_secret() {

info "Installing remote secret ${SECRET_NAME} on ${KCF2}..."

retry 2 istioctl x create-remote-secret \
retry 2 istioctl create-remote-secret \
--kubeconfig="${KCF1}" \
--context="${CTX1}" \
--name="${SECRET_NAME}" | \
Expand Down
2 changes: 1 addition & 1 deletion scripts/migration/migrate-to-asm
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ set_default_tag() {
info "Setting $(asm_revision_label) as the target for \"istio-injection=enabled\"..."
kubectl patch mutatingwebhookconfigurations istio-sidecar-injector \
--type=json -p='[{"op": "replace", "path": "/webhooks"}]'
run istioctl x revision tag \
run istioctl tag \
set default --revision="$(asm_revision_label)" \
--overwrite
}
Expand Down

0 comments on commit e3e33ef

Please sign in to comment.