diff --git a/docs/DEV-GUIDE.md b/docs/DEV-GUIDE.md index 6e7cc31d..4a13b9a9 100644 --- a/docs/DEV-GUIDE.md +++ b/docs/DEV-GUIDE.md @@ -26,7 +26,7 @@ This document explains how to build and run Unguard locally inside Kubernetes us kind create cluster --name unguard --config ./k8s-manifests/localdev/kind/cluster-config.yaml ``` - * Optionally add an nginx ingress controller if you want to expose Unguard locally without port-forwarding + * Also, make sure to deploy an nginx ingress controller so that Unguard can be exposed locally (without port-forwarding) ```sh kubectl apply -k ./k8s-manifests/localdev/kind/ ``` diff --git a/k8s-manifests/localdev/kind/kustomization.yaml b/k8s-manifests/localdev/kind/kustomization.yaml index 0f9ce77a..b945b92d 100644 --- a/k8s-manifests/localdev/kind/kustomization.yaml +++ b/k8s-manifests/localdev/kind/kustomization.yaml @@ -18,7 +18,7 @@ resources: - https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.1/deploy/static/provider/kind/deploy.yaml # make this the default ingress class so that we don't have to annotate it explicitly -# see https://kubernetes.github.io/ingress-nginx/#i-have-only-one-ingress-controller-in-my-cluster-what-should-i-do +# see https://kubernetes.github.io/ingress-nginx/user-guide/k8s-122-migration/#i-have-only-one-ingress-controller-in-my-cluster-what-should-i-do patchesStrategicMerge: - |- apiVersion: networking.k8s.io/v1