mirror of https://github.com/istio/istio.io.git
Fix missing "sample_" function conversions. (#7442)
These were lost in a merge.
This commit is contained in:
parent
c709c976da
commit
07014794c6
|
@ -20,16 +20,15 @@ set -u
|
|||
set -o pipefail
|
||||
|
||||
source "${REPO_ROOT}/content/en/docs/tasks/security/authentication/authn-policy/snips.sh"
|
||||
source "${REPO_ROOT}/tests/util/samples.sh"
|
||||
|
||||
snip_setup_1
|
||||
|
||||
sample_wait_for_deployment foo httpbin
|
||||
sample_wait_for_deployment foo sleep
|
||||
sample_wait_for_deployment bar httpbin
|
||||
sample_wait_for_deployment bar sleep
|
||||
sample_wait_for_deployment legacy httpbin
|
||||
sample_wait_for_deployment legacy sleep
|
||||
_wait_for_deployment foo httpbin
|
||||
_wait_for_deployment foo sleep
|
||||
_wait_for_deployment bar httpbin
|
||||
_wait_for_deployment bar sleep
|
||||
_wait_for_deployment legacy httpbin
|
||||
_wait_for_deployment legacy sleep
|
||||
|
||||
_run_and_verify_same snip_setup_2 "$snip_setup_2_out"
|
||||
_run_and_verify_same snip_setup_3 "$snip_setup_3_out"
|
||||
|
@ -72,7 +71,7 @@ snip_enduser_authentication_1
|
|||
snip_enduser_authentication_2
|
||||
|
||||
# Export the INGRESS_ environment variables
|
||||
sample_set_ingress_environment_variables
|
||||
_set_ingress_environment_variables
|
||||
|
||||
_run_and_verify_same snip_enduser_authentication_3 "$snip_enduser_authentication_3_out"
|
||||
|
||||
|
|
|
@ -20,18 +20,17 @@ set -u
|
|||
set -o pipefail
|
||||
|
||||
source "${REPO_ROOT}/content/en/docs/tasks/security/authorization/authz-ingress/snips.sh"
|
||||
source "${REPO_ROOT}/tests/util/samples.sh"
|
||||
|
||||
export CLIENT_IP
|
||||
|
||||
snip_before_you_begin_1
|
||||
|
||||
sample_wait_for_deployment foo httpbin
|
||||
_wait_for_deployment foo httpbin
|
||||
|
||||
snip_before_you_begin_2
|
||||
|
||||
# Export the INGRESS_ environment variables
|
||||
sample_set_ingress_environment_variables
|
||||
_set_ingress_environment_variables
|
||||
|
||||
_run_and_verify_same snip_before_you_begin_3 "$snip_before_you_begin_3_out"
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ set -u
|
|||
set -o pipefail
|
||||
|
||||
source "${REPO_ROOT}/content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/snips.sh"
|
||||
source "${REPO_ROOT}/tests/util/samples.sh"
|
||||
|
||||
kubectl label namespace default istio-injection=enabled --overwrite
|
||||
|
||||
|
@ -38,9 +37,9 @@ snip_deploy_an_nginx_server_3
|
|||
snip_deploy_an_nginx_server_4
|
||||
|
||||
# waiting for nginx deployment to start
|
||||
sample_wait_for_deployment default my-nginx
|
||||
_wait_for_deployment default my-nginx
|
||||
|
||||
# validate NGINX server was deployed successfully
|
||||
# validate NGINX server was deployed successfully
|
||||
_run_and_verify_contains snip_deploy_an_nginx_server_5 "subject: CN=nginx.example.com"
|
||||
|
||||
# configure an ingress gateway
|
||||
|
|
Loading…
Reference in New Issue