Hi Team, What is the ideal way to pass configurati...
# troubleshooting
d
Hi Team, What is the ideal way to pass configuration to Flink using Native Kubernetes, For Eg: I am connecting to a database and the url, username password has to come from configuration. Also these values are environment specific dev,qa,prod. What is the ideal way to handle this ? Also how do I read the configuration inside the job (java Example) ? Appreciate any help on this. Thanks.
g
probably your cloud provider's service (like Amazon KMS, Azure Vault, Google Key Management) or hashicorp's vault can be a good option for k8s
d
Thanks @Giannis Polyzos for the response. Like there is an option to provide secrets as
Copy code
-Dkubernetes.env.secretKeyRef
Do we have something similar for configMapKeyRef as well ? I am looking to remove all the configurations from the code and also avoiding to give values in the flink run-application command. Thanks