generators.external-secrets.io_githubaccesstokens.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.18.0
  6. labels:
  7. external-secrets.io/component: controller
  8. name: githubaccesstokens.generators.external-secrets.io
  9. spec:
  10. group: generators.external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. - external-secrets-generators
  15. kind: GithubAccessToken
  16. listKind: GithubAccessTokenList
  17. plural: githubaccesstokens
  18. singular: githubaccesstoken
  19. scope: Namespaced
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: GithubAccessToken generates ghs_ accessToken
  25. properties:
  26. apiVersion:
  27. description: |-
  28. APIVersion defines the versioned schema of this representation of an object.
  29. Servers should convert recognized schemas to the latest internal value, and
  30. may reject unrecognized values.
  31. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  32. type: string
  33. kind:
  34. description: |-
  35. Kind is a string value representing the REST resource this object represents.
  36. Servers may infer this from the endpoint the client submits requests to.
  37. Cannot be updated.
  38. In CamelCase.
  39. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  40. type: string
  41. metadata:
  42. type: object
  43. spec:
  44. properties:
  45. appID:
  46. type: string
  47. auth:
  48. description: Auth configures how ESO authenticates with a Github instance.
  49. properties:
  50. privateKey:
  51. properties:
  52. secretRef:
  53. description: |-
  54. A reference to a specific 'key' within a Secret resource.
  55. In some instances, `key` is a required field.
  56. properties:
  57. key:
  58. description: |-
  59. A key in the referenced Secret.
  60. Some instances of this field may be defaulted, in others it may be required.
  61. maxLength: 253
  62. minLength: 1
  63. pattern: ^[-._a-zA-Z0-9]+$
  64. type: string
  65. name:
  66. description: The name of the Secret resource being referred
  67. to.
  68. maxLength: 253
  69. minLength: 1
  70. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  71. type: string
  72. namespace:
  73. description: |-
  74. The namespace of the Secret resource being referred to.
  75. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  76. maxLength: 63
  77. minLength: 1
  78. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  79. type: string
  80. type: object
  81. required:
  82. - secretRef
  83. type: object
  84. required:
  85. - privateKey
  86. type: object
  87. installID:
  88. type: string
  89. permissions:
  90. additionalProperties:
  91. type: string
  92. description: Map of permissions the token will have. If omitted, defaults
  93. to all permissions the GitHub App has.
  94. type: object
  95. repositories:
  96. description: |-
  97. List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
  98. is installed to.
  99. items:
  100. type: string
  101. type: array
  102. url:
  103. description: URL configures the Github instance URL. Defaults to https://github.com/.
  104. type: string
  105. required:
  106. - appID
  107. - auth
  108. - installID
  109. type: object
  110. type: object
  111. served: true
  112. storage: true
  113. subresources:
  114. status: {}