You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the jenkins container is restarted, the Pod template configuration of k8s cloud is lost. The modifications made in the default mode are restored to the original ones, and the new ones are gone.
Version of Helm and Kubernetes
- Helm: v3.8.2
- Kubernetes: v1.27.11
Chart version
jenkins-5.0.20
What happened?
1. Do some k8s cloud Pod template configuration, such as modifying the default template or adding a new template
2. Install a plug-in and check the box to restart jenkins after the installation is complete.
3. After the installation is completed and jenkins restarts, check the k8s cloud Pod template configuration.
4. The Pod template configuration of k8s cloud is lost.
What you expected to happen?
No response
How to reproduce it
No response
Anything else we need to know?
Before jenkins restarts:
After restarting jenkins:
Storage class added in values.yaml
The text was updated successfully, but these errors were encountered:
I also encountered this problem! My jenkins_home and jenkins_cache are configured with local persistence, but the data is still lost after configuration
1. Do some k8s cloud Pod template configuration, such as modifying the default template or adding a new template
2. Install a plug-in and check the box to restart jenkins after the installation is complete.
3. After the installation is completed and jenkins restarts, check the k8s cloud Pod template configuration.
4. The Pod template configuration of k8s cloud is lost.
您期望发生什么?
没有反应
如何重现
没有反应
我们还需要了解什么吗?
Jenkins重启前:
重启jenkins后:
在 values.yaml 中添加存储类
I solved this problem by changing the defaultconfig parameter in values.yml to false
JCasC:
# -- Enables default Jenkins configuration via configuration as code plugin
defaultConfig: false
Describe the bug
When the jenkins container is restarted, the Pod template configuration of k8s cloud is lost. The modifications made in the default mode are restored to the original ones, and the new ones are gone.
Version of Helm and Kubernetes
Chart version
jenkins-5.0.20
What happened?
What you expected to happen?
No response
How to reproduce it
No response
Anything else we need to know?
Before jenkins restarts:
After restarting jenkins:
Storage class added in values.yaml
The text was updated successfully, but these errors were encountered: