diff --git a/minio/minio-tenant-es.yaml b/minio/minio-tenant-es.yaml new file mode 100644 index 0000000..afb80c0 --- /dev/null +++ b/minio/minio-tenant-es.yaml @@ -0,0 +1,27 @@ +apiVersion: external-secrets.io/v1beta1 +kind: ExternalSecret +metadata: + name: minio-tenant-es +spec: + refreshInterval: "15s" + secretStoreRef: + name: vault-backend + kind: ClusterSecretStore + target: + name: myminio-env-configuration + dataFrom: + - key: minio-tenant-root + property: config.env + + # # metadataPolicy to fetch all the labels in JSON format + # - secretKey: tags + # remoteRef: + # metadataPolicy: Fetch + # key: foo + + # # metadataPolicy to fetch a specific label (dev) from the source secret + # - secretKey: developer + # remoteRef: + # metadataPolicy: Fetch + # key: foo + # property: dev \ No newline at end of file diff --git a/minio/values-tenant.yaml b/minio/values-tenant.yaml index 87d1b64..4229a2a 100644 --- a/minio/values-tenant.yaml +++ b/minio/values-tenant.yaml @@ -10,10 +10,10 @@ tenant: configuration: name: myminio-env-configuration - configSecret: - name: myminio-env-configuration - accessKey: minio - secretKey: minio123 + # configSecret: + # name: myminio-env-configuration + # accessKey: minio + # secretKey: minio123 pools: - servers: 1