Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin
gitlab-kubernetes-credentials-plugin
https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin
gitlab kubernetes
Last synced: 3 months ago
JSON representation
gitlab-kubernetes-credentials-plugin
- Host: GitHub
- URL: https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin
- Owner: jenkinsci
- License: mit
- Created: 2022-11-02T08:26:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-30T03:16:44.000Z (3 months ago)
- Last Synced: 2024-09-30T05:45:15.114Z (3 months ago)
- Topics: gitlab, kubernetes
- Language: Java
- Homepage: https://plugins.jenkins.io/gitlab-kubernetes-credentials/
- Size: 276 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# gitlab-kubernetes-credentials-plugin
[![Build Status](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main/badge/icon)](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main/)
[![Coverage](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main/badge/icon?status=${instructionCoverage}&subject=coverage&color=${colorInstructionCoverage})](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main)
[![LOC](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main/badge/icon?job=test&status=${lineOfCode}&subject=line%20of%20code&color=blue)](https://ci.jenkins.io/job/Plugins/job/gitlab-kubernetes-credentials-plugin/job/main)
[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/gitlab-kubernetes-credentials.svg)](https://plugins.jenkins.io/gitlab-kubernetes-credentials)
[![GitHub release](https://img.shields.io/github/release/jenkinsci/gitlab-kubernetes-credentials-plugin.svg?label=changelog)](https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin/releases/latest)
[![GitHub license](https://img.shields.io/github/license/jenkinsci/gitlab-kubernetes-credentials-plugin)](https://github.com/jenkinsci/gitlab-kubernetes-credentials-plugin/blob/master/LICENSE.md)
[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/gitlab-kubernetes-credentials.svg?color=blue)](https://plugins.jenkins.io/gitlab-kubernetes-credentials)# Introduction
This plugin provides an extension for the [kubernetes-credentials-provider-plugin](https://github.com/jenkinsci/kubernetes-credentials-provider-plugin)
plugin, and the [gitlab-branch-source-plugin](https://github.com/jenkinsci/gitlab-branch-source-plugin) that extend the kubernetes credentials provider to create the special credential type required by the gitlab-branch-source when interacting with a GitLab server instance.## Usage
This plugin consumes extends the kubernetes-credentials-provider-plugin to consume kubernetes secrets with a `"jenkins.io/credentials-type"` of `"gitlabToken"`. These secrets need to have a data property `"text"` that contains a base64 encoded `bearer token` for gitlab server.
### Example
```
apiVersion: v1
data:
text: c3VwZXJkdXBlcnNlY3JldA==
kind: Secret
metadata:
annotations:
jenkins.io/credentials-description: The GitLab token for creating web hooks
labels:
jenkins.io/credentials-type: gitlabToken
name: gitlab-hook-token
namespace: jenkins-demo
type: Opaque
```
## LICENSELicensed under MIT, see [LICENSE](LICENSE)