@@ -36,6 +36,7 @@ Here are the example values we'll use in this guide:
3636``` sh
3737export ROOT_NAMESPACE=" cf"
3838export KORIFI_NAMESPACE=" korifi"
39+ export KORIFI_GATEWAY_NAMESPACE=" korifi-gateway"
3940export ADMIN_USERNAME=" cf-admin"
4041export BASE_DOMAIN=" korifi.example.org"
4142export GATEWAY_CLASS_NAME=" contour"
@@ -104,7 +105,7 @@ Most Kubernetes distributions will come with `metrics-server` already installed.
104105
105106# ## Namespace creation
106107
107- Create the root and korifi namespaces:
108+ Create the root, korifi and gateway namespaces:
108109
109110` ` ` sh
110111cat << EOF | kubectl apply -f -
@@ -126,6 +127,13 @@ metadata:
126127 pod-security.kubernetes.io/audit: restricted
127128 pod-security.kubernetes.io/enforce: restricted
128129EOF
130+
131+ cat << EOF | kubectl apply -f -
132+ apiVersion: v1
133+ kind: Namespace
134+ metadata:
135+ name: $KORIFI_GATEWAY_NAMESPACE
136+ EOF
129137` ` `
130138
131139# ## Container registry credentials `Secret`
@@ -203,6 +211,7 @@ helm install korifi https://github.com/cloudfoundry/korifi/releases/download/v<V
203211 --set=containerRepositoryPrefix=europe-docker.pkg.dev/my-project/korifi/ \
204212 --set=kpackImageBuilder.builderRepository=europe-docker.pkg.dev/my-project/korifi/kpack-builder \
205213 --set=networking.gatewayClass=$GATEWAY_CLASS_NAME \
214+ --set=networking.gatewayNamespace=$KORIFI_GATEWAY_NAMESPACE \
206215 --wait
207216` ` `
208217
0 commit comments