Gitea PAT Kubernetes Credentials

This is a Kubernetes Credentials Provider adapter of Gitea Personal Access Token Credential

A valid secret yaml file

apiVersion: v1
kind: Secret
metadata:
  # this is the jenkins id.
  name: "giteapat-jenkins"
  labels:
    # so we know what type it is.
    "jenkins.io/credentials-type": "giteaPAT"
  annotations:
    # description - can not be a label as spaces are not allowed
    "jenkins.io/credentials-description": "credentials from Kubernetes"
type: Opaque
stringData:
  token: 0123456789012345678901234567890123456789

Based on the similar plugin Github App kubernetes credentials plugin