mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-23 03:52:59 +00:00
17 lines
398 B
YAML
17 lines
398 B
YAML
|
# 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
|