5cf6528dee
Version 0.3.1 has been used as a basis for this function Closes: #161 Change-Id: I7c15fdff0a0cb2ba90295d0a403f737ee4398deb
131 lines
3.1 KiB
YAML
131 lines
3.1 KiB
YAML
|
|
---
|
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: MutatingWebhookConfiguration
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: mutating-webhook-configuration
|
|
webhooks:
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /mutate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3cluster
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: default.metal3cluster.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3clusters
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /mutate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3machinetemplate
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: default.metal3machinetemplate.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3machinetemplates
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /mutate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3machine
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: default.metal3machine.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3machines
|
|
|
|
---
|
|
apiVersion: admissionregistration.k8s.io/v1beta1
|
|
kind: ValidatingWebhookConfiguration
|
|
metadata:
|
|
creationTimestamp: null
|
|
name: validating-webhook-configuration
|
|
webhooks:
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /validate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3cluster
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: validation.metal3cluster.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3clusters
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /validate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3machinetemplate
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: validation.metal3machinetemplate.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3machinetemplates
|
|
- clientConfig:
|
|
caBundle: Cg==
|
|
service:
|
|
name: webhook-service
|
|
namespace: system
|
|
path: /validate-infrastructure-cluster-x-k8s-io-v1alpha3-metal3machine
|
|
failurePolicy: Fail
|
|
matchPolicy: Equivalent
|
|
name: validation.metal3machine.infrastructure.cluster.x-k8s.io
|
|
rules:
|
|
- apiGroups:
|
|
- infrastructure.cluster.x-k8s.io
|
|
apiVersions:
|
|
- v1alpha3
|
|
operations:
|
|
- CREATE
|
|
- UPDATE
|
|
resources:
|
|
- metal3machines
|