headscale-operator/config/crd/patches/webhook_in_preauthkeys.yaml
Guilhem Lettron 8f064a2890 Initial Commit 🎉
2022-06-23 16:15:33 +02:00

17 lines
402 B
YAML

# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: preauthkeys.headscale.barpilot.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1