Skip to content

helm/v2-alpha: No support for configurable volumes/volumeMounts in generated charts #5485

@asergeant01

Description

@asergeant01

What do you want to happen?

I want to provide and load secrets to the container through volumes and volumeMounts which is a widely used approach.

This would be achieved by using the already configurable args to provide the file path to the controller.

manager:

  args:
    - --leader-elect
    - --health-probe-bind-address=:8081
    - --super-secret-configuration-file=/etc/my-secrets

but also allowing the following amendments:

# ... existing config (replicas, image, env, etc.) ...

  ## Additional volume mounts for the manager container
  ## These are in addition to webhook/metrics volumes which are handled automatically
  ##
  additionalVolumeMounts: []
    # - name: custom-volume
    #   mountPath: /etc/my-secrets
    #   readOnly: true

  ## Additional volumes for the manager pod
  ## These are in addition to webhook/metrics volumes which are handled automatically
  ##
  additionalVolumes: []
    # - name: custom-volume
    #    secret:
    #      name: super-secrets

Extra Labels

No response

Metadata

Metadata

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions