From 93d10efbac3ac2884a8c3f1a03f5adf6af90827b Mon Sep 17 00:00:00 2001 From: William Petit Date: Fri, 3 Feb 2023 12:39:13 +0100 Subject: [PATCH] feat(minio-operator): add tenant kustomize configuration --- .../minio/configurations/tenants.minio.min.io.yaml | 14 ++++++++++++++ base/minio/kustomization.yaml | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 base/minio/configurations/tenants.minio.min.io.yaml diff --git a/base/minio/configurations/tenants.minio.min.io.yaml b/base/minio/configurations/tenants.minio.min.io.yaml new file mode 100644 index 0000000..8a2b60a --- /dev/null +++ b/base/minio/configurations/tenants.minio.min.io.yaml @@ -0,0 +1,14 @@ +--- +nameReference: +- kind: Secret + fieldSpecs: + - path: spec/credsSecret/name + kind: Tenant +- kind: Secret + fieldSpecs: + - path: spec/configuration/name + kind: Tenant +- kind: Secret + fieldSpecs: + - path: spec/users/name + kind: Tenant \ No newline at end of file diff --git a/base/minio/kustomization.yaml b/base/minio/kustomization.yaml index c33be7a..87008e5 100644 --- a/base/minio/kustomization.yaml +++ b/base/minio/kustomization.yaml @@ -7,4 +7,7 @@ commonAnnotations: operator.min.io/support: "https://subnet.min.io" resources: - - github.com/minio/operator/resources \ No newline at end of file + - github.com/minio/operator/resources + +configurations: + - ./configurations/tenants.minio.min.io.yaml \ No newline at end of file