219b29f1a6
* add documentation for gcp provider (capg) * add manifests for gcp provider (capg) * add cluster templates for control plane and workers * add site definition to use gcp provider (capg) with control plane and workers Zuul Gate Scripts: https://review.opendev.org/#/c/749165/ Change-Id: I3ea07fcafe49fc2698d9d961222550c45b40cd66
20 lines
707 B
YAML
20 lines
707 B
YAML
# The following patch enables conversion webhook for CRD
|
|
# CRD conversion requires k8s 1.13 or later.
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: gcpclusters.infrastructure.cluster.x-k8s.io
|
|
spec:
|
|
conversion:
|
|
strategy: Webhook
|
|
webhook:
|
|
conversionReviewVersions: ["v1", "v1beta1"]
|
|
clientConfig:
|
|
# 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
|