Files
k8scd/minio/minio-tenant-es.yaml
T
2024-09-11 11:49:54 +02:00

31 lines
713 B
YAML

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: minio-tenant-es
namespace: minio-tenant
spec:
refreshInterval: "15s"
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: minio-env-configuration
data:
- secretKey: config.env
remoteRef:
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