diff --git a/02-Traffic_management/README.md b/02-Traffic_management/README.md index c57649a..95eb471 100644 --- a/02-Traffic_management/README.md +++ b/02-Traffic_management/README.md @@ -1,23 +1 @@ -# Examples - -(almost) ALL NEEDS DOCUMENTATION / REVIEW - -- 01-2_deployments_method -- 02-DirectResponse-HTTP-Body -- 03-HTTPRewrite -- 04-HTTPRedirect -- 05a-FaultInjection-delay -- 05b-FaultInjection-abort -- 06-mTLS (would need some documentation review, mainly go over the differences respective to the template/prior configuration used) -- 07-HTTPS-Gateway-Simple-TLS <- Doesn't respect the changelog format. -- 08a-HTTPS-min-TLS-version -- 08b-HTTPS-max-TLS-version -- 09-HTTPS-backend -- 10-TCP-FORWARDING -- 11-TLS-PASSTHROUGH -- 12-HTTP-to-HTTPS-traffic-redirect -> Documented. - - - -This will need some reorganization. - +This gloves the resources `Virtual Service` and `Destination Rule` \ No newline at end of file diff --git a/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Deployment.yaml b/03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Deployment.yaml similarity index 100% rename from 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Deployment.yaml rename to 03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Deployment.yaml diff --git a/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Gateway.yaml b/03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Gateway.yaml similarity index 100% rename from 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Gateway.yaml rename to 03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Gateway.yaml diff --git a/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md b/03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/README.md similarity index 100% rename from 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/README.md rename to 03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/README.md diff --git a/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Service.yaml b/03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Service.yaml similarity index 100% rename from 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/Service.yaml rename to 03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/Service.yaml diff --git a/02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/VirtualService.yaml b/03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/VirtualService.yaml similarity index 100% rename from 02-Traffic_management/07-HTTPS-Gateway-Simple-TLS/VirtualService.yaml rename to 03-Gateway_Ingress/07-HTTPS-Gateway-Simple-TLS/VirtualService.yaml diff --git a/02-Traffic_management/08a-HTTPS-min-TLS-version/Deployment.yaml b/03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Deployment.yaml similarity index 100% rename from 02-Traffic_management/08a-HTTPS-min-TLS-version/Deployment.yaml rename to 03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Deployment.yaml diff --git a/02-Traffic_management/08a-HTTPS-min-TLS-version/Gateway.yaml b/03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Gateway.yaml similarity index 100% rename from 02-Traffic_management/08a-HTTPS-min-TLS-version/Gateway.yaml rename to 03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Gateway.yaml diff --git a/02-Traffic_management/08a-HTTPS-min-TLS-version/README.md b/03-Gateway_Ingress/08a-HTTPS-min-TLS-version/README.md similarity index 100% rename from 02-Traffic_management/08a-HTTPS-min-TLS-version/README.md rename to 03-Gateway_Ingress/08a-HTTPS-min-TLS-version/README.md diff --git a/02-Traffic_management/08a-HTTPS-min-TLS-version/Service.yaml b/03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Service.yaml similarity index 100% rename from 02-Traffic_management/08a-HTTPS-min-TLS-version/Service.yaml rename to 03-Gateway_Ingress/08a-HTTPS-min-TLS-version/Service.yaml diff --git a/02-Traffic_management/08a-HTTPS-min-TLS-version/VirtualService.yaml b/03-Gateway_Ingress/08a-HTTPS-min-TLS-version/VirtualService.yaml similarity index 100% rename from 02-Traffic_management/08a-HTTPS-min-TLS-version/VirtualService.yaml rename to 03-Gateway_Ingress/08a-HTTPS-min-TLS-version/VirtualService.yaml diff --git a/02-Traffic_management/08b-HTTPS-max-TLS-version/Deployment.yaml b/03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Deployment.yaml similarity index 100% rename from 02-Traffic_management/08b-HTTPS-max-TLS-version/Deployment.yaml rename to 03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Deployment.yaml diff --git a/02-Traffic_management/08b-HTTPS-max-TLS-version/Gateway.yaml b/03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Gateway.yaml similarity index 100% rename from 02-Traffic_management/08b-HTTPS-max-TLS-version/Gateway.yaml rename to 03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Gateway.yaml diff --git a/02-Traffic_management/08b-HTTPS-max-TLS-version/README.md b/03-Gateway_Ingress/08b-HTTPS-max-TLS-version/README.md similarity index 100% rename from 02-Traffic_management/08b-HTTPS-max-TLS-version/README.md rename to 03-Gateway_Ingress/08b-HTTPS-max-TLS-version/README.md diff --git a/02-Traffic_management/08b-HTTPS-max-TLS-version/Service.yaml b/03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Service.yaml similarity index 100% rename from 02-Traffic_management/08b-HTTPS-max-TLS-version/Service.yaml rename to 03-Gateway_Ingress/08b-HTTPS-max-TLS-version/Service.yaml diff --git a/02-Traffic_management/08b-HTTPS-max-TLS-version/VirtualService.yaml b/03-Gateway_Ingress/08b-HTTPS-max-TLS-version/VirtualService.yaml similarity index 100% rename from 02-Traffic_management/08b-HTTPS-max-TLS-version/VirtualService.yaml rename to 03-Gateway_Ingress/08b-HTTPS-max-TLS-version/VirtualService.yaml diff --git a/02-Traffic_management/10-TCP-FORWARDING/README.md b/03-Gateway_Ingress/10-TCP-FORWARDING/README.md similarity index 100% rename from 02-Traffic_management/10-TCP-FORWARDING/README.md rename to 03-Gateway_Ingress/10-TCP-FORWARDING/README.md diff --git a/02-Traffic_management/10-TCP-FORWARDING/deployment.yaml b/03-Gateway_Ingress/10-TCP-FORWARDING/deployment.yaml similarity index 100% rename from 02-Traffic_management/10-TCP-FORWARDING/deployment.yaml rename to 03-Gateway_Ingress/10-TCP-FORWARDING/deployment.yaml diff --git a/02-Traffic_management/10-TCP-FORWARDING/gateway.yaml b/03-Gateway_Ingress/10-TCP-FORWARDING/gateway.yaml similarity index 100% rename from 02-Traffic_management/10-TCP-FORWARDING/gateway.yaml rename to 03-Gateway_Ingress/10-TCP-FORWARDING/gateway.yaml diff --git a/02-Traffic_management/11-TLS-PASSTHROUGH/README.md b/03-Gateway_Ingress/11-TLS-PASSTHROUGH/README.md similarity index 100% rename from 02-Traffic_management/11-TLS-PASSTHROUGH/README.md rename to 03-Gateway_Ingress/11-TLS-PASSTHROUGH/README.md diff --git a/02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml b/03-Gateway_Ingress/11-TLS-PASSTHROUGH/deployment.yaml similarity index 100% rename from 02-Traffic_management/11-TLS-PASSTHROUGH/deployment.yaml rename to 03-Gateway_Ingress/11-TLS-PASSTHROUGH/deployment.yaml diff --git a/02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml b/03-Gateway_Ingress/11-TLS-PASSTHROUGH/gateway.yaml similarity index 100% rename from 02-Traffic_management/11-TLS-PASSTHROUGH/gateway.yaml rename to 03-Gateway_Ingress/11-TLS-PASSTHROUGH/gateway.yaml diff --git a/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/Gateway.yaml b/03-Gateway_Ingress/12-HTTP-to-HTTPS-traffic-redirect/Gateway.yaml similarity index 100% rename from 02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/Gateway.yaml rename to 03-Gateway_Ingress/12-HTTP-to-HTTPS-traffic-redirect/Gateway.yaml diff --git a/02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md b/03-Gateway_Ingress/12-HTTP-to-HTTPS-traffic-redirect/README.md similarity index 100% rename from 02-Traffic_management/12-HTTP-to-HTTPS-traffic-redirect/README.md rename to 03-Gateway_Ingress/12-HTTP-to-HTTPS-traffic-redirect/README.md diff --git a/03-Gateway_Ingress/README.md b/03-Gateway_Ingress/README.md new file mode 100644 index 0000000..e69de29 diff --git a/02-Traffic_management/05-Service_Entry/Gateway.yaml b/04-Backends/05-Service_Entry/Gateway.yaml similarity index 100% rename from 02-Traffic_management/05-Service_Entry/Gateway.yaml rename to 04-Backends/05-Service_Entry/Gateway.yaml diff --git a/02-Traffic_management/05-Service_Entry/README.md b/04-Backends/05-Service_Entry/README.md similarity index 100% rename from 02-Traffic_management/05-Service_Entry/README.md rename to 04-Backends/05-Service_Entry/README.md diff --git a/02-Traffic_management/05-Service_Entry/ServiceEntry.yaml b/04-Backends/05-Service_Entry/ServiceEntry.yaml similarity index 100% rename from 02-Traffic_management/05-Service_Entry/ServiceEntry.yaml rename to 04-Backends/05-Service_Entry/ServiceEntry.yaml diff --git a/02-Traffic_management/05-Service_Entry/VirtualService.yaml b/04-Backends/05-Service_Entry/VirtualService.yaml similarity index 100% rename from 02-Traffic_management/05-Service_Entry/VirtualService.yaml rename to 04-Backends/05-Service_Entry/VirtualService.yaml diff --git a/02-Traffic_management/09-HTTPS-backend/README.md b/04-Backends/09-HTTPS-backend/README.md similarity index 98% rename from 02-Traffic_management/09-HTTPS-backend/README.md rename to 04-Backends/09-HTTPS-backend/README.md index c236283..8eefa08 100644 --- a/02-Traffic_management/09-HTTPS-backend/README.md +++ b/04-Backends/09-HTTPS-backend/README.md @@ -5,7 +5,7 @@ include_toc: true # Based on -- [08a-HTTPS-min-TLS-version](../08a-HTTPS-min-TLS-version) +- [08a-HTTPS-min-TLS-version](../../03-Gateway_Ingress/08a-HTTPS-min-TLS-version) # Description @@ -197,7 +197,7 @@ spec: ``` > **Note**:\ -> As this configuration is very board, and targets the whole namespace, I would strongly recommend referring to the following example [06-Internal-Authentication/02-target-service-accounts](../../06-AuthorizationPolicy/02-target-service-accounts), which shows how to target service accounts set to resources, limiting the scope of this rule set. +> As this configuration is very board, and targets the whole namespace, I would strongly recommend referring to the following example [06-Internal-Authentication/02-target-service-accounts](../../08-AuthorizationPolicy/02-target-service-accounts), which shows how to target service accounts set to resources, limiting the scope of this rule set. # Walkthrough diff --git a/02-Traffic_management/09-HTTPS-backend/authentication.yaml b/04-Backends/09-HTTPS-backend/authentication.yaml similarity index 100% rename from 02-Traffic_management/09-HTTPS-backend/authentication.yaml rename to 04-Backends/09-HTTPS-backend/authentication.yaml diff --git a/02-Traffic_management/09-HTTPS-backend/deployment.yaml b/04-Backends/09-HTTPS-backend/deployment.yaml similarity index 100% rename from 02-Traffic_management/09-HTTPS-backend/deployment.yaml rename to 04-Backends/09-HTTPS-backend/deployment.yaml diff --git a/02-Traffic_management/09-HTTPS-backend/gateway.yaml b/04-Backends/09-HTTPS-backend/gateway.yaml similarity index 100% rename from 02-Traffic_management/09-HTTPS-backend/gateway.yaml rename to 04-Backends/09-HTTPS-backend/gateway.yaml diff --git a/04-Backends/README.md b/04-Backends/README.md new file mode 100644 index 0000000..e69de29 diff --git a/03-Sidecar/01-ingress-proxy-forwarding/Deployment.yaml b/05-Sidecar/01-ingress-proxy-forwarding/Deployment.yaml similarity index 100% rename from 03-Sidecar/01-ingress-proxy-forwarding/Deployment.yaml rename to 05-Sidecar/01-ingress-proxy-forwarding/Deployment.yaml diff --git a/03-Sidecar/01-ingress-proxy-forwarding/Gateway.yaml b/05-Sidecar/01-ingress-proxy-forwarding/Gateway.yaml similarity index 100% rename from 03-Sidecar/01-ingress-proxy-forwarding/Gateway.yaml rename to 05-Sidecar/01-ingress-proxy-forwarding/Gateway.yaml diff --git a/03-Sidecar/01-ingress-proxy-forwarding/README.md b/05-Sidecar/01-ingress-proxy-forwarding/README.md similarity index 100% rename from 03-Sidecar/01-ingress-proxy-forwarding/README.md rename to 05-Sidecar/01-ingress-proxy-forwarding/README.md diff --git a/03-Sidecar/01-ingress-proxy-forwarding/Service.yaml b/05-Sidecar/01-ingress-proxy-forwarding/Service.yaml similarity index 100% rename from 03-Sidecar/01-ingress-proxy-forwarding/Service.yaml rename to 05-Sidecar/01-ingress-proxy-forwarding/Service.yaml diff --git a/03-Sidecar/01-ingress-proxy-forwarding/Sidecar.yaml b/05-Sidecar/01-ingress-proxy-forwarding/Sidecar.yaml similarity index 100% rename from 03-Sidecar/01-ingress-proxy-forwarding/Sidecar.yaml rename to 05-Sidecar/01-ingress-proxy-forwarding/Sidecar.yaml diff --git a/03-Sidecar/README.md b/05-Sidecar/README.md similarity index 100% rename from 03-Sidecar/README.md rename to 05-Sidecar/README.md diff --git a/04-Envoy/01-envoy_add_headers/README.md b/06-Envoy/01-envoy_add_headers/README.md similarity index 100% rename from 04-Envoy/01-envoy_add_headers/README.md rename to 06-Envoy/01-envoy_add_headers/README.md diff --git a/04-Envoy/01-envoy_add_headers/deployment.yaml b/06-Envoy/01-envoy_add_headers/deployment.yaml similarity index 100% rename from 04-Envoy/01-envoy_add_headers/deployment.yaml rename to 06-Envoy/01-envoy_add_headers/deployment.yaml diff --git a/04-Envoy/01-envoy_add_headers/envoy.yaml b/06-Envoy/01-envoy_add_headers/envoy.yaml similarity index 100% rename from 04-Envoy/01-envoy_add_headers/envoy.yaml rename to 06-Envoy/01-envoy_add_headers/envoy.yaml diff --git a/04-Envoy/01-envoy_add_headers/envoy2.yaml b/06-Envoy/01-envoy_add_headers/envoy2.yaml similarity index 100% rename from 04-Envoy/01-envoy_add_headers/envoy2.yaml rename to 06-Envoy/01-envoy_add_headers/envoy2.yaml diff --git a/04-Envoy/01-envoy_add_headers/gateway.yaml b/06-Envoy/01-envoy_add_headers/gateway.yaml similarity index 100% rename from 04-Envoy/01-envoy_add_headers/gateway.yaml rename to 06-Envoy/01-envoy_add_headers/gateway.yaml diff --git a/04-Envoy/README.md b/06-Envoy/README.md similarity index 100% rename from 04-Envoy/README.md rename to 06-Envoy/README.md diff --git a/05-MeshConfig/01-Outboud-Traffic-Policy/README.md b/07-MeshConfig/01-Outboud-Traffic-Policy/README.md similarity index 100% rename from 05-MeshConfig/01-Outboud-Traffic-Policy/README.md rename to 07-MeshConfig/01-Outboud-Traffic-Policy/README.md diff --git a/05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml b/07-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml similarity index 100% rename from 05-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml rename to 07-MeshConfig/01-Outboud-Traffic-Policy/deployment.yaml diff --git a/05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml b/07-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml similarity index 100% rename from 05-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml rename to 07-MeshConfig/01-Outboud-Traffic-Policy/gateway.yaml diff --git a/05-MeshConfig/README.md b/07-MeshConfig/README.md similarity index 100% rename from 05-MeshConfig/README.md rename to 07-MeshConfig/README.md diff --git a/06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml b/08-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml rename to 08-AuthorizationPolicy/01-target-namespaces/01-namespace.yaml diff --git a/06-AuthorizationPolicy/01-target-namespaces/README.md b/08-AuthorizationPolicy/01-target-namespaces/README.md similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/README.md rename to 08-AuthorizationPolicy/01-target-namespaces/README.md diff --git a/06-AuthorizationPolicy/01-target-namespaces/authentication.yaml b/08-AuthorizationPolicy/01-target-namespaces/authentication.yaml similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/authentication.yaml rename to 08-AuthorizationPolicy/01-target-namespaces/authentication.yaml diff --git a/06-AuthorizationPolicy/01-target-namespaces/deployment.yaml b/08-AuthorizationPolicy/01-target-namespaces/deployment.yaml similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/deployment.yaml rename to 08-AuthorizationPolicy/01-target-namespaces/deployment.yaml diff --git a/06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml b/08-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml rename to 08-AuthorizationPolicy/01-target-namespaces/deployment_2.yaml diff --git a/06-AuthorizationPolicy/01-target-namespaces/gateway.yaml b/08-AuthorizationPolicy/01-target-namespaces/gateway.yaml similarity index 100% rename from 06-AuthorizationPolicy/01-target-namespaces/gateway.yaml rename to 08-AuthorizationPolicy/01-target-namespaces/gateway.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml b/08-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/01-namespace.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml b/08-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/01-service-accounts.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/README.md b/08-AuthorizationPolicy/02-target-service-accounts/README.md similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/README.md rename to 08-AuthorizationPolicy/02-target-service-accounts/README.md diff --git a/06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml b/08-AuthorizationPolicy/02-target-service-accounts/authentication.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/authentication.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/authentication.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml b/08-AuthorizationPolicy/02-target-service-accounts/deployment.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/deployment.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/deployment.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml b/08-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/deployment_2.yaml diff --git a/06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml b/08-AuthorizationPolicy/02-target-service-accounts/gateway.yaml similarity index 100% rename from 06-AuthorizationPolicy/02-target-service-accounts/gateway.yaml rename to 08-AuthorizationPolicy/02-target-service-accounts/gateway.yaml diff --git a/06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml b/08-AuthorizationPolicy/03-target-deployments/01-namespace.yaml similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/01-namespace.yaml rename to 08-AuthorizationPolicy/03-target-deployments/01-namespace.yaml diff --git a/06-AuthorizationPolicy/03-target-deployments/README.md b/08-AuthorizationPolicy/03-target-deployments/README.md similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/README.md rename to 08-AuthorizationPolicy/03-target-deployments/README.md diff --git a/06-AuthorizationPolicy/03-target-deployments/authentication.yaml b/08-AuthorizationPolicy/03-target-deployments/authentication.yaml similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/authentication.yaml rename to 08-AuthorizationPolicy/03-target-deployments/authentication.yaml diff --git a/06-AuthorizationPolicy/03-target-deployments/deployment.yaml b/08-AuthorizationPolicy/03-target-deployments/deployment.yaml similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/deployment.yaml rename to 08-AuthorizationPolicy/03-target-deployments/deployment.yaml diff --git a/06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml b/08-AuthorizationPolicy/03-target-deployments/deployment_2.yaml similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/deployment_2.yaml rename to 08-AuthorizationPolicy/03-target-deployments/deployment_2.yaml diff --git a/06-AuthorizationPolicy/03-target-deployments/gateway.yaml b/08-AuthorizationPolicy/03-target-deployments/gateway.yaml similarity index 100% rename from 06-AuthorizationPolicy/03-target-deployments/gateway.yaml rename to 08-AuthorizationPolicy/03-target-deployments/gateway.yaml diff --git a/06-AuthorizationPolicy/README.md b/08-AuthorizationPolicy/README.md similarity index 100% rename from 06-AuthorizationPolicy/README.md rename to 08-AuthorizationPolicy/README.md diff --git a/10-mTLS_PeerAuthentication/01-disable-mTLS/README.md b/10-mTLS_PeerAuthentication/01-disable-mTLS/README.md index 9d45257..52cbaf7 100644 --- a/10-mTLS_PeerAuthentication/01-disable-mTLS/README.md +++ b/10-mTLS_PeerAuthentication/01-disable-mTLS/README.md @@ -558,7 +558,7 @@ On this scenario, we met a fatal error, not allowing us to access the service, u From my understanding, not only from this interaction, but from investigating through Istio forums (yet I don't have the link handy, so take this words with some grains of salt), **the traffic cannot be double terminated**, for such if we have an `HTTPS` backend, we might require to disable `mTLS` in order to communicate with it. We also would need to set a [Destination Rule like we did further above](#destination-rule), to specify that the traffic must be terminated with the backend (`tls.mode: STRICT`). -Yet this depends on which would be our architecture, due also being able to set up [TLS Passthrough](../../02-Traffic_management/11-TLS-PASSTHROUGH), or use a [TCP Forwarding](../../02-Traffic_management/10-TCP-FORWARDING). +Yet this depends on which would be our architecture, due also being able to set up [TLS Passthrough](../../03-Gateway_Ingress/11-TLS-PASSTHROUGH), or use a [TCP Forwarding](../../03-Gateway_Ingress/10-TCP-FORWARDING). ```shell curl 192.168.1.50/https-mTLS diff --git a/90-MixConfigs/06-HTTPS-Gateway_Service_Entry/README.md b/90-MixConfigs/06-HTTPS-Gateway_Service_Entry/README.md index e860918..3a1f688 100755 --- a/90-MixConfigs/06-HTTPS-Gateway_Service_Entry/README.md +++ b/90-MixConfigs/06-HTTPS-Gateway_Service_Entry/README.md @@ -8,7 +8,7 @@ The page used as a destination is my own [GitHub page](https://github.com/). # Based on -- [05-hello_world_1_Service_Entry](../../02-Traffic_management/05-Service_Entry) +- [05-hello_world_1_Service_Entry](../../04-Backends/05-Service_Entry) # Configuration @@ -75,7 +75,7 @@ The path `/external` will forward the request towards the destination URL `githu Highlight that the destination is `github.com`, which is the same as the contents set on the field `host` from the [ServiceEntry resource configured above](#serviceentry). -As seen [in the previous example, where the host that didn't have the `HOST` header wasn't able to receive a response by the destination](../../02-Traffic_management/05-Service_Entry/#external-noh), we configured the `HOST` header to match the URL from the external service. +As seen [in the previous example, where the host that didn't have the `HOST` header wasn't able to receive a response by the destination](../../04-Backends/05-Service_Entry/#external-noh), we configured the `HOST` header to match the URL from the external service. ```yaml apiVersion: networking.istio.io/v1alpha3 @@ -108,7 +108,7 @@ spec: ## DestinationRule -As seen in the example [02-Traffic_management/09-HTTPS-backend](../../02-Traffic_management/09-HTTPS-backend), where we configure Istio to use an `HTTPS` backend, the same configuration is applied on this case (yes, I am aware that a `ServiceEntry` is also a backend). +As seen in the example [02-Traffic_management/09-HTTPS-backend](../../04-Backends/09-HTTPS-backend), where we configure Istio to use an `HTTPS` backend, the same configuration is applied on this case (yes, I am aware that a `ServiceEntry` is also a backend). For such, we deploy a `DestinationRule` setting to expect to terminate the TLS traffic, for the traffic with resource destination `github.com`, and port `8443`, which matches the settings set in our [ServiceEntry](#serviceentry) deployed.