Recognize iam auth database login
Is this a request for help?: No
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: NA
Which chart: jfrog/artifactory
What happened: Unused values can crash the artifactory pod
What you expected to happen: Values not needed are not required
How to reproduce it (as minimally and precisely as possible): Deploy the chart using Google SQL IAM auth
Anything else we need to know:
Hi @kishubhatta ,
Can you kindly add some details about your use case and why you are seeking JFrog to implement support for IAM database authentication?
@peleduri you don't need to support IAM db auth. You only need to gracefully handle the case where the helm value for password is not specified. Currently, the artifactory application simply crashes if one does not specify password value. One needs to set some dummy value, even when using IAM auth and cloud sql proxy sidecar.
@kishubhatta can you please share the reproducible steps
@chukka it is in the description.
This works already. I'm using a cloud-sql-proxy sidecar and then just passing in db-user (no password) to connect with the IAM GCP service account.
Although, it might be a nice feature to use the CloudSQL JDBC Socket Factory in place of the MySQL driver. No sidecar needed then.