Kubernetes Credentials

ID: kubernetes-credentials

Jenkins Plugin travis-ci Coverage Status Jenkins Plugin installs

Contains classes shared between the Kubernetes Plugin and the Kubernetes CLI Plugin:

  • 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.

Prerequisites

  • 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

and upload target/kubernetes-credentials.hpi to your Jenkins installation.

To run the tests:

mvn clean test

Releasing

mvn release:prepare release:perform