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

[FEATURE_REQUEST] Expose deployment volume mounts in helm chart values file #1701

Open
bassplay3r opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change

Comments

@bassplay3r
Copy link

Is your feature request related to a problem? If so, please describe.

I would like to consume your chart by wrapping your chart in mine using helm dependencies and configure how the deployment mounts the page configmaps using the helm chart's values file.

Describe the solution you'd like

Is there some way this code can be abstracted to the helm chart's values file

volumeMounts:
            {{ if .Values.static.enabled }}
            - mountPath: /app/user-data/conf.yml
              subPath: conf.yml
              name: {{ include "dashy.fullname" . }}-conf
            - mountPath: /app/user-data/conf2.yml
              subPath: conf2.yml
              name: {{ include "dashy.fullname" . }}-conf
            - mountPath: /app/user-data/conf3.yml
              subPath: conf3.yml
              name: {{ include "dashy.fullname" . }}-conf
            - mountPath: /app/user-data/conf4.yml
              subPath: conf4.yml
              name: {{ include "dashy.fullname" . }}-conf
            {{ end }}
configMap:
            name: {{ include "dashy.fullname" . }}-conf
            items:
              - key: conf
                path: conf.yml
              - key: conf2
                path: conf2.yml
              - key: conf3
                path: conf3.yml
              - key: conf4
                path: conf4.yml

Priority

Medium (Would be very useful)

Is this something you would be keen to implement

Maybe

@bassplay3r bassplay3r added the 🦄 Feature Request [ISSUE] Suggestion for new feature, update or change label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦄 Feature Request [ISSUE] Suggestion for new feature, update or change
Projects
None yet
Development

No branches or pull requests

2 participants