puppetlabs / puppetserver-helm-chart

The Helm Chart for Puppet Server
Apache License 2.0
52 stars 56 forks source link

puppetserver extraSecrets not mounted in the puppetServer pod #166

Open tommaso-fougier-primeur opened 1 year ago

tommaso-fougier-primeur commented 1 year ago

Describe the Bug

When specified the puppetServer.extraSecrets key in the values.yaml file, the secrets are not mounted as volumes and are not between environment variables

Expected Behavior

The secrets should be correctly mounted in the /var/run/secrets path, or to a custom path written in the path key of the secret in the values.yaml file

Steps to Reproduce

Steps to reproduce the behavior:

  1. Populate the puppetServer.extraSecrets key in the values.yaml file
  2. Install the chart

Environment

Additional Context

The problem is in the puppetserver-deployment-masters.yaml template file. The secrets are specified in the volumes section, but they're not specified in the volumeMounts section.