Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhat-dice authored Jun 4, 2020
1 parent 2e609f1 commit 5d999f9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ admissionregistration.k8s.io/v1beta1
3. Patch the `MutatingWebhookConfiguration` by set `caBundle` with correct value from Kubernetes cluster:

```
# cat deploy/mutatingwebhook.yaml | \
deploy/webhook-patch-ca-bundle.sh > \
deploy/mutatingwebhook-ca-bundle.yaml
# cat deployment/mutatingwebhook.yaml | \
deployment/webhook-patch-ca-bundle.sh > \
deployment/mutatingwebhook-ca-bundle.yaml
```

4. Deploy resources:

```
# kubectl create -f deploy/nginxconfigmap.yaml
# kubectl create -f deploy/configmap.yaml
# kubectl create -f deploy/deployment.yaml
# kubectl create -f deploy/service.yaml
# kubectl create -f deploy/mutatingwebhook-ca-bundle.yaml
# kubectl create -f deployment/nginxconfigmap.yaml
# kubectl create -f deployment/configmap.yaml
# kubectl create -f deployment/deployment.yaml
# kubectl create -f deployment/service.yaml
# kubectl create -f deployment/mutatingwebhook-ca-bundle.yaml
```

## Verify
Expand Down

0 comments on commit 5d999f9

Please sign in to comment.