zelda/backend/config/crd/patches/webhook_in_zscripts.yaml

17 lines
386 B
YAML
Raw Permalink Normal View History

2024-11-19 16:57:27 +08:00
# The following patch enables a conversion webhook for the CRD
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: zscripts.zelda.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
namespace: system
name: webhook-service
path: /convert
conversionReviewVersions:
- v1