I am trying to deploy Jenkins using Helm on a Kubernetes Cluster behind a firewall. I have downloaded the Jenkins image and copied it to our internal repo. I am able to bring up Jenkins using this image from the internal repo. Is there a way to do the same for Plugins as well.
I am having hard time with plugin installation offline. I don't want to manually upload the .hpi files into the container every time or from the GUI. I am looking for more of an automated way where I can tell Jenkins which repo/location to look for the Jenkins plugins as well.
Typically we mention the plugins in the "installPlugins" section of values.yaml file, like below:
installPlugins:
- kubernetes:1.18.2
Is there a way I can provide our entire repo/location path instead like:
installPlugins:
- http:MY_INTERNAL_REPO/kubernetes:1.18.2
Basically, I am ok with downloading the plugins and copying them to a specific location. But I want helm to pick up plugins from this internal location automatically.