Skip to content

Commit 83852ec

Browse files
committed
feature: updated with the label information
1 parent 42dd2d5 commit 83852ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

_posts/2020-10-27-kubernetes-webhooks-made-easy-with-openfaas.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ $ cd deployment
146146
$ kubectl apply -f rbac.yaml,service.yaml,deployment.yaml
147147
```
148148

149+
* Label the default namespace to enable the webhook
150+
```
151+
$ kubectl label namespaces default admission-webhook-example=enabled
152+
```
153+
149154
### 5. Build and Deploy OpenFaaS Function (Optional)
150155

151156
* Pull the [golang-middleware](https://github.com/openfaas-incubator/golang-http-template) template from [OpenFaaS Official Template Store](https://github.com/openfaas/store)

0 commit comments

Comments
 (0)