generators.external-secrets.io_githubaccesstokens.yaml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.16.3
  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. url:
  83. description: URL configures the Github instance URL. Defaults to https://github.com/.
  84. type: string
  85. required:
  86. - appID
  87. - auth
  88. - installID
  89. type: object
  90. type: object
  91. served: true
  92. storage: true
  93. subresources:
  94. status: {}