diff --git a/kustomization/components/kubevirt-operator/README.md b/kustomization/components/kubevirt-operator/README.md new file mode 100644 index 0000000..ff2cb78 --- /dev/null +++ b/kustomization/components/kubevirt-operator/README.md @@ -0,0 +1,16 @@ +# Kubevirt Operator + +Dependencies: operator-lifecycle-manager + +This will install the [Kubevirt](https://operatorhub.io/operator/community-kubevirt-hyperconverged) and its CRDs. + +## Example Usage + +```yaml +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +components: + - https://github.com/marinatedconcrete/config/kustomization/components/kubevirt-operator +``` diff --git a/kustomization/components/kubevirt-operator/kustomization.yml b/kustomization/components/kubevirt-operator/kustomization.yml new file mode 100644 index 0000000..bf6e098 --- /dev/null +++ b/kustomization/components/kubevirt-operator/kustomization.yml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1alpha1 +kind: Component + +resources: + - subscription.yml diff --git a/kustomization/components/kubevirt-operator/subscription.yml b/kustomization/components/kubevirt-operator/subscription.yml new file mode 100644 index 0000000..57d58ae --- /dev/null +++ b/kustomization/components/kubevirt-operator/subscription.yml @@ -0,0 +1,11 @@ +--- +apiVersion: operators.coreos.com/v1alpha1 +kind: Subscription +metadata: + name: community-kubevirt-hyperconverged + namespace: operators +spec: + channel: stable + name: community-kubevirt-hyperconverged + source: operatorhubio-catalog + sourceNamespace: olm