0

I am implementing CICD with jenkins, Gitea and kaniko on Kubernetes cluster. Since the Jenkins is containerized, we have used kaniko to build and push the image to GCR registry. Now, I need to update the latest image tag in helm chart values file and install this with helm install on kubernetes cluster as a part of CD.

Somehow, I am not able to install Helm on jenkins container (it doenst allow root) or there is no helm plugin available in jenkins. How can I proceed with using helm in my CICD with containerized jenkins.

saurabh umathe
  • 315
  • 2
  • 17
  • Your build runs in a pod in jenkins? If so, you can directly use a helm docker image as a utility and run helm commands. OR you can use a docker image which has helm installed in your pod template. Posting your jenkinsfile will help people provide better support. – vijay v Oct 07 '20 at 06:05
  • @vijay, yes it runs in a pod in Jenkins. thanks, I would add helm installation step to template and try helm commands. – saurabh umathe Oct 12 '20 at 04:44
  • @vijay Did you fix that?How did you use helm command in jenkins pipeline? – Ali-Alrabi Mar 01 '21 at 12:20
  • 1
    we have created an image with jenkins, kubeclt and helm prebuilt in it. – saurabh umathe Mar 01 '21 at 12:56

0 Answers0