[JIRA] (JENKINS-50236) Add documentation on how to pass through docker configuration
Title: Message Title Jesse Glick assigned an issue to Unassigned Jenkins / JENKINS-50236 Add documentation on how to pass through docker configuration Change By: Jesse Glick Assignee: Carlos Sanchez Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189262.1521301764000.13138.1563306227710%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50236) Add documentation on how to pass through docker configuration
Title: Message Title Carlos Sanchez commented on JENKINS-50236 Re: Add documentation on how to pass through docker configuration There is an example using docker registry secrets with kaniko https://github.com/jenkinsci/kubernetes-plugin/blob/master/examples/kaniko.groovy if you want to open a PR on how to improve the docs... Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50236) Add documentation on how to pass through docker configuration
Title: Message Title Matt L commented on JENKINS-50236 Re: Add documentation on how to pass through docker configuration Looks like I misunderstood where the image-pull-secret is being stored. It appears my K8S workers do not have a /root/.docker/config.json file so it makes sense the mount doesn't work. I think it would still be good to document the recommended process for passing in docker login credentials. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-50236) Add documentation on how to pass through docker configuration
Title: Message Title Matt L updated an issue Jenkins / JENKINS-50236 Add documentation on how to pass through docker configuration Change By: Matt L I was using secretEnv previously to pass in credentials for my docker repository as environment vars from a K8S secret in a scripted syntax job. This was working before the most recent plugin update and I just used the ENV in a docker login script. Originally I wanted to use the image-pull-secret to just mount a config.json file at /root/.docker/config.json but that also didn't work as I think the plugin doesn't know how to mount a kubernetes.io/dockerconfigjson type. My final attempt was to pass the host volume at /root/.docker into the guest which also didn't work. I imagine others will want to pass the host docker config in since they are already using the docker.sock socket. {code:java}hostPathVolume(hostPath: '/root/.docker', mountPath: '/root/.docker'){code} Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this
[JIRA] (JENKINS-50236) Add documentation on how to pass through docker configuration
Title: Message Title Matt L created an issue Jenkins / JENKINS-50236 Add documentation on how to pass through docker configuration Issue Type: Improvement Assignee: Carlos Sanchez Components: kubernetes-plugin Created: 2018-03-17 15:49 Priority: Minor Reporter: Matt L I was using secretEnv previously to pass in credentials for my docker repository as environment vars from a K8S secret in a scripted syntax job. This was working before the most recent plugin update and I just used the ENV in a docker login script. Originally I wanted to use the image-pull-secret to just mount a config.json file at /root/.docker/config.json but that also didn't work as I think the plugin doesn't know how to mount a kubernetes.io/dockerconfigjson type. My final attempt was to pass the host volume at /root/.docker into the guest which also didn't work. I imagine others will want to pass the host docker config in since they are already using the docker.sock socket. Add Comment