mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 10:22:54 +02:00
Add minio external secret
This commit is contained in:
@@ -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
|
||||||
@@ -10,10 +10,10 @@ tenant:
|
|||||||
configuration:
|
configuration:
|
||||||
name: myminio-env-configuration
|
name: myminio-env-configuration
|
||||||
|
|
||||||
configSecret:
|
# configSecret:
|
||||||
name: myminio-env-configuration
|
# name: myminio-env-configuration
|
||||||
accessKey: minio
|
# accessKey: minio
|
||||||
secretKey: minio123
|
# secretKey: minio123
|
||||||
|
|
||||||
pools:
|
pools:
|
||||||
- servers: 1
|
- servers: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user