-
Notifications
You must be signed in to change notification settings - Fork 99
env var valueFrom.secretKeyRef not expanded in other env var or args #677
Comments
The AKS quick-start guidance has an example for installing WordPress by Helm chart: https://github.com/Azure/open-service-broker-azure/blob/master/docs/quickstart-aks.md Is it what you look for? |
Not exatcly. I still cant find a way how i pass the generated secret key value into an java enviroment variable or arg param . I can't use the same value as used in the param "URI" of the secret value, but need to prefix "jdbc:" before i pass it in. |
Does something like this work? I found https://stackoverflow.com/questions/40889743/string-operation-on-env-variables-on-kubernetes, it seems string operator is doable. |
No it actually does not, as i reported on Azure/AKS#836 |
Oh, sorry for missing the thread. Then, AFAIK we don't have a good solution for this right now :(. |
I have the same problem. The generated secret containing credentials for provisioned Mysql database does not contain a key with the JDBC url. There is just keys host, port, username, password, database, url but not jdbcUrl as it is the case for MSSQL databases. |
This is Nov 2020 and this basic Kubernetes functionality still does not work in AKS |
Is there and hint how to use the created secrets of the binding towards applications running in pods.?
All for me known ways seems not work on AKS- please give advice.
Azure/AKS#836
The text was updated successfully, but these errors were encountered: