Skip to content

Instantly share code, notes, and snippets.

@rthallisey
Last active October 31, 2019 17:43
Show Gist options
  • Select an option

  • Save rthallisey/13f74063226352aa06feba4554f184b3 to your computer and use it in GitHub Desktop.

Select an option

Save rthallisey/13f74063226352aa06feba4554f184b3 to your computer and use it in GitHub Desktop.

Revisions

  1. Ryan Hallisey revised this gist Oct 31, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion CNV-2.1-prod-yaml
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,7 @@ metadata:
    name: hco-operatorhub
    namespace: "openshift-cnv"
    spec:
    source: "hco-catalogsource-config"
    source: "redhat-operators"
    sourceNamespace: "openshift-marketplace"
    name: kubevirt-hyperconverged
    startingCSV: "kubevirt-hyperconverged-operator.v2.1"
  2. Ryan Hallisey revised this gist Oct 31, 2019. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions CNV-2.1-prod-yaml
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,9 @@
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
    name: openshift-cnv

    ---
    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
  3. Ryan Hallisey created this gist Oct 31, 2019.
    32 changes: 32 additions & 0 deletions CNV-2.1-prod-yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    ---
    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
    name: "openshift-cnv-group"
    namespace: "openshift-cnv"
    spec:
    targetNamespaces:
    - openshift-cnv

    ---
    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
    name: hco-operatorhub
    namespace: "openshift-cnv"
    spec:
    source: "hco-catalogsource-config"
    sourceNamespace: "openshift-marketplace"
    name: kubevirt-hyperconverged
    startingCSV: "kubevirt-hyperconverged-operator.v2.1"
    channel: "2.1"
    installPlanApproval: "automatic"

    ---
    apiVersion: hco.kubevirt.io/v1alpha1
    kind: HyperConverged
    metadata:
    name: hyperconverged-cluster
    namespace: "openshift-cnv"
    spec:
    BareMetalPlatform: true