launchdarkly / ld-relay-helm

A helm chart to ease deployment of the LaunchDarkly Relay Proxy
Other
6 stars 12 forks source link

fix: Allow multiple secrets to be mounted as volumes #37

Closed keelerm84 closed 1 year ago

keelerm84 commented 1 year ago

When specifying a volume on a container, you cannot share a mountPath. We were incorrectly trying to do this if more than 1 secret was to be mounted as a volume.

Our documentation states that all secret volumes will be mounted under /mnt/secret. And indeed, if you attempted to mount a single secret under the name key, you would find the file at /mnt/secret/key.

To keep this consistent, we are updating the template to generate a single projected volume1 which contains all the secret values, allowing us to continue mounting multiple secrets relative to /mnt/secret.

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #202183: Fix issue with helm secret mounts.