forked from OCP-on-NERC/nerc-ocp-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add minio to nerc-ocp-obs cluster
Signed-off-by: Dheeraj<[email protected]>
- Loading branch information
1 parent
db9c029
commit 370646a
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
minio/overlays/nerc-ocp-obs/externalsecrets/patch-minio-admin-credentials.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: minio-admin-credentials | ||
namespace: minio | ||
spec: | ||
dataFrom: | ||
- extract: | ||
key: nerc/nerc-ocp-obs/minio/minio-admin-credentials |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Documentation: https://min.io/docs/minio/linux/reference/minio-server/settings/iam/openid.html | ||
|
||
MINIO_IDENTITY_OPENID_CONFIG_URL=https://dex-dex.apps.ocp-obs.nerc.mghpcc.org/.well-known/openid-configuration | ||
MINIO_IDENTITY_OPENID_CLIENT_ID=minio | ||
MINIO_IDENTITY_OPENID_REDIRECT_URI_DYNAMIC=on | ||
|
||
# This tells minio to look up policy names in the "groups" claim (so e.g. if | ||
# someone in the "nerc-ops" group logs in, minio will look for a "nerc-ops" | ||
# policy to apply). A person cannot log in if there is no policy matches any of | ||
# the claim values. | ||
MINIO_IDENTITY_OPENID_CLAIM_NAME=groups |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../../base | ||
|
||
configMapGenerator: | ||
- name: minio-config | ||
namespace: minio | ||
envs: | ||
- files/minio-config.env | ||
|
||
patches: | ||
- path: externalsecrets/patch-minio-admin-credentials.yaml |