Closed alex-tw-lam closed 2 years ago
Thanks @alex-tw-lam for pointing this out.
You are right, the dots create the problems with environment variable names if all the Secret properties are mapped to environment variables. It's still possible to reference the properties individually:
env:
- name: "CONNECTION_STRING"
valueFrom:
secretKeyRef:
name: test-atlas-operator-project-test-cluster-theuser
key: connectionString.standardSrv
I've created an internal ticket to track this
Docs updated -> resolved
Variables with dot are mapped to app via the envFromSecret
Secret created by operator
Binding from app
Actual variable available from app, both connectionString.standard and connectionString.standardSrv are missing