[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Carlos Sanchez commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token it would be easier if questions are asked in the jenkins-user mailing list the post issue is a known one, filed somewhere you don't need any credentials or service account name when running in k8s. The serviceaccount name you want to use is set when you launch the jenkins master in its pod configuration 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Found this article which says to copy the token from the secrets and paste as the secret text but when I did that and ran Test Connection it failed... I had to get that token and pipe to base64 -D to decode and then pasted that and connection successful. Also without using any credentials the connection was successful and I would believe that is because it's deployed from within k8s using helm stable/jenkins but the helm chart says to add the serviceaccount from helm status to Jenkins Credentials. https://github.com/helm/charts/blob/master/stable/jenkins/README.md (RBAC Section) 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen edited a comment on JENKINS-40717 Re: Enable authentication using Kubernetes service account token [https://medium.com/containerum/how-to-setup-ci-cd-workflow-for-node-js-apps-with-jenkins-and-kubernetes-360fd0499556] Found this article which says to copy the token from the secrets and paste as the secret text but when I did that and ran Test Connection it failed... I had to get that token and pipe to base64 -D to decode and then pasted that and connection successful.Also without using any credentials the connection was successful and I would believe that is because it's deployed from within k8s using helm stable/jenkins but the helm chart says to add the serviceaccount from helm status to Jenkins Credentials.[https://github.com/helm/charts/blob/master/stable/jenkins/README.md] (RBAC Section) 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Yeah I'm running jenkins from inside k8s so wouldn't the Kubernetes Service Account work? Nothing allows you to specify which service-account to use. I also just attached another screenshot showing POST error. I'm guessing this is because it's inside k8s? How do you get around this? 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen updated an issue Jenkins / JENKINS-40717 Enable authentication using Kubernetes service account token Change By: Chris Denneen Attachment: Screen Shot 2018-08-28 at 1.37.02 PM.png 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Carlos Sanchez commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token the other types read the token from filesystem when running inside k8s it's not the most obvious UX for sure 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token OK thanks... if the rest of those types are deprecated is there any reason they haven't been removed? 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Carlos Sanchez commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token You need to use the "Secret text" type and paste the token there 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Even trying OpenShift OAuth Token provides no field to paste Token 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Ok but as you can see from the attached screenshot there is no text field to paste that. 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Carlos Sanchez commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token you don't need a serviceaccount name to connect to k8s, just the token 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen updated an issue Jenkins / JENKINS-40717 Enable authentication using Kubernetes service account token Change By: Chris Denneen Attachment: Screen Shot 2018-08-28 at 12.03.43 PM.png 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Chris Denneen reopened an issue Carlos Sanchez I agree with Nitin Padalia When you add this type of Kubernetes Service Account in the Jenkins UI there is no Value field so it shows "Secret text" and you have no control over the value to add the serviceaccount name used or add a token needed for that serviceaccount name. Anyway to validate with 1.12.0 and 1.12.4 with LTS 2.121.3 Jenkins / JENKINS-40717 Enable authentication using Kubernetes service account token Change By: Chris Denneen Resolution: Fixed Status: Closed Reopened 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. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40717) Enable authentication using Kubernetes service account token
Title: Message Title Nitin Padalia edited a comment on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Hi [~csanchez] I am not able to see any token value which I can provide using this plugin.It is automatically creating some token value. I am using latest version of kubernetes-credentials-plugin.I Jenkins master is outside of Kubernetes cluster. Am I doing something wrong? 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-40717) Enable authentication using Kubernetes service account token
Title: Message Title Nitin Padalia commented on JENKINS-40717 Re: Enable authentication using Kubernetes service account token Hi Carlos Sanchez I am not able to see any token value which I can provide using this plugin. It automatically creating some token value. 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.