webhook_in_externalsecrets.yaml 632 B

1234567891011121314151617
  1. # The following patch enables conversion webhook for CRD
  2. # CRD conversion requires k8s 1.13 or later.
  3. apiVersion: apiextensions.k8s.io/v1beta1
  4. kind: CustomResourceDefinition
  5. metadata:
  6. name: externalsecrets.external-secrets.io
  7. spec:
  8. conversion:
  9. strategy: Webhook
  10. webhookClientConfig:
  11. # this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
  12. # but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager)
  13. caBundle: Cg==
  14. service:
  15. namespace: system
  16. name: webhook-service
  17. path: /convert