Giter VIP home page Giter VIP logo

Comments (5)

danielalejandrohc avatar danielalejandrohc commented on July 20, 2024

OpenShiftTokenCredentials was ment to use for the Openshift plugin, If you need to use regular the token out of it why you don't use it as Secret Text?

from jenkins-client-plugin.

maxt avatar maxt commented on July 20, 2024

Understand it. The point is that our huge pipeline partially uses jenkins-client-plugin for openshift deployment and partially - it uses ansible playbooks for the same task (k8s plugin). It would be really great to have the same credential for both approaches. Historically, it was custom OpenShiftTokenCredentials.

from jenkins-client-plugin.

akram avatar akram commented on July 20, 2024

@maxt the relevant option for your case as suggested is to use a k8s Secret which will be synced as a Credential in Jenkins as well. Then, you can both use it in your Jenkins pipeline and with your ansible script.

wdyt?

from jenkins-client-plugin.

openshift-bot avatar openshift-bot commented on July 20, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from jenkins-client-plugin.

maxt avatar maxt commented on July 20, 2024

/close

@maxt the relevant option for your case as suggested is to use a k8s Secret which will be synced as a Credential in Jenkins as well. Then, you can both use it in your Jenkins pipeline and with your ansible script.

wdyt?
I agree. I managed to negotiate for new bunch of credentials of type "Secret text" and it perfectly works for me.

from jenkins-client-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.