2024-04-03 07:19:57 +00:00
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2024-10-29 09:54:27 +00:00
|
|
|
controller-gen.kubebuilder.io/version: v0.16.5
|
2024-06-16 10:52:10 +00:00
|
|
|
labels:
|
|
|
|
external-secrets.io/component: controller
|
2024-04-03 07:19:57 +00:00
|
|
|
name: githubaccesstokens.generators.external-secrets.io
|
|
|
|
spec:
|
|
|
|
group: generators.external-secrets.io
|
|
|
|
names:
|
|
|
|
categories:
|
2024-09-25 07:45:07 +00:00
|
|
|
- external-secrets
|
|
|
|
- external-secrets-generators
|
2024-04-03 07:19:57 +00:00
|
|
|
kind: GithubAccessToken
|
|
|
|
listKind: GithubAccessTokenList
|
|
|
|
plural: githubaccesstokens
|
|
|
|
singular: githubaccesstoken
|
|
|
|
scope: Namespaced
|
|
|
|
versions:
|
|
|
|
- name: v1alpha1
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
|
|
|
description: GithubAccessToken generates ghs_ accessToken
|
|
|
|
properties:
|
|
|
|
apiVersion:
|
|
|
|
description: |-
|
|
|
|
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
|
|
|
|
type: string
|
|
|
|
kind:
|
|
|
|
description: |-
|
|
|
|
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
|
|
|
|
type: string
|
|
|
|
metadata:
|
|
|
|
type: object
|
|
|
|
spec:
|
|
|
|
properties:
|
|
|
|
appID:
|
|
|
|
type: string
|
|
|
|
auth:
|
|
|
|
description: Auth configures how ESO authenticates with a Github instance.
|
|
|
|
properties:
|
2024-06-17 09:12:03 +00:00
|
|
|
privateKey:
|
2024-04-03 07:19:57 +00:00
|
|
|
properties:
|
|
|
|
secretRef:
|
|
|
|
description: |-
|
2024-11-28 15:53:07 +00:00
|
|
|
A reference to a specific 'key' within a Secret resource.
|
2024-04-03 07:19:57 +00:00
|
|
|
In some instances, `key` is a required field.
|
|
|
|
properties:
|
|
|
|
key:
|
|
|
|
description: |-
|
2024-11-28 15:53:07 +00:00
|
|
|
A key in the referenced Secret.
|
|
|
|
Some instances of this field may be defaulted, in others it may be required.
|
|
|
|
maxLength: 253
|
|
|
|
minLength: 1
|
|
|
|
pattern: ^[-._a-zA-Z0-9]+$
|
2024-04-03 07:19:57 +00:00
|
|
|
type: string
|
|
|
|
name:
|
|
|
|
description: The name of the Secret resource being referred
|
|
|
|
to.
|
2024-11-28 15:53:07 +00:00
|
|
|
maxLength: 253
|
|
|
|
minLength: 1
|
|
|
|
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
|
2024-04-03 07:19:57 +00:00
|
|
|
type: string
|
|
|
|
namespace:
|
|
|
|
description: |-
|
2024-11-28 15:53:07 +00:00
|
|
|
The namespace of the Secret resource being referred to.
|
|
|
|
Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
|
|
|
|
maxLength: 63
|
|
|
|
minLength: 1
|
|
|
|
pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
2024-04-03 07:19:57 +00:00
|
|
|
type: string
|
|
|
|
type: object
|
|
|
|
required:
|
|
|
|
- secretRef
|
|
|
|
type: object
|
|
|
|
required:
|
2024-06-17 09:12:03 +00:00
|
|
|
- privateKey
|
2024-04-03 07:19:57 +00:00
|
|
|
type: object
|
|
|
|
installID:
|
|
|
|
type: string
|
2024-10-28 11:02:06 +00:00
|
|
|
permissions:
|
|
|
|
additionalProperties:
|
|
|
|
type: string
|
|
|
|
description: Map of permissions the token will have. If omitted, defaults
|
|
|
|
to all permissions the GitHub App has.
|
|
|
|
type: object
|
|
|
|
repositories:
|
|
|
|
description: |-
|
|
|
|
List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
|
|
|
|
is installed to.
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
type: array
|
2024-04-03 07:19:57 +00:00
|
|
|
url:
|
|
|
|
description: URL configures the Github instance URL. Defaults to https://github.com/.
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- appID
|
|
|
|
- auth
|
|
|
|
- installID
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
subresources:
|
|
|
|
status: {}
|