Skip to content

jenkinsci/openshift-k8s-credentials-plugin

Folders and files

NameName
Last commit message
Last commit date
Jun 15, 2022
Feb 20, 2023
Feb 15, 2022
Feb 15, 2022
Sep 13, 2022
Mar 1, 2022
Mar 8, 2022
Feb 15, 2022
Jun 11, 2023

Repository files navigation

openshift-k8s-credentials

Build Status Jenkins Plugin GitHub release GitHub license Jenkins Plugin Installs

Introduction

This plugin provides an extension for the kubernetes-credentials-provider-plugin plugin, and the 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.

LICENSE

Licensed under MIT, see LICENSE