Skip to content

Commit

Permalink
Replace ingress.class with ingress-class (#4858)
Browse files Browse the repository at this point in the history
  • Loading branch information
nak3 authored Mar 22, 2022
1 parent 9915db4 commit 4c4e040
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Now you will need to set Kourier as the default networking layer for Knative Ser
$ kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"kourier.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"kourier.ingress.networking.knative.dev"}}'
```

If you want to validate that the patch command was successful, run the command:
Expand All @@ -203,7 +203,7 @@ $ kubectl describe configmap/config-network --namespace knative-serving

```bash
... (abbreviated for readability)
ingress.class:
ingress-class:
----
kourier.ingress.networking.knative.dev
...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Follow the procedure for the networking layer of your choice:
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"kourier.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"kourier.ingress.networking.knative.dev"}}'
```

1. Fetch the External IP address or CNAME by running the command:
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/1-serving-intro/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}'
```{{execute}}
2 changes: 1 addition & 1 deletion tutorials/katacoda/2-serving-intro-yaml/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}'
```{{execute}}
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ kubectl apply --filename https://github.com/knative/net-contour/releases/downloa
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}'
echo "Knative Serving Installed."
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ kubectl apply --filename https://github.com/knative/net-contour/releases/downloa
kubectl patch configmap/config-network \
--namespace knative-serving \
--type merge \
--patch '{"data":{"ingress.class":"contour.ingress.networking.knative.dev"}}'
--patch '{"data":{"ingress-class":"contour.ingress.networking.knative.dev"}}'
echo "Knative Serving Installed."

0 comments on commit 4c4e040

Please sign in to comment.