Skip to content

Commit

Permalink
fix(chart): minor fixes in charts for v1alpha1 rollback
Browse files Browse the repository at this point in the history
Signed-off-by: Zespre Schmidt <[email protected]>
  • Loading branch information
starbops committed Feb 3, 2025
1 parent 42ccf5b commit 7d09620
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ metadata:
name: virtualmachinebmcs.virtualmachine.kubevirt.io
spec:
conversion:
strategy: Webhook
webhook:
clientConfig:
service:
name: kubevirtbmc-webhook-service
namespace: kubevirtbmc-system
path: /convert
port: 443
conversionReviewVersions:
- v1
strategy: None
group: virtualmachine.kubevirt.io
names:
kind: VirtualMachineBMC
Expand All @@ -26,7 +17,7 @@ spec:
singular: virtualmachinebmc
scope: Namespaced
versions:
- name: v1
- name: v1alpha1
schema:
openAPIV3Schema:
description: VirtualMachineBMC is the Schema for the virtualmachinebmcs API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ webhooks:
service:
name: {{ include "chart.name" . }}-webhook-service
namespace: {{ .Release.Namespace }}
path: /mutate-virtualmachine-kubevirt-io-v1-virtualmachinebmc
path: /mutate-virtualmachine-kubevirt-io-v1alpha1-virtualmachinebmc
failurePolicy: Fail
name: mvirtualmachinebmc.kb.io
rules:
- apiGroups:
- virtualmachine.kubevirt.io
apiVersions:
- v1
- v1alpha1
operations:
- CREATE
- UPDATE
Expand All @@ -47,14 +47,14 @@ webhooks:
service:
name: {{ include "chart.name" . }}-webhook-service
namespace: {{ .Release.Namespace }}
path: /validate-virtualmachine-kubevirt-io-v1-virtualmachinebmc
path: /validate-virtualmachine-kubevirt-io-v1alpha1-virtualmachinebmc
failurePolicy: Fail
name: vvirtualmachinebmc.kb.io
rules:
- apiGroups:
- virtualmachine.kubevirt.io
apiVersions:
- v1
- v1alpha1
operations:
- CREATE
- UPDATE
Expand Down

0 comments on commit 7d09620

Please sign in to comment.