Skip to content

Commit

Permalink
add: minio overlay - known secret
Browse files Browse the repository at this point in the history
  • Loading branch information
codekow committed Nov 29, 2023
1 parent bc69cd4 commit 9a41bdb
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$patch: delete
apiVersion: batch/v1
kind: Job
metadata:
name: create-minio-root-user
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$patch: delete
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: data-connection-setup
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$patch: delete
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: minio-secrets
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$patch: delete
apiVersion: v1
kind: ServiceAccount
metadata:
name: minio-manage
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ../../base
- secret.yaml

patches:
- path: exclude-job.yaml
- path: exclude-rb-connect.yaml
- path: exclude-rb-secret.yaml
- path: exclude-sa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
apiVersion: v1
kind: Secret
metadata:
name: minio-root-user
type: Opqaue
stringData:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin

0 comments on commit 9a41bdb

Please sign in to comment.