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.
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.
Licensed under MIT, see LICENSE