openstack-operator/config/crd/patches/webhook_in_mcrouters.yaml
Mohammed Naser 6dbb9475f9 Initial commit
This initial commit includes support for Mcrouter, Memcached,
basic CI tests as well as Helm charts for deploying things.

Depends-On: https://review.opendev.org/713107
Depends-On: https://review.opendev.org/713115
Change-Id: I0b1ab6d8e716460e095bc3953614e336620f984e
2020-03-17 19:38:31 -04:00

18 lines
636 B
YAML

# The following patch enables conversion webhook for CRD
# CRD conversion requires k8s 1.13 or later.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: mcrouters.infrastructure.vexxhost.cloud
spec:
conversion:
strategy: Webhook
webhookClientConfig:
# this is "\n" used as a placeholder, otherwise it will be rejected by the apiserver for being blank,
# but we're going to set it later using the cert-manager (or potentially a patch if not using cert-manager)
caBundle: Cg==
service:
namespace: system
name: webhook-service
path: /convert