Skip to content

Commit

Permalink
docs: reference to admissionregistration.k8s.io/v1 for local debugging
Browse files Browse the repository at this point in the history
Starting from Kubernetes v1.22+, admissionregistration.k8s.io/v1beta1 is
deprecated and an alignement of the docs referring to outdated APIs has
been put in place.
  • Loading branch information
prometherion committed Jul 15, 2021
1 parent ba8d3be commit dd53ad4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/operator/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ _ValidatingWebhookConfiguration_ too, adding the said `ngrok` URL as base for
each defined webhook, as following:

```diff
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:

name: capsule-mutating-webhook-configuration
webhooks:
- name: owner.namespace.capsule.clastix.io
Expand Down

0 comments on commit dd53ad4

Please sign in to comment.