-
Notifications
You must be signed in to change notification settings - Fork 236
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
Cannot specify jenkins-home
volumeMount for jenkins-master
container
#265
Comments
@Nuru sorry, but we can't do that. When we will allow this Jenkins will be mutable and this is not acceptable form the architecture point of view. We have to improve the backup and restore mechanism. |
@tomaszsek right now if I make a change to the Jenkins resource, nothing is restored and the backups start over from 1. That is pretty harsh. I would prefer that the full JENKINS_HOME is restored and the configuration as code is applied on top of it. Until then, I would prefer not to lose JENKINS_HOME in the first place. |
@Nuru I think the issue is somewhere else please create a separate issue with the details(operator version and Jenkins CR). BTW did you look at the operator logs? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still affecting you, just comment with any updates and we'll keep it open. Thank you for your contributions. |
Hello, thanks for your input. I've updated the docs in #608 |
Issue
In the CR spec, adding a
volumeMount
withname: jenkins-home
to the container namedjenkins-master
will result in a warning similar to the following:I personally was confused by this as my experience working with multiple containers in a pod led me to put the
volumeMount
in both, making this counter-intuitive to me and possibly other Kubernetes users.Suggestion
I suggest either checking for and overriding if that
volumeMount
is supplied in the spec, or adding to the documentation that it is created by default. The two places I think it would be relevant in the documention are:The text was updated successfully, but these errors were encountered: