Open sturivny opened 2 years ago
Hi, any updates on this?
Hi,
Not really a bug of the chart or jenkins image. Permission are just more strict on Openshift/OKD
You can use environment variable of the initContainer to be used by the plugin-installation-manager-tool to download and cache plugin to a writable location.
For example
initContainerEnv:
- name: CACHE_DIR
value: "/tmp/cache"
- name: PLUGIN_DIR
value: "/tmp/plugins"
CF : https://github.com/jenkinsci/plugin-installation-manager-tool#advanced-configuration
Best regards,
@jonesbusy Hi. This helps. Thank you for the solution. The issue can be closed.
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 Getting an error while deploying Helm charts to the OpenShift Error (Jenkins init pod):
Version of Helm and Kubernetes:
Helm Version:
OpenShift/Kubernetes Version:
Which version of the chart: CHART: jenkins-3.8.8 APP VERSION: 2.303.3
What happened: Got an error on OpenShift: AccessDeniedException: /.cache
What you expected to happen: App has been deployed successfully without any errors
How to reproduce it (as minimally and precisely as possible): Create a helm values file
jenkins-helm.yaml
:Deploy it to OpenShift:
Anything else we need to know: Updated Docker file fixes the issue:
Now when I put the updated image as the image to the helm values file it works!