I am maintaining separate helm charts for all Pinot components. Most properties such as downloading certs from cert manager and adding cert to the trust store in the pinot container, I have been able to do.
Where i am getting tripped up is to load Pinot admin or other user credentials from AWS Secrets Manager. This is my flow:
- Helm install Pinot Controller as statefulset.
- Init container loads the certs and admin password from secrets manager
- Able to modify/overwrite cacerts but not able to inject the environment to admin password. Mainly due to all files in the container being owned by root. I could have a template for the configMap to overcome this, but that seems a bit wieldy.
I have seen references to "PINOT_CONTROLLER_ACCESS_CONTROL_PRINCIPALS_ADMIN_PASSWORD" which may be able to replace the latter of the two below. Am I on the right track ?
controller.admin.access.control.principals=admin controller.admin.access.control.principals.admin.password=
If not, what is the recommended best practice or guidance on how Pinot containers now and in the future plan to allow credentials configuration ?