generators.external-secrets.io_githubaccesstokens.yaml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.16.5
  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. shortNames:
  19. - githubaccesstoken
  20. singular: githubaccesstoken
  21. scope: Namespaced
  22. versions:
  23. - name: v1alpha1
  24. schema:
  25. openAPIV3Schema:
  26. description: GithubAccessToken generates ghs_ accessToken
  27. properties:
  28. apiVersion:
  29. description: |-
  30. APIVersion defines the versioned schema of this representation of an object.
  31. Servers should convert recognized schemas to the latest internal value, and
  32. may reject unrecognized values.
  33. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  34. type: string
  35. kind:
  36. description: |-
  37. Kind is a string value representing the REST resource this object represents.
  38. Servers may infer this from the endpoint the client submits requests to.
  39. Cannot be updated.
  40. In CamelCase.
  41. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  42. type: string
  43. metadata:
  44. type: object
  45. spec:
  46. properties:
  47. appID:
  48. type: string
  49. auth:
  50. description: Auth configures how ESO authenticates with a Github instance.
  51. properties:
  52. privateKey:
  53. properties:
  54. secretRef:
  55. description: |-
  56. A reference to a specific 'key' within a Secret resource,
  57. In some instances, `key` is a required field.
  58. properties:
  59. key:
  60. description: |-
  61. The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be
  62. defaulted, in others it may be required.
  63. type: string
  64. name:
  65. description: The name of the Secret resource being referred
  66. to.
  67. type: string
  68. namespace:
  69. description: |-
  70. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  71. to the namespace of the referent.
  72. type: string
  73. type: object
  74. required:
  75. - secretRef
  76. type: object
  77. required:
  78. - privateKey
  79. type: object
  80. installID:
  81. type: string
  82. permissions:
  83. additionalProperties:
  84. type: string
  85. description: Map of permissions the token will have. If omitted, defaults
  86. to all permissions the GitHub App has.
  87. type: object
  88. repositories:
  89. description: |-
  90. List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
  91. is installed to.
  92. items:
  93. type: string
  94. type: array
  95. url:
  96. description: URL configures the Github instance URL. Defaults to https://github.com/.
  97. type: string
  98. required:
  99. - appID
  100. - auth
  101. - installID
  102. type: object
  103. type: object
  104. served: true
  105. storage: true
  106. subresources:
  107. status: {}