Skip to content

Commit

Permalink
Add minio operator to infra and obs cluster
Browse files Browse the repository at this point in the history
The NooBaa operator is failing to provide stable object storage for logs
and metrics. We will migrate logs and ACM metrics storage to MinIO.
This requires MinIO to be installed on the infra and obs clusters.
  • Loading branch information
computate committed Nov 4, 2024
1 parent 2da3c7b commit d7abd62
Show file tree
Hide file tree
Showing 9 changed files with 46 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: minio-operator
spec: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- operatorgroup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: minio-operator
namespace: minio-operator
spec: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- subscription.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: minio-operator
namespace: minio-operator
spec:
channel: stable
installPlanApproval: Automatic
name: minio-operator
source: certified-operators
sourceNamespace: openshift-marketplace
8 changes: 8 additions & 0 deletions cluster-scope/bundles/minio/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
nerc.mghpcc.org/bundle: minio
resources:
- ../../base/core/namespaces/minio-operator
- ../../base/operators.coreos.com/operatorgroups/minio-operator
- ../../base/operators.coreos.com/subscriptions/minio-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 @@ -12,6 +12,7 @@ resources:
- ../../bundles/patch-operator
- ../../bundles/external-secrets-clustersecretstore
- ../../bundles/multicluster-engine-operator
- ../../bundles/minio
- ../../bundles/grafana
- ../../base/core/namespaces/dex
- ../../base/core/namespaces/nerc-ocp-prod
Expand Down
1 change: 1 addition & 0 deletions cluster-scope/overlays/nerc-ocp-obs/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resources:
- ../../bundles/clusterissuer-http01
- ../../bundles/nerc-certificate-clusterissuers
- ../../bundles/external-secrets-clustersecretstore
- ../../bundles/minio
- ../../bundles/grafana
- ../../bundles/crunchy-postgres-operator
- ../../bundles/keycloak
Expand Down

0 comments on commit d7abd62

Please sign in to comment.