Skip to content

Commit

Permalink
Merge pull request Mirantis#298 from eromanova/template-webhook
Browse files Browse the repository at this point in the history
Remove unused webhook configurations for templates
  • Loading branch information
Kshatrix authored Sep 12, 2024
2 parents 13da58b + 1cbcfcc commit 81413c4
Showing 1 changed file with 0 additions and 112 deletions.
112 changes: 0 additions & 112 deletions templates/provider/hmc/templates/webhooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,72 +50,6 @@ webhooks:
resources:
- managements
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
name: {{ include "hmc.webhook.serviceName" . }}
namespace: {{ include "hmc.webhook.serviceNamespace" . }}
path: /mutate-hmc-mirantis-com-v1alpha1-clustertemplate
failurePolicy: Fail
matchPolicy: Equivalent
name: mutation.clustertemplate.hmc.mirantis.com
rules:
- apiGroups:
- hmc.mirantis.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- clustertemplates
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
name: {{ include "hmc.webhook.serviceName" . }}
namespace: {{ include "hmc.webhook.serviceNamespace" . }}
path: /mutate-hmc-mirantis-com-v1alpha1-servicetemplate
failurePolicy: Fail
matchPolicy: Equivalent
name: mutation.servicetemplate.hmc.mirantis.com
rules:
- apiGroups:
- hmc.mirantis.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- servicetemplates
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
name: {{ include "hmc.webhook.serviceName" . }}
namespace: {{ include "hmc.webhook.serviceNamespace" . }}
path: /mutate-hmc-mirantis-com-v1alpha1-providertemplate
failurePolicy: Fail
matchPolicy: Equivalent
name: mutation.providertemplate.hmc.mirantis.com
rules:
- apiGroups:
- hmc.mirantis.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- providertemplates
sideEffects: None
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
Expand Down Expand Up @@ -193,50 +127,4 @@ webhooks:
resources:
- clustertemplates
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
name: {{ include "hmc.webhook.serviceName" . }}
namespace: {{ include "hmc.webhook.serviceNamespace" . }}
path: /validate-hmc-mirantis-com-v1alpha1-servicetemplate
failurePolicy: Fail
matchPolicy: Equivalent
name: validation.servicetemplate.hmc.mirantis.com
rules:
- apiGroups:
- hmc.mirantis.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
- DELETE
resources:
- servicetemplates
sideEffects: None
- admissionReviewVersions:
- v1
- v1beta1
clientConfig:
service:
name: {{ include "hmc.webhook.serviceName" . }}
namespace: {{ include "hmc.webhook.serviceNamespace" . }}
path: /validate-hmc-mirantis-com-v1alpha1-providertemplate
failurePolicy: Fail
matchPolicy: Equivalent
name: validation.providertemplate.hmc.mirantis.com
rules:
- apiGroups:
- hmc.mirantis.com
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
- DELETE
resources:
- providertemplates
sideEffects: None
{{- end }}

0 comments on commit 81413c4

Please sign in to comment.