generators.external-secrets.io_githubaccesstokens.yaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.14.0
  6. name: githubaccesstokens.generators.external-secrets.io
  7. spec:
  8. group: generators.external-secrets.io
  9. names:
  10. categories:
  11. - githubaccesstoken
  12. kind: GithubAccessToken
  13. listKind: GithubAccessTokenList
  14. plural: githubaccesstokens
  15. shortNames:
  16. - githubaccesstoken
  17. singular: githubaccesstoken
  18. scope: Namespaced
  19. versions:
  20. - name: v1alpha1
  21. schema:
  22. openAPIV3Schema:
  23. description: GithubAccessToken generates ghs_ accessToken
  24. properties:
  25. apiVersion:
  26. description: |-
  27. APIVersion defines the versioned schema of this representation of an object.
  28. Servers should convert recognized schemas to the latest internal value, and
  29. may reject unrecognized values.
  30. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  31. type: string
  32. kind:
  33. description: |-
  34. Kind is a string value representing the REST resource this object represents.
  35. Servers may infer this from the endpoint the client submits requests to.
  36. Cannot be updated.
  37. In CamelCase.
  38. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  39. type: string
  40. metadata:
  41. type: object
  42. spec:
  43. properties:
  44. appID:
  45. type: string
  46. auth:
  47. description: Auth configures how ESO authenticates with a Github instance.
  48. properties:
  49. privatKey:
  50. properties:
  51. secretRef:
  52. description: |-
  53. A reference to a specific 'key' within a Secret resource,
  54. In some instances, `key` is a required field.
  55. properties:
  56. key:
  57. description: |-
  58. The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be
  59. defaulted, in others it may be required.
  60. type: string
  61. name:
  62. description: The name of the Secret resource being referred
  63. to.
  64. type: string
  65. namespace:
  66. description: |-
  67. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  68. to the namespace of the referent.
  69. type: string
  70. type: object
  71. required:
  72. - secretRef
  73. type: object
  74. required:
  75. - privatKey
  76. type: object
  77. installID:
  78. type: string
  79. url:
  80. description: URL configures the Github instance URL. Defaults to https://github.com/.
  81. type: string
  82. required:
  83. - appID
  84. - auth
  85. - installID
  86. type: object
  87. type: object
  88. served: true
  89. storage: true
  90. subresources:
  91. status: {}