camunda-community-hub / camunda-7-community-helm

Camunda public Kubernetes Helm repo and charts
Apache License 2.0
39 stars 38 forks source link

Use Helm values reference when referencing secret keys #15

Closed Sonny78 closed 2 years ago

Sonny78 commented 2 years ago

I would like to use the zalando postgres operator to set up a postgresql database that will be referenced by camunda.

This operator already creates secrets for specific db users. The secret keys are "username" and "password" (Not DB_USERNAME and DB_PASSWORD).

Is it possible for you to update the following lines and reference an entry of the .Values file so that I can overwrite it and reuse the generated zalando operator secret?

https://github.com/camunda-community-hub/camunda-helm/blob/f71314c5d89ed808a107048341bcd7641f3177ed/charts/camunda-bpm-platform/templates/deployment.yaml#L56

https://github.com/camunda-community-hub/camunda-helm/blob/f71314c5d89ed808a107048341bcd7641f3177ed/charts/camunda-bpm-platform/templates/deployment.yaml#L61

aabouzaid commented 2 years ago

@Sonny78 Thanks for your suggestion, totally makes sense. I was planning to add it, and now it's available in camunda-bpm-platform-1.2.0 by the PR no. #17

Please try it and if everything works as expected you can close the issue. Best

Sonny78 commented 2 years ago

works as expected. Thanks for the quick update