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

Add support for puppetServer.extraConfigMaps #167

Open
tom-ph opened this issue Mar 15, 2023 · 1 comment
Open

Add support for puppetServer.extraConfigMaps #167

tom-ph opened this issue Mar 15, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@tom-ph
Copy link

tom-ph commented Mar 15, 2023

Use Case

Currently config maps can only be specified for entrypoint scripts and for puppetserver custom config files.
It would be very useful to also support extra configmaps.
For me the use case would be to add a custom autosign script, since autosign=true strategy is not suitable for a production environment.

Describe the Solution You Would Like

It should be possible to specify extraConfigMaps to embed as volume mounts in the puppetserver pods. An optional defaultMode key it is also important to allow making the configMap executable.

Describe Alternatives You've Considered

Currently I mount the configMap as an entrypoint script. This is not ideal because of the script location and of the fact that I had to edit the script to handle the first execution as entrypoint.

Additional Context

I will be happy to help with a pull request if needed.

@tom-ph tom-ph added the enhancement New feature or request label Mar 15, 2023
@toggetit
Copy link

toggetit commented Mar 16, 2023

Hello! This will be a very useful feature. Vote for it!
In my case I need to mount some additional files in various locations of puppetmaster pods (As I can see now it's possible to mount files only in /etc/puppetlab/puppetserver/conf.d/ via custom.configmaps). For example some Foreman-related stuff - example one, example two like a:
/etc/puppetlabs/puppet/node.rb
or
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/reports/foreman.rb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants