Step1:

ARTIFACTORY: How to use Kaniko to build and deploy docker images through Jenkins available on a kubernetes environment

AuthorFullName__c
Prajyot Pawase
articleNumber
000005271
ft:sourceType
Salesforce
FirstPublishedDate
2022-05-17T10:44:45Z
lastModifiedDate
2024-03-10T07:43:58Z
VersionNumber
3
Create yaml file for the jenkins helm chart as below.
jnlp.yaml:
agent:
  enabled: true
  image: "jenkins/jnlp-agent-docker"
  tag: "latest"
  runAsUser: 0
  runAsGroup: 0
  volumes: 
   - type: HostPath
     hostPath: /var/run/docker.sock
     mountPath: /var/run/docker.sock
   - type: HostPath
     hostPath: /usr/bin/docker
     mountPath: /usr/bin/docker