Open bassplay3r opened 2 years ago
FYI if I edit the statefulset after deployment and correct the mountpoints by removing the /keystore.jks from it, it works
@bassplay3r Could you create a PR for it? The problem should be here https://github.com/jenkinsci/helm-charts/blob/23695c9/charts/jenkins/templates/jenkins-controller-statefulset.yaml#L228-L230. I have not checked if we have a unit test for it. If not it would be great to add one.
I'm happy to create a PR but I'm a unittest n00b so may need some help there
So I tried to create a branch so I could create a PR from it, which is the only flow I know, and I'm not allow to push to the repo
@bassplay3r to contribute you'll have to fork this repository, create a branch on your fork, commit your changes and push them, then you'll be able to create a pull request on this repository.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.
Describe the bug I'm moving from the version 2 of the chart to version 3. I've noticed the keystore mountpoint has changed in the tpl which breaks controller pod startup
Version of Helm and Kubernetes:
Helm Version:
Kubernetes Version:
Which version of the chart: jenkins-3.8.3.tgz
What happened: Jenkins controller pod fails to start
I'm seeing the mountpoint includes the filename keystore.jks,
This causes the keystore path of /var/jenkins_keystore/keystore.jks to be a directory. The keystore is then accessible via /var/jenkins_keystore/keystore.jks/..data/keystore.jks
Trying to use the expect path of /var/jenkins_keystore/keystore.jks returns a failure
What you expected to happen: I would expect the mountpoint to be /var/jenkins_keystore so the pod could access the keystore as /var/jenkins_keystore/keystore.jks
How to reproduce it (as minimally and precisely as possible): Create a keystore Add to the charts values file
Deploy the chart run the keytool commands previously stated
Anything else we need to know: