Skip to content

Commit

Permalink
Merge pull request #614 from computate/test-minio
Browse files Browse the repository at this point in the history
Adding 1Ti MinIO object storage to nerc-ocp-test
  • Loading branch information
computate authored Nov 27, 2024
2 parents 79db710 + abc57e1 commit db9c029
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: danni-ilab
components:
- ../../../../components/nerc-secret-store
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ resources:
- curator-system
- dex
- minio
- danni-ilab
2 changes: 2 additions & 0 deletions minio/overlays/nerc-ocp-test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- projects

configMapGenerator:
- name: minio-config
Expand All @@ -11,3 +12,4 @@ configMapGenerator:

patches:
- path: externalsecrets/patch-minio-admin-credentials.yaml
- path: persistentvolumeclaims/patch-pvc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minio-data
spec:
resources:
requests:
storage: 1Ti
15 changes: 15 additions & 0 deletions minio/overlays/nerc-ocp-test/projects/danni-ilab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: minio-bucket
namespace: danni-ilab
spec:
refreshInterval: "1h"
secretStoreRef:
name: nerc-secret-store
kind: SecretStore
target:
name: minio-bucket
dataFrom:
- extract:
key: nerc/nerc-ocp-test/minio/projects/danni-ilab
4 changes: 4 additions & 0 deletions minio/overlays/nerc-ocp-test/projects/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- danni-ilab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ auth:
- csi-wekafsplugin
- dex
- minio
- danni-ilab
name: secret-reader
policies:
- nerc-common-reader
Expand Down

0 comments on commit db9c029

Please sign in to comment.