Skip to content

Commit 8a6045c

Browse files
Update the install guide with gateway namespace creation
1 parent 707826d commit 8a6045c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

INSTALL.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Here are the example values we'll use in this guide:
3636
```sh
3737
export ROOT_NAMESPACE="cf"
3838
export KORIFI_NAMESPACE="korifi"
39+
export KORIFI_GATEWAY_NAMESPACE="korifi-gateway"
3940
export ADMIN_USERNAME="cf-admin"
4041
export BASE_DOMAIN="korifi.example.org"
4142
export 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
110111
cat <<EOF | kubectl apply -f -
@@ -126,6 +127,13 @@ metadata:
126127
pod-security.kubernetes.io/audit: restricted
127128
pod-security.kubernetes.io/enforce: restricted
128129
EOF
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

Comments
 (0)