GithubAccessToken
generators.external-secrets.io / v1alpha1
apiVersion: generators.external-secrets.io/v1alpha1
kind: GithubAccessToken
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
GithubAccessTokenSpec defines the desired state to generate a GitHub access token.
appID
string required
auth object required
Auth configures how ESO authenticates with a Github instance.
privateKey object required
GithubSecretRef references a secret containing GitHub credentials.
secretRef object required
SecretKeySelector is a reference to a specific 'key' within a Secret resource.
In some instances, `key` is a required field.
key
string
A key in the referenced Secret.
Some instances of this field may be defaulted, in others it may be required.
pattern:
^[-._a-zA-Z0-9]+$minLength:
1maxLength:
253
name
string
The name of the Secret resource being referred to.
pattern:
^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$minLength:
1maxLength:
253
namespace
string
The namespace of the Secret resource being referred to.
Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
pattern:
^[a-z0-9]([-a-z0-9]*[a-z0-9])?$minLength:
1maxLength:
63
installID
string required
permissions
object
Map of permissions the token will have. If omitted, defaults to all permissions the GitHub App has.
repositories
[]string
List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
is installed to.
url
string
URL configures the GitHub instance URL. Defaults to https://github.com/.
No matches. Try .spec.appID for an exact path