Skip to content

Commit

Permalink
Install OpenShift Data Foundation (ODF, née OCS)
Browse files Browse the repository at this point in the history
We need ODF in order to support persistent volumes.

This commit only installs the operator, but does not configure
storage.

x-branch: feature/odf
  • Loading branch information
larsks committed Jun 22, 2022
1 parent f7e42c3 commit 2187189
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: Namespace
metadata:
name: openshift-storage
spec: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-storage
resources:
- operatorgroup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: openshift-storage
spec:
targetNamespaces:
- openshift-storage
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: openshift-storage
resources:
- subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: odf-operator
spec:
channel: stable-4.10
installPlanApproval: Automatic
name: odf-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
6 changes: 6 additions & 0 deletions cluster-scope/bundles/odf/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/core/namespaces/openshift-storage
- ../../base/operators.coreos.com/operatorgroups/openshift-storage
- ../../base/operators.coreos.com/subscriptions/odf-operator
1 change: 1 addition & 0 deletions cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ resources:
- ../common
- ../../bundles/openshift-gitops
- ../../bundles/acm
- ../../bundles/odf
- clusterversion.yaml

0 comments on commit 2187189

Please sign in to comment.