headscale-operator/config/crd/patches/webhook_in_servers.yaml

17 lines
398 B
YAML
Raw Permalink Normal View History

2022-05-31 01:14:39 +00:00
# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: servers.headscale.barpilot.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1