-
Notifications
You must be signed in to change notification settings - Fork 899
overwritePluginsFromImage works not as expected #1153
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
Comments
@bmaehr Would you mind updating the exact steps to reproduce on the How to Reproduce It section? I want to be totally clear about this issue |
I would ask the other way round: Have you tried to add plugins to the image and add further plugins by the chart? If it is possible in some way, that would be an option for me. What I have done:
and added
to the values of the chart. |
@bmaehr I can't recreate your issue. Here are the steps I took:
FROM jenkins/jenkins:lts
RUN jenkins-plugin-cli --plugins \
ant:latest \
antisamy-markup-formatter:latest \
ansicolor:latest \
additionalPlugins:
- ansible:307.va_1f3ef06575a_
Result: |
@bmaehr If this issue is resolved, can you close it? Thanks |
I’m trying a similar approach by uploading the |
Describe the bug
When setting overwritePluginsFromImage=false I would expect that the plugins from image stay in their version but plugins from installPlugins or additionalPlugins are added. But that fails, because the "/usr/share/jenkins/ref/plugins" is Read-only file system.
In fact I just try to get a setup where a list of base plugins are downloaded while the docker build phase and then some additional plugins could be added through the chart. But I was not able to get this - IMHO not very special - use case to work
Version of Helm and Kubernetes
Chart version
4.12.1
What happened?
1. Add plugins to custom image by jenkins-plugin-cli 2. Use custom image in chart 3. Add additional plugins to installPlugins 4. Container is not starting up
What you expected to happen?
Have the plugins form the base image and from installPlugins or additionalPlugins
How to reproduce it
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: