Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not mount Volume to sidecar only #31151

Open
hket-tommyluk opened this issue Dec 24, 2024 · 1 comment
Open

Can not mount Volume to sidecar only #31151

hket-tommyluk opened this issue Dec 24, 2024 · 1 comment
Assignees
Labels
in-progress nginx tech-issues The user has a technical issue about an application

Comments

@hket-tommyluk
Copy link

hket-tommyluk commented Dec 24, 2024

Name and Version

bitnami/nginx 18.3.1

What architecture are you using?

None

What steps will reproduce the bug?

  1. Use the nginx helm chart.
  2. In values.yaml, apply the custom parameters in the next part.
  3. Render the helm chart

Are you using any custom parameters or values?

values.yaml:

sidecars: |-
  - volumeMounts:
      - name: vol
        mountPath: /vol
    //...

extraVolumes: |-
  - name: vol
    configMap:
      name: cm

What is the expected behavior?

Successfully render templates

What do you see instead?

This should be a valid usage but the validation in NOTES.txt is blocking me from doing this.

Error: execution error at (nginx/templates/NOTES.txt:71:4): 
VALUES VALIDATION:
nginx: missing-extra-volume-mounts
    You specified extra volumes but not mount points for them. Please set
    the extraVolumeMounts value

Additional information

See also _helpers.tpl L105-L112

@hket-tommyluk hket-tommyluk added the tech-issues The user has a technical issue about an application label Dec 24, 2024
@github-actions github-actions bot added the triage Triage is needed label Dec 24, 2024
@github-actions github-actions bot removed the triage Triage is needed label Dec 24, 2024
@github-actions github-actions bot assigned dgomezleon and unassigned carrodher Dec 24, 2024
@dgomezleon
Copy link
Member

Hi @hket-tommyluk

Would you like to contribute by adapting the helpers? The Bitnami team would be excited to review your submission and offer feedback. You can find the contributing guidelines here.

Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress nginx tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

3 participants