Last active
July 29, 2020 20:02
-
-
Save mesmacosta/96524b7d89a554f681e2e2f417fa2064 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --request POST \ | |
| --header "Authorization: Bearer $(gcloud auth print-access-token)" \ | |
| --data '' \ | |
| "https://meshconfig.googleapis.com/v1alpha1/projects/${PROJECT_ID}:initialize" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.6.5-asm.7-linux-amd64.tar.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export PATH=$PWD/bin:$PATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download the signature file and use openssl to verify the signature | |
| curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.6.5-asm.7-linux-amd64.tar.gz.1.sig | |
| openssl dgst -verify - -signature istio-1.6.5-asm.7-linux-amd64.tar.gz.1.sig istio-1.6.5-asm.7-linux-amd64.tar.gz <<'EOF' | |
| -----BEGIN PUBLIC KEY----- | |
| MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ | |
| wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw== | |
| -----END PUBLIC KEY----- | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment