Skip to content

Commit fb5f965

Browse files
authored
Add ansible webhook doc to reference section, fix formatting (#3113)
1 parent 494969a commit fb5f965

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

website/content/en/docs/ansible/dev/webhooks.md renamed to website/content/en/docs/ansible/reference/webhooks.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# Adding Admission Webhooks to an Ansible-based Operator
2-
3-
## Background
1+
---
2+
title: Adding Admission Webhooks to an Ansible-based Operator
3+
linkTitle: Webhooks
4+
weight: 20
5+
---
46

57
For general background on what admission webhooks are, why to use them, and how to build them,
68
please refer to the official Kubernetes documentation on [Extensible Admission Controllers][admission-controllers]
@@ -13,8 +15,7 @@ deploy it as a sidecar container alongside your operator. This allows you to mak
1315
server that the operator deploys, as well as the cache that backs it. The sidecar will be defined in the `deploy/operator.yaml` and it will look like:
1416

1517
```yaml
16-
...
17-
# This deploys the webhook
18+
# This deploys the webhook
1819
- name: webhook
1920
# Replace this with the built image name
2021
image: "REPLACE_WEBHOOK_IMAGE"

0 commit comments

Comments
 (0)