diff --git a/charts/kubevirt-manager/Chart.yaml b/charts/kubevirt-manager/Chart.yaml index 43b10ee4..799bf2de 100644 --- a/charts/kubevirt-manager/Chart.yaml +++ b/charts/kubevirt-manager/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubevirt-manager description: KubeVirt Web UI to manage the lifecycle of Virtual Machines and more type: application -version: 0.0.2 +version: 0.0.3 appVersion: "1.4.2" home: https://github.com/christianhuth/helm-charts icon: https://yt3.googleusercontent.com/oTCjudmpLXspEh3g5VraUfZ_1_PZxXXI6kgorNCI9kEqnDICrWEkNUmVGkEtA6WfRbT0GCzjeA=s160-c-k-c0x00ffffff-no-rj @@ -13,8 +13,8 @@ sources: - https://github.com/kubevirt-manager/kubevirt-manager annotations: artifacthub.io/changes: | - - kind: changed - description: default security context to satisfy pod security standard + - kind: added + description: crd for images.kubevirt-manager.io artifacthub.io/screenshots: | - title: Manage Virtual Machines lifecycle. Support for operations like start/stop/reboot, as well as pause/resume and scaling, directly from the Web Interface. url: https://raw.githubusercontent.com/kubevirt-manager/kubevirt-manager/refs/heads/main/images/screenshot_01.png diff --git a/charts/kubevirt-manager/templates/kubevirt-manager/crd.yaml b/charts/kubevirt-manager/templates/kubevirt-manager/crd.yaml new file mode 100644 index 00000000..6a16b0cf --- /dev/null +++ b/charts/kubevirt-manager/templates/kubevirt-manager/crd.yaml @@ -0,0 +1,78 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: images.kubevirt-manager.io +spec: + group: kubevirt-manager.io + versions: + - name: v1 + served: true + storage: true + schema: + openAPIV3Schema: + type: object + properties: + spec: + type: object + x-kubernetes-validations: + - rule: "self.type.matches('^(http)|(gcs)|(s3)|(registry)|(pvc)$')" + message: "spec.type should be: http, registry, s3, gcs, pvc" + required: + - type + - readableName + oneOf: + - required: ["http"] + - required: ["registry"] + - required: ["s3"] + - required: ["gcs"] + - required: ["pvc"] + properties: + type: + type: string + credentials: + type: string + readableName: + type: string + readableDescription: + type: string + http: + type: object + properties: + url: + type: string + registry: + type: object + properties: + url: + type: string + s3: + type: object + properties: + url: + type: string + gcs: + type: object + properties: + url: + type: string + pvc: + type: object + properties: + name: + type: string + namespace: + type: string + additionalPrinterColumns: + - name: "Type" + type: "string" + jsonPath: ".spec.type" + - name: Age + type: date + jsonPath: .metadata.creationTimestamp + scope: Namespaced + names: + plural: images + singular: image + kind: Image + shortNames: + - img