- an OpenShift username/password credentials that can fetch a valid Kubernetes token when needed
- an OpenShift secret credentials, which is meant to hold a Kubernetes token
Those credentials are available through the UI and in pipelines. Also provides the implementation of various kinds of Kubernetes authentication, for example via kubeconfig files.
- A jenkins installation running version 2.222.1 or higher (with jdk8 or jdk11).
Building and Testing
To build the extension, run:
mvn clean package
target/kubernetes-credentials.hpi to your Jenkins installation.
To run the tests:
mvn clean test
mvn release:prepare release:perform