I want to use the ak/sk from a file, such as /auth/ak & /auth/sk.
I try to change the tenant-configuration.yaml
apiVersion: v1
kind: Secret
metadata:
name: {{ dig "tenant" "configSecret" "name" "" (.Values | merge (dict)) }}
type: Opaque
stringData:
config.env: |-
# export MINIO_ROOT_USER={{ .Values.tenant.configSecret.accessKey | quote }}
# export MINIO_ROOT_PASSWORD={{ .Values.tenant.configSecret.secretKey | quote }}
export MINIO_ROOT_USER=$(cat /auth/ak)
export MINIO_ROOT_PASSWORD=$(cat /auth/sk)
It doesn't work.