57a543478c
Adding Deployment manifests and README.md Relates-To-Issue: #78 Change-Id: I9fd1aa39a19bd1d60bdbed826016aeb0786bb188 Co-Authored-By: Ashu Kumar <ashughorla@gmail.com>
18 lines
630 B
YAML
18 lines
630 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: hardwareclassifications.metal3.io
|
|
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
|