Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/kubevirtbmc/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: kubevirtbmc
version: 0.6.0
version: 0.7.0
description: A Helm chart for KubeVirtBMC
type: application
keywords:
Expand All @@ -20,4 +20,4 @@ maintainers:
url: https://www.zespre.com
- name: anishbista60
email: anishbista053@gmail.com
appVersion: v0.9.0
appVersion: v0.10.0
45 changes: 39 additions & 6 deletions charts/kubevirtbmc/crds/bmc.kubevirt.io_virtualmachinebmcs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.19.0
controller-gen.kubebuilder.io/version: v0.21.0
name: virtualmachinebmcs.bmc.kubevirt.io
spec:
group: bmc.kubevirt.io
Expand All @@ -27,8 +27,8 @@ spec:
- jsonPath: .status.clusterIP
name: CLUSTERIP
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: READY
- jsonPath: .status.conditions[?(@.type=='ServiceReady')].status
name: SERVICEREADY
type: string
name: v1beta1
schema:
Expand Down Expand Up @@ -56,7 +56,7 @@ spec:
description: VirtualMachineBMCSpec defines the desired state of VirtualMachineBMC.
properties:
authSecretRef:
description: Reference to the Secret containing IPMI/Redfish credentials.
description: Reference to the Secret containing IPMI/Redfish credentials
properties:
name:
default: ""
Expand All @@ -76,8 +76,35 @@ spec:
description: Enabled toggles the IPMI simulator.
type: boolean
type: object
service:
description: BMC Service configuration
properties:
annotations:
additionalProperties:
type: string
description: Annotations to apply to the service
type: object
labels:
additionalProperties:
type: string
description: Additional labels to apply to the service
type: object
type:
default: ClusterIP
description: Type of service
enum:
- ClusterIP
- NodePort
- LoadBalancer
type: string
type: object
storageClassName:
description: StorageClassName is the StorageClass for the DataVolume
created on virtual media insert; unset falls back to the cluster
default.
type: string
virtualMachineRef:
description: Reference to the VM to manage.
description: Reference to the VM to manage
properties:
name:
default: ""
Expand All @@ -90,6 +117,9 @@ spec:
type: string
type: object
x-kubernetes-map-type: atomic
required:
- authSecretRef
- virtualMachineRef
type: object
status:
description: VirtualMachineBMCStatus defines the observed state of VirtualMachineBMC.
Expand Down Expand Up @@ -135,7 +165,7 @@ spec:
- mode
type: object
clusterIP:
description: IP address exposed by the BMC service
description: IP address assigned to the ClusterIP Type BMC service
type: string
conditions:
description: List of current conditions (e.g., Ready)
Expand Down Expand Up @@ -194,6 +224,9 @@ spec:
- type
type: object
type: array
loadBalancerIP:
description: IP address assigned to the LoadBalancer Type BMC service
type: string
type: object
type: object
served: true
Expand Down
12 changes: 12 additions & 0 deletions charts/kubevirtbmc/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@ rules:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand Down
Loading