diff --git a/Makefile b/Makefile index 76881d1..dcaef59 100644 --- a/Makefile +++ b/Makefile @@ -169,10 +169,6 @@ clean-crossplane: @helm delete crossplane --namespace crossplane-system @kubectl delete namespace crossplane-system -kuma: - @helm repo add kuma https://kumahq.github.io/charts - @helm install --create-namespace --namespace kuma-system kuma -f minikube/kuma/values.yaml kuma/kuma - vault: @helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com @kubectl create namespace vault-infra && kubectl label namespace vault-infra name=vault-infra @@ -215,4 +211,12 @@ kafka: kafka-ui: @helm repo add kafka-ui https://provectus.github.io/kafka-ui-charts - @helm install kafka-ui -f minikube/kafka/kafka-ui.yaml kafka-ui/kafka-ui \ No newline at end of file + @helm install kafka-ui -f minikube/kafka/kafka-ui.yaml kafka-ui/kafka-ui + +kuma-global: + @helm repo add kuma https://kumahq.github.io/charts + @helm install --create-namespace --namespace kuma-system kuma-global -f minikube/kuma/global.yaml kuma/kuma + +kuma-cp: + @helm repo add kuma https://kumahq.github.io/charts + @helm install --namespace kuma-system kuma-cp -f minikube/kuma/cp.yaml kuma/kuma \ No newline at end of file diff --git a/minikube/kuma/cp.yaml b/minikube/kuma/cp.yaml new file mode 100644 index 0000000..b7c8bb7 --- /dev/null +++ b/minikube/kuma/cp.yaml @@ -0,0 +1,12 @@ +### To enable Egress +# egress: +# enabled: true +controlPlane: + mode: zone ## To setup control plane as global + zone: zone-1 ## To setup control plane as zone + kdsGlobalAddress: grpcs://kuma-global-zone-sync:5685 + tls: + kdsZoneClient: + skipVerify: true +ingress: + enabled: true diff --git a/minikube/kuma/values.yaml b/minikube/kuma/global.yaml similarity index 93% rename from minikube/kuma/values.yaml rename to minikube/kuma/global.yaml index 0e455de..d51c5be 100644 --- a/minikube/kuma/values.yaml +++ b/minikube/kuma/global.yaml @@ -19,4 +19,6 @@ controlPlane: nginx.ingress.kubernetes.io/proxy-http-version: "1.1" nginx.ingress.kubernetes.io/force-ssl-redirect: "false" nginx.ingress.kubernetes.io/backend-protocol: "HTTP" - path: / \ No newline at end of file + path: / + globalZoneSyncService: + type: ClusterIP \ No newline at end of file