Skip to content

Commit

Permalink
[WIP] Configure ODF for NESE storage
Browse files Browse the repository at this point in the history
Attempt to configure an ODF external storage cluster. It looks as if
the APIs have changed since we did this with 4.8, so we need to figure
out what impact this has on the required manifests.

x-branch: feature/odf
  • Loading branch information
larsks committed Jun 22, 2022
1 parent 023c830 commit 32aff74
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 1 deletion.
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:
- storagecluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: odf.openshift.io/v1
kind: StorageCluster
metadata:
name: ocs-external-storagecluster
spec:
externalStorage:
enable: true
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:
- storagesystem.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: odf.openshift.io/v1alpha1
kind: StorageSystem
metadata:
name: ocs-system
spec:
kind: storagecluster.ocs.openshift.io/v1
name: ocs-storagecluster
namespace: openshift-storage
6 changes: 6 additions & 0 deletions cluster-scope/bundles/odf-external/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:
- ../odf
- ../../base/odf.openshift.io/storagesystems/ocs-system
- ../../base/odf.openshift.io/storageclusters/ocs-external-storagecluster
2 changes: 1 addition & 1 deletion cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ resources:
- ../common
- ../../bundles/openshift-gitops
- ../../bundles/acm
- ../../bundles/odf
- ../../bundles/odf-external
- clusterversion.yaml

patches:
Expand Down

0 comments on commit 32aff74

Please sign in to comment.