An open API service indexing awesome lists of open source software.

https://github.com/jenkinsci/openshift-k8s-credentials-plugin

openshift-k8s-credentials-plugin
https://github.com/jenkinsci/openshift-k8s-credentials-plugin

devops kubernetes

Last synced: 3 months ago
JSON representation

openshift-k8s-credentials-plugin

Awesome Lists containing this project

README

          

# openshift-k8s-credentials

[![Build Status](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main/badge/icon)](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main/)
[![Coverage](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main/badge/icon?status=${instructionCoverage}&subject=coverage&color=${colorInstructionCoverage})](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main)
[![LOC](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main/badge/icon?job=test&status=${lineOfCode}&subject=line%20of%20code&color=blue)](https://ci.jenkins.io/job/Plugins/job/openshift-k8s-credentials-plugin/job/main)
[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/openshift-k8s-credentials.svg)](https://plugins.jenkins.io/openshift-k8s-credentials)
[![GitHub release](https://img.shields.io/github/release/jenkinsci/openshift-k8s-credentials-plugin.svg?label=changelog)](https://github.com/jenkinsci/openshift-k8s-credentials-plugin/releases/latest)
[![GitHub license](https://img.shields.io/github/license/jenkinsci/openshift-k8s-credentials-plugin)](https://github.com/jenkinsci/openshift-k8s-credentials-plugin/blob/master/LICENSE.md)
[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/openshift-k8s-credentials.svg?color=blue)](https://plugins.jenkins.io/openshift-k8s-credentials)

## Introduction

This plugin provides an extension for the [kubernetes-credentials-provider-plugin](https://github.com/jenkinsci/kubernetes-credentials-provider-plugin)
plugin, and the [openshift-client-plugin](https://github.com/jenkinsci/openshift-client-plugin) that extend the kubernetes credentials provider to create the special credential type required by the openshift-client-plugin when interacting with an openshift cluster.

## Getting started

The plugin consume Kubernetes credentials of type 'openshiftToken'.

You will find an example bellow

```
apiVersion: v1
data:
text: c3VwZXJkdXBlcnNlY3JldA==
kind: Secret
metadata:
annotations:
jenkins.io/credentials-description: The Openshift token to access the cluster
labels:
jenkins.io/credentials-type: openshiftToken
name: my-openshift-token
namespace: jenkins-demo
type: Opaque
```

This will create the secret on the Kubernetes credentials store.

![](openshift_token.png)

## LICENSE

Licensed under MIT, see [LICENSE](LICENSE.md)