jenkinsci / kubernetes-credentials-plugin

Credential classes to access Kubernetes clusters

Home Page:https://plugins.jenkins.io/kubernetes-credentials/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubernetes Credentials Plugin

Jenkins Plugin 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.387.3 or higher (with jdk11 or jdk17).

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

About

Credential classes to access Kubernetes clusters

https://plugins.jenkins.io/kubernetes-credentials/

License:Apache License 2.0


Languages

Language:Java 99.3%Language:HTML 0.7%