generators.external-secrets.io_githubaccesstokens.yaml 3.5 KB

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