Remove obsolete PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING from tests (#15676)

This does nothing anymore
This commit is contained in:
John Howard 2024-09-10 08:21:35 -07:00 committed by GitHub
parent fbaf2f3bf5
commit c05f7637b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
43 changed files with 55 additions and 61 deletions

View File

@ -25,5 +25,5 @@ kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd/experimenta
} }
bpsnip_gateway_api_gamma_experimental_enable_alpha_crds() { bpsnip_gateway_api_gamma_experimental_enable_alpha_crds() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.pilot.env.PILOT_ENABLE_ALPHA_GATEWAY_API=true --set profile=minimal -y istioctl install --set values.pilot.env.PILOT_ENABLE_ALPHA_GATEWAY_API=true --set profile=minimal -y
} }

View File

@ -22,5 +22,5 @@
source "content/en/boilerplates/snips/gateway-api-install-crds.sh" source "content/en/boilerplates/snips/gateway-api-install-crds.sh"
snip_install_ambient() { snip_install_ambient() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=ambient --skip-confirmation istioctl install --set profile=ambient --skip-confirmation
} }

View File

@ -22,7 +22,7 @@
source "content/en/boilerplates/snips/gateway-api-install-crds.sh" source "content/en/boilerplates/snips/gateway-api-install-crds.sh"
snip_install_ambient() { snip_install_ambient() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=ambient --skip-confirmation istioctl install --set profile=ambient --skip-confirmation
} }
snip_uninstall() { snip_uninstall() {

View File

@ -21,7 +21,7 @@
#################################################################################################### ####################################################################################################
snip_getting_started_1() { snip_getting_started_1() {
cat <<EOF | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - cat <<EOF | istioctl install -y -f -
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
@ -92,7 +92,7 @@ kubectl exec deploy/sleep -- curl -sS -v auto.internal
ENDSNIP ENDSNIP
snip_external_tcp_services_without_vips_1() { snip_external_tcp_services_without_vips_1() {
cat <<EOF | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - cat <<EOF | istioctl install -y -f -
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:

View File

@ -31,7 +31,7 @@ spec:
gatewayTopology: gatewayTopology:
numTrustedProxies: 2 numTrustedProxies: 2
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f topology.yaml istioctl install -f topology.yaml
} }
snip_create_httpbin_namespace() { snip_create_httpbin_namespace() {

View File

@ -83,7 +83,7 @@ status:
ENDSNIP ENDSNIP
snip_install_with_custom_config_analysis() { snip_install_with_custom_config_analysis() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.global.istiod.enableAnalysis=true istioctl install --set values.global.istiod.enableAnalysis=true
} }
snip_analyze_k_frod() { snip_analyze_k_frod() {

View File

@ -176,7 +176,7 @@ EOF
} }
snip_apply_istio_operator_configuration() { snip_apply_istio_operator_configuration() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --skip-confirmation -f ./istio.yaml istioctl install --skip-confirmation -f ./istio.yaml
} }
snip_apply_sleep() { snip_apply_sleep() {

View File

@ -30,7 +30,7 @@ spec:
namespace: istio-system namespace: istio-system
enabled: true enabled: true
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f istio-cni.yaml -y istioctl install -f istio-cni.yaml -y
} }
snip_cni_agent_helm_install() { snip_cni_agent_helm_install() {

View File

@ -45,7 +45,7 @@ ENDSNIP
snip_deploying_a_gateway_2() { snip_deploying_a_gateway_2() {
kubectl create namespace istio-ingress kubectl create namespace istio-ingress
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f ingress.yaml istioctl install -f ingress.yaml
} }
snip_deploying_a_gateway_3() { snip_deploying_a_gateway_3() {

View File

@ -34,7 +34,7 @@ export PATH=$PWD/bin:$PATH
} }
snip_install_istio_1() { snip_install_istio_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo -y istioctl install --set profile=demo -y
} }
! IFS=$'\n' read -r -d '' snip_install_istio_1_out <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_install_istio_1_out <<\ENDSNIP

View File

@ -32,7 +32,7 @@ namespace/istio-system labeled
ENDSNIP ENDSNIP
snip_install_istio_with_psa_2() { snip_install_istio_with_psa_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set components.cni.enabled=true -y istioctl install --set components.cni.enabled=true -y
} }
! IFS=$'\n' read -r -d '' snip_install_istio_with_psa_2_out <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_install_istio_with_psa_2_out <<\ENDSNIP

View File

@ -30,7 +30,7 @@ export PATH=$PWD/bin:$PATH
} }
snip_install_istio_1() { snip_install_istio_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f samples/bookinfo/demo-profile-no-gateways.yaml -y istioctl install -f samples/bookinfo/demo-profile-no-gateways.yaml -y
} }
! IFS=$'\n' read -r -d '' snip_install_istio_1_out <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_install_istio_1_out <<\ENDSNIP

View File

@ -47,7 +47,7 @@ EOF
} }
snip_set_up_a_gateway_in_the_external_cluster_2() { snip_set_up_a_gateway_in_the_external_cluster_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f controlplane-gateway.yaml --context="${CTX_EXTERNAL_CLUSTER}" istioctl install -f controlplane-gateway.yaml --context="${CTX_EXTERNAL_CLUSTER}"
} }
snip_set_up_a_gateway_in_the_external_cluster_3() { snip_set_up_a_gateway_in_the_external_cluster_3() {
@ -218,7 +218,7 @@ sed -i'.bk' \
} }
snip_set_up_the_control_plane_in_the_external_cluster_5() { snip_set_up_the_control_plane_in_the_external_cluster_5() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f external-istiod.yaml --context="${CTX_EXTERNAL_CLUSTER}" istioctl install -f external-istiod.yaml --context="${CTX_EXTERNAL_CLUSTER}"
} }
snip_set_up_the_control_plane_in_the_external_cluster_6() { snip_set_up_the_control_plane_in_the_external_cluster_6() {
@ -372,7 +372,7 @@ spec:
istio-ingressgateway: istio-ingressgateway:
injectionTemplate: gateway injectionTemplate: gateway
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f istio-ingressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}" istioctl install -f istio-ingressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
} }
snip_enable_gateways_2() { snip_enable_gateways_2() {
@ -397,7 +397,7 @@ spec:
istio-egressgateway: istio-egressgateway:
injectionTemplate: gateway injectionTemplate: gateway
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f istio-egressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}" istioctl install -f istio-egressgateway.yaml --set values.global.istioNamespace=external-istiod --context="${CTX_REMOTE_CLUSTER}"
} }
snip_enable_gateways_4() { snip_enable_gateways_4() {

View File

@ -35,7 +35,7 @@ EOF
} }
snip_configure_cluster1_as_a_primary_2() { snip_configure_cluster1_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER1}" -f cluster1.yaml istioctl install --context="${CTX_CLUSTER1}" -f cluster1.yaml
} }
snip_configure_cluster2_as_a_primary_1() { snip_configure_cluster2_as_a_primary_1() {
@ -53,7 +53,7 @@ EOF
} }
snip_configure_cluster2_as_a_primary_2() { snip_configure_cluster2_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER2}" -f cluster2.yaml istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml
} }
snip_enable_endpoint_discovery_1() { snip_enable_endpoint_discovery_1() {

View File

@ -40,7 +40,7 @@ EOF
} }
snip_configure_cluster1_as_a_primary_2() { snip_configure_cluster1_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER1}" -f cluster1.yaml istioctl install --context="${CTX_CLUSTER1}" -f cluster1.yaml
} }
snip_install_the_eastwest_gateway_in_cluster1_1() { snip_install_the_eastwest_gateway_in_cluster1_1() {
@ -83,7 +83,7 @@ EOF
} }
snip_configure_cluster2_as_a_primary_2() { snip_configure_cluster2_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER2}" -f cluster2.yaml istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml
} }
snip_install_the_eastwest_gateway_in_cluster2_1() { snip_install_the_eastwest_gateway_in_cluster2_1() {

View File

@ -35,7 +35,7 @@ EOF
} }
snip_configure_cluster1_as_a_primary_2() { snip_configure_cluster1_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_CLUSTER1}" -f cluster1.yaml istioctl install --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_CLUSTER1}" -f cluster1.yaml
} }
snip_install_the_eastwest_gateway_in_cluster1_1() { snip_install_the_eastwest_gateway_in_cluster1_1() {
@ -89,7 +89,7 @@ EOF
} }
snip_configure_cluster2_as_a_remote_3() { snip_configure_cluster2_as_a_remote_3() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER2}" -f cluster2.yaml istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml
} }
snip_attach_cluster2_as_a_remote_cluster_of_cluster1_1() { snip_attach_cluster2_as_a_remote_cluster_of_cluster1_1() {

View File

@ -40,7 +40,7 @@ EOF
} }
snip_configure_cluster1_as_a_primary_2() { snip_configure_cluster1_as_a_primary_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_CLUSTER1}" -f cluster1.yaml istioctl install --set values.pilot.env.EXTERNAL_ISTIOD=true --context="${CTX_CLUSTER1}" -f cluster1.yaml
} }
snip_install_the_eastwest_gateway_in_cluster1_1() { snip_install_the_eastwest_gateway_in_cluster1_1() {
@ -98,7 +98,7 @@ EOF
} }
snip_configure_cluster2_as_a_remote_3() { snip_configure_cluster2_as_a_remote_3() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --context="${CTX_CLUSTER2}" -f cluster2.yaml istioctl install --context="${CTX_CLUSTER2}" -f cluster2.yaml
} }
snip_attach_cluster2_as_a_remote_cluster_of_cluster1_1() { snip_attach_cluster2_as_a_remote_cluster_of_cluster1_1() {

View File

@ -23,7 +23,7 @@
snip_deploying_multiple_control_planes_1() { snip_deploying_multiple_control_planes_1() {
kubectl create ns usergroup-1 kubectl create ns usergroup-1
kubectl label ns usergroup-1 usergroup=usergroup-1 kubectl label ns usergroup-1 usergroup=usergroup-1
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - <<EOF istioctl install -y -f - <<EOF
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
metadata: metadata:
@ -44,7 +44,7 @@ EOF
snip_deploying_multiple_control_planes_2() { snip_deploying_multiple_control_planes_2() {
kubectl create ns usergroup-2 kubectl create ns usergroup-2
kubectl label ns usergroup-2 usergroup=usergroup-2 kubectl label ns usergroup-2 usergroup=usergroup-2
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - <<EOF istioctl install -y -f - <<EOF
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
metadata: metadata:

View File

@ -62,21 +62,21 @@ EOF
} }
snip_install_the_istio_control_plane_2() { snip_install_the_istio_control_plane_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f vm-cluster.yaml istioctl install -f vm-cluster.yaml
} }
snip_install_istio() { snip_install_istio() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f vm-cluster.yaml --set values.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_AUTOREGISTRATION=true --set values.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_HEALTHCHECKS=true istioctl install -f vm-cluster.yaml --set values.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_AUTOREGISTRATION=true --set values.pilot.env.PILOT_ENABLE_WORKLOAD_ENTRY_HEALTHCHECKS=true
} }
snip_install_eastwest() { snip_install_eastwest() {
samples/multicluster/gen-eastwest-gateway.sh --single-cluster | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - samples/multicluster/gen-eastwest-gateway.sh --single-cluster | istioctl install -y -f -
} }
snip_install_the_istio_control_plane_5() { snip_install_the_istio_control_plane_5() {
samples/multicluster/gen-eastwest-gateway.sh \ samples/multicluster/gen-eastwest-gateway.sh \
--network "${CLUSTER_NETWORK}" | \ --network "${CLUSTER_NETWORK}" | \
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - istioctl install -y -f -
} }
snip_expose_istio() { snip_expose_istio() {

View File

@ -32,7 +32,7 @@ istioctl x precheck
ENDSNIP ENDSNIP
snip_control_plane_1() { snip_control_plane_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set revision=canary istioctl install --set revision=canary
} }
snip_control_plane_2() { snip_control_plane_2() {
@ -98,8 +98,8 @@ istioctl proxy-status | grep "\.test-ns "
} }
snip_usage_1() { snip_usage_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --revision=1-22-1 --set profile=minimal --skip-confirmation istioctl install --revision=1-22-1 --set profile=minimal --skip-confirmation
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --revision=1-23-0 --set profile=minimal --skip-confirmation istioctl install --revision=1-23-0 --set profile=minimal --skip-confirmation
} }
snip_usage_2() { snip_usage_2() {

View File

@ -23,7 +23,7 @@ source "content/en/boilerplates/snips/start-otel-collector-service.sh"
source "content/en/boilerplates/snips/trace-generation.sh" source "content/en/boilerplates/snips/trace-generation.sh"
snip_install_otlp_http() { snip_install_otlp_http() {
cat <<EOF | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - cat <<EOF | istioctl install -y -f -
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:

View File

@ -23,7 +23,7 @@ source "content/en/boilerplates/snips/start-otel-collector-service.sh"
source "content/en/boilerplates/snips/trace-generation.sh" source "content/en/boilerplates/snips/trace-generation.sh"
snip_install_default_sampling() { snip_install_default_sampling() {
cat <<EOF | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - cat <<EOF | istioctl install -y -f -
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:
@ -57,7 +57,7 @@ EOF
} }
snip_install_without_sampling() { snip_install_without_sampling() {
cat <<EOF | istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -y -f - cat <<EOF | istioctl install -y -f -
apiVersion: install.istio.io/v1alpha1 apiVersion: install.istio.io/v1alpha1
kind: IstioOperator kind: IstioOperator
spec: spec:

View File

@ -36,7 +36,7 @@ spec:
service: zipkin.istio-system.svc.cluster.local service: zipkin.istio-system.svc.cluster.local
port: 9411 port: 9411
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f ./tracing.yaml --skip-confirmation istioctl install -f ./tracing.yaml --skip-confirmation
} }
snip_enable_tracing_for_mesh_1() { snip_enable_tracing_for_mesh_1() {

View File

@ -88,7 +88,7 @@ kubectl delete -f samples/httpbin/httpbin.yaml
} }
snip_disable_envoys_access_logging_1() { snip_disable_envoys_access_logging_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=default istioctl install --set profile=default
} }
! IFS=$'\n' read -r -d '' snip_disable_envoys_access_logging_1_out <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_disable_envoys_access_logging_1_out <<\ENDSNIP

View File

@ -131,7 +131,7 @@ kubectl delete namespace observability
} }
snip_disable_envoys_access_logging_1() { snip_disable_envoys_access_logging_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=default istioctl install --set profile=default
} }
! IFS=$'\n' read -r -d '' snip_disable_envoys_access_logging_1_out <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_disable_envoys_access_logging_1_out <<\ENDSNIP

View File

@ -23,7 +23,7 @@ source "content/en/boilerplates/snips/before-you-begin-egress.sh"
source "content/en/boilerplates/snips/start-httpbin-service.sh" source "content/en/boilerplates/snips/start-httpbin-service.sh"
snip_install_loki() { snip_install_loki() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f samples/open-telemetry/loki/iop.yaml --skip-confirmation istioctl install -f samples/open-telemetry/loki/iop.yaml --skip-confirmation
kubectl apply -f samples/addons/loki.yaml -n istio-system kubectl apply -f samples/addons/loki.yaml -n istio-system
kubectl apply -f samples/open-telemetry/loki/otel.yaml -n istio-system kubectl apply -f samples/open-telemetry/loki/otel.yaml -n istio-system
} }

View File

@ -22,7 +22,7 @@
source "content/en/boilerplates/snips/gateway-api-support.sh" source "content/en/boilerplates/snips/gateway-api-support.sh"
snip_before_you_begin_1() { snip_before_you_begin_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=default istioctl install --set profile=default
} }
snip_setup_1() { snip_setup_1() {

View File

@ -21,7 +21,7 @@
#################################################################################################### ####################################################################################################
snip_before_you_begin_1() { snip_before_you_begin_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo --set meshConfig.trustDomain=old-td istioctl install --set profile=demo --set meshConfig.trustDomain=old-td
} }
snip_before_you_begin_2() { snip_before_you_begin_2() {
@ -74,7 +74,7 @@ kubectl exec "$(kubectl -n sleep-allow get pod -l app=sleep -o jsonpath={.items.
ENDSNIP ENDSNIP
snip_migrate_trust_domain_without_trust_domain_aliases_1() { snip_migrate_trust_domain_without_trust_domain_aliases_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo --set meshConfig.trustDomain=new-td istioctl install --set profile=demo --set meshConfig.trustDomain=new-td
} }
snip_migrate_trust_domain_without_trust_domain_aliases_2() { snip_migrate_trust_domain_without_trust_domain_aliases_2() {
@ -115,7 +115,7 @@ spec:
trustDomainAliases: trustDomainAliases:
- old-td - old-td
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo -f td-installation.yaml -y istioctl install --set profile=demo -f td-installation.yaml -y
} }
snip_migrate_trust_domain_with_trust_domain_aliases_2() { snip_migrate_trust_domain_with_trust_domain_aliases_2() {

View File

@ -186,7 +186,7 @@ $BARCA
verbs: verbs:
- approve - approve
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --skip-confirmation -f ./istio.yaml istioctl install --skip-confirmation -f ./istio.yaml
} }
snip_deploy_istio_with_default_certsigner_info_2() { snip_deploy_istio_with_default_certsigner_info_2() {

View File

@ -47,7 +47,7 @@ popd
} }
snip_deploy_istio_1() { snip_deploy_istio_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo istioctl install --set profile=demo
} }
snip_deploying_example_services_1() { snip_deploying_example_services_1() {

View File

@ -29,7 +29,7 @@ spec:
meshMTLS: meshMTLS:
minProtocolVersion: TLSV1_3 minProtocolVersion: TLSV1_3
EOF EOF
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true -f ./istio.yaml istioctl install -f ./istio.yaml
} }
snip_check_the_tls_configuration_of_istio_workloads_1() { snip_check_the_tls_configuration_of_istio_workloads_1() {

View File

@ -42,7 +42,7 @@ OpenSSL 1.1.1g 21 Apr 2020
ENDSNIP ENDSNIP
! IFS=$'\n' read -r -d '' snip_before_you_begin_5 <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_before_you_begin_5 <<\ENDSNIP
$ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true <flags-you-used-to-install-Istio> --set meshConfig.accessLogFile=/dev/stdout $ istioctl install <flags-you-used-to-install-Istio> --set meshConfig.accessLogFile=/dev/stdout
ENDSNIP ENDSNIP
snip_perform_tls_origination_with_an_egress_gateway_1() { snip_perform_tls_origination_with_an_egress_gateway_1() {

View File

@ -30,7 +30,7 @@ export SOURCE_POD=$(kubectl get pod -l app=sleep -o jsonpath={.items..metadata.n
} }
! IFS=$'\n' read -r -d '' snip_before_you_begin_3 <<\ENDSNIP ! IFS=$'\n' read -r -d '' snip_before_you_begin_3 <<\ENDSNIP
$ istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true <flags-you-used-to-install-Istio> --set meshConfig.accessLogFile=/dev/stdout $ istioctl install <flags-you-used-to-install-Istio> --set meshConfig.accessLogFile=/dev/stdout
ENDSNIP ENDSNIP
snip_deploy_istio_egress_gateway_1() { snip_deploy_istio_egress_gateway_1() {

View File

@ -22,11 +22,11 @@
source "content/en/boilerplates/snips/gateway-api-support.sh" source "content/en/boilerplates/snips/gateway-api-support.sh"
snip_before_you_begin_1() { snip_before_you_begin_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=demo --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY istioctl install --set profile=demo --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY
} }
snip_before_you_begin_2() { snip_before_you_begin_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=minimal -y \ istioctl install --set profile=minimal -y \
--set values.pilot.env.PILOT_ENABLE_ALPHA_GATEWAY_API=true \ --set values.pilot.env.PILOT_ENABLE_ALPHA_GATEWAY_API=true \
--set meshConfig.accessLogFile=/dev/stdout \ --set meshConfig.accessLogFile=/dev/stdout \
--set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY

View File

@ -26,7 +26,7 @@ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \
} }
snip_setup_2() { snip_setup_2() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=minimal -y istioctl install --set profile=minimal -y
} }
snip_configuring_a_gateway_1() { snip_configuring_a_gateway_1() {

View File

@ -22,7 +22,7 @@
source "content/en/boilerplates/snips/gateway-api-support.sh" source "content/en/boilerplates/snips/gateway-api-support.sh"
snip_before_you_begin_1() { snip_before_you_begin_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=minimal istioctl install --set profile=minimal
} }
snip_before_you_begin_2() { snip_before_you_begin_2() {

View File

@ -21,7 +21,7 @@
#################################################################################################### ####################################################################################################
snip_before_you_begin_1() { snip_before_you_begin_1() {
istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true --set profile=default --set values.pilot.env.ENABLE_TLS_ON_SIDECAR_INGRESS=true istioctl install --set profile=default --set values.pilot.env.ENABLE_TLS_ON_SIDECAR_INGRESS=true
} }
snip_before_you_begin_2() { snip_before_you_begin_2() {

View File

@ -104,7 +104,6 @@ with open(markdown, 'rt', encoding='utf-8') as mdfile:
# Replace github file token with release-specific URL. # Replace github file token with release-specific URL.
github_url = "https://raw.githubusercontent.com/istio/istio/" + source_branch_name github_url = "https://raw.githubusercontent.com/istio/istio/" + source_branch_name
line = line.replace("{{< github_file >}}", github_url) line = line.replace("{{< github_file >}}", github_url)
line = line.replace("istioctl install", "istioctl install --set values.pilot.env.PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING=true")
line = line.replace("kubectl delete gtw", "kubectl delete gtw --cascade=foreground") line = line.replace("kubectl delete gtw", "kubectl delete gtw --cascade=foreground")
match = sectionhead.match(line) match = sectionhead.match(line)

View File

@ -45,7 +45,6 @@ meshConfig:
values: values:
pilot: pilot:
env: env:
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true
PILOT_ENABLE_ALPHA_GATEWAY_API: false PILOT_ENABLE_ALPHA_GATEWAY_API: false
ISTIO_DUAL_STACK: true ISTIO_DUAL_STACK: true
gateways: gateways:

View File

@ -42,7 +42,6 @@ profile: ambient
values: values:
pilot: pilot:
env: env:
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true
PILOT_ENABLE_ALPHA_GATEWAY_API: false PILOT_ENABLE_ALPHA_GATEWAY_API: false
components: components:
egressGateways: egressGateways:

View File

@ -41,7 +41,6 @@ func setupConfig(ctx resource.Context, cfg *istio.Config) {
values: values:
pilot: pilot:
env: env:
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true
PILOT_ENABLE_ALPHA_GATEWAY_API: false PILOT_ENABLE_ALPHA_GATEWAY_API: false
` `
} }

View File

@ -42,7 +42,6 @@ profile: demo
values: values:
pilot: pilot:
env: env:
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true
PILOT_ENABLE_ALPHA_GATEWAY_API: false PILOT_ENABLE_ALPHA_GATEWAY_API: false
` `
} }

View File

@ -43,7 +43,6 @@ func setupConfig(ctx resource.Context, cfg *istio.Config) {
values: values:
pilot: pilot:
env: env:
PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING: true
PILOT_ENABLE_ALPHA_GATEWAY_API: false PILOT_ENABLE_ALPHA_GATEWAY_API: false
components: components:
egressGateways: egressGateways: