From a23f0afbd0689110e7e90287a1d99b2192c05ede Mon Sep 17 00:00:00 2001 From: thiyyakat Date: Wed, 14 Aug 2024 11:28:53 +0530 Subject: [PATCH 1/2] Fixed gardener_local_setup.sh script to use the correct CONTROL_CLUSTER_NAMESPACE --- hack/gardener_local_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/gardener_local_setup.sh b/hack/gardener_local_setup.sh index 038f87524..39bdefd8a 100755 --- a/hack/gardener_local_setup.sh +++ b/hack/gardener_local_setup.sh @@ -198,7 +198,7 @@ function set_makefile_env() { target_kube_config_path="$2" echo "IS_CONTROL_CLUSTER_SEED=true" > "${target_project_dir}/.env" { - printf "CONTROL_CLUSTER_NAMESPACE=%s--%s\n" "${PROJECT}" "${SHOOT}"; + printf "CONTROL_CLUSTER_NAMESPACE=shoot--%s--%s\n" "${PROJECT}" "${SHOOT}"; printf "CONTROL_NAMESPACE=%s--%s\n" "${PROJECT}" "${SHOOT}"; printf "CONTROL_KUBECONFIG=%s\n" "${target_kube_config_path}/kubeconfig_control.yaml"; printf "TARGET_KUBECONFIG=%s\n" "${target_kube_config_path}/kubeconfig_target.yaml"; From 71b173eb3e8ab4b6ad8d731061848cb34e910626 Mon Sep 17 00:00:00 2001 From: thiyyakat Date: Mon, 19 Aug 2024 15:13:08 +0530 Subject: [PATCH 2/2] Update hack/gardener_local_setup.sh Co-authored-by: Rishabh Patel <66425093+rishabh-11@users.noreply.github.com> --- hack/gardener_local_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/gardener_local_setup.sh b/hack/gardener_local_setup.sh index 39bdefd8a..848721565 100755 --- a/hack/gardener_local_setup.sh +++ b/hack/gardener_local_setup.sh @@ -199,7 +199,7 @@ function set_makefile_env() { echo "IS_CONTROL_CLUSTER_SEED=true" > "${target_project_dir}/.env" { printf "CONTROL_CLUSTER_NAMESPACE=shoot--%s--%s\n" "${PROJECT}" "${SHOOT}"; - printf "CONTROL_NAMESPACE=%s--%s\n" "${PROJECT}" "${SHOOT}"; + printf "CONTROL_NAMESPACE=shoot--%s--%s\n" "${PROJECT}" "${SHOOT}"; printf "CONTROL_KUBECONFIG=%s\n" "${target_kube_config_path}/kubeconfig_control.yaml"; printf "TARGET_KUBECONFIG=%s\n" "${target_kube_config_path}/kubeconfig_target.yaml"; printf "LEADER_ELECT=false\n"