From 0406aa4c17ac8faf43ca8e1e9434c31f6cdcaa89 Mon Sep 17 00:00:00 2001 From: Jakub Warczarek Date: Fri, 20 Dec 2024 16:03:21 +0100 Subject: [PATCH] kgo: do not require `serverHostname` for KonnectExtension for KGO >=1.5.x --- .../get-started/konnect/deploy-data-plane.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/_src/gateway-operator/get-started/konnect/deploy-data-plane.md b/app/_src/gateway-operator/get-started/konnect/deploy-data-plane.md index 93149d8f562b..1e8c29ca811b 100644 --- a/app/_src/gateway-operator/get-started/konnect/deploy-data-plane.md +++ b/app/_src/gateway-operator/get-started/konnect/deploy-data-plane.md @@ -98,9 +98,11 @@ To get the endpoint and the authentication details of the data plane: 1. Extract the following values from the **Configuration parameters** step 4: 1. `CP_ID`: Find the value of `cluster_server_name`. The first segment of that value is the control plane ID for your cluster. For example, if the value of `cluster_server_name` is `36fc5d01be.us.cp0.konghq.com`, then the control plane ID of the cluster is `36fc5d01be` 1. `REGION`: Find the value in the bottom left corner of the screen. - 1. `HOSTNAME`: The server you are connected to (e.g. `konghq.tech`, `konghq.com`). +{% if_version lt:1.5.0 %} + 1. `HOSTNAME`: The server you are connected please set `konghq.com`. +{% endif_version %} -2. Now, create a [`KonnectExtension` resource](/gateway-operator/{{ page.release }}/reference/custom-resources#konnectextension). In the following manifest, replace the placeholders for `CP_ID`, `REGION`, and `HOSTNAME` with the values you just noted, and deploy it with `kubectl apply`: +2. Now, create a [`KonnectExtension` resource](/gateway-operator/{{ page.release }}/reference/custom-resources#konnectextension). In the following manifest, replace the placeholders for aforementioned with the values you just noted, and deploy it with `kubectl apply`: ```yaml echo ' @@ -114,7 +116,7 @@ To get the endpoint and the authentication details of the data plane: type: konnectID konnectID: controlPlaneRegion: - serverHostname: +{% endif_version %} serverHostname: {% endif_version %} konnectControlPlaneAPIAuthConfiguration: clusterCertificateSecretRef: name: konnect-client-tls