File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
docs/book/src/cronjob-tutorial/testdata/project/config/default
hack/docs/internal/cronjob-tutorial Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ patchesStrategicMerge:
36
36
37
37
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
38
38
# crd/kustomization.yaml
39
- # - manager_webhook_patch.yaml
39
+ - manager_webhook_patch.yaml
40
40
41
41
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'.
42
42
# Uncomment 'CERTMANAGER' sections in crd/kustomization.yaml to enable the CA injection in the admission webhooks.
Original file line number Diff line number Diff line change @@ -569,6 +569,11 @@ func updateKustomization(sp *Sample) {
569
569
`#- ../certmanager` , `#` )
570
570
CheckError ("fixing default/kustomization" , err )
571
571
572
+ err = pluginutil .UncommentCode (
573
+ filepath .Join (sp .ctx .Dir , "config/default/kustomization.yaml" ),
574
+ `#- manager_webhook_patch.yaml` , `#` )
575
+ CheckError ("fixing default/kustomization" , err )
576
+
572
577
err = pluginutil .UncommentCode (
573
578
filepath .Join (sp .ctx .Dir , "config/default/kustomization.yaml" ),
574
579
`#- webhookcainjection` , `#` )
You can’t perform that action at this time.
0 commit comments