external-secrets.io_externalsecrets.yaml 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.5.0
  6. creationTimestamp: null
  7. name: externalsecrets.external-secrets.io
  8. spec:
  9. group: external-secrets.io
  10. names:
  11. categories:
  12. - externalsecrets
  13. kind: ExternalSecret
  14. listKind: ExternalSecretList
  15. plural: externalsecrets
  16. shortNames:
  17. - es
  18. singular: externalsecret
  19. scope: Namespaced
  20. versions:
  21. - additionalPrinterColumns:
  22. - jsonPath: .spec.secretStoreRef.name
  23. name: Store
  24. type: string
  25. - jsonPath: .spec.refreshInterval
  26. name: Refresh Interval
  27. type: string
  28. name: v1alpha1
  29. schema:
  30. openAPIV3Schema:
  31. description: ExternalSecret is the Schema for the external-secrets API.
  32. properties:
  33. apiVersion:
  34. description: 'APIVersion defines the versioned schema of this representation
  35. of an object. Servers should convert recognized schemas to the latest
  36. internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
  37. type: string
  38. kind:
  39. description: 'Kind is a string value representing the REST resource this
  40. object represents. Servers may infer this from the endpoint the client
  41. submits requests to. Cannot be updated. In CamelCase. 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. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  47. properties:
  48. data:
  49. description: Data defines the connection between the Kubernetes Secret
  50. keys and the Provider data
  51. items:
  52. description: ExternalSecretData defines the connection between the
  53. Kubernetes Secret key (spec.data.<key>) and the Provider data.
  54. properties:
  55. remoteRef:
  56. description: ExternalSecretDataRemoteRef defines Provider data
  57. location.
  58. properties:
  59. key:
  60. description: Key is the key used in the Provider, mandatory
  61. type: string
  62. property:
  63. description: Used to select a specific property of the Provider
  64. value (if a map), if supported
  65. type: string
  66. version:
  67. description: Used to select a specific version of the Provider
  68. value, if supported
  69. type: string
  70. required:
  71. - key
  72. type: object
  73. secretKey:
  74. type: string
  75. required:
  76. - remoteRef
  77. - secretKey
  78. type: object
  79. type: array
  80. dataFrom:
  81. description: DataFrom is used to fetch all properties from a specific
  82. Provider data If multiple entries are specified, the Secret keys
  83. are merged in the specified order
  84. items:
  85. description: ExternalSecretDataRemoteRef defines Provider data location.
  86. properties:
  87. key:
  88. description: Key is the key used in the Provider, mandatory
  89. type: string
  90. property:
  91. description: Used to select a specific property of the Provider
  92. value (if a map), if supported
  93. type: string
  94. version:
  95. description: Used to select a specific version of the Provider
  96. value, if supported
  97. type: string
  98. required:
  99. - key
  100. type: object
  101. type: array
  102. refreshInterval:
  103. default: 1h
  104. description: RefreshInterval is the amount of time before the values
  105. are read again from the SecretStore provider Valid time units are
  106. "ns", "us" (or "µs"), "ms", "s", "m", "h" May be set to zero to
  107. fetch and create it once. Defaults to 1h.
  108. type: string
  109. secretStoreRef:
  110. description: SecretStoreRef defines which SecretStore to fetch the
  111. ExternalSecret data.
  112. properties:
  113. kind:
  114. description: Kind of the SecretStore resource (SecretStore or
  115. ClusterSecretStore) Defaults to `SecretStore`
  116. type: string
  117. name:
  118. description: Name of the SecretStore resource
  119. type: string
  120. required:
  121. - name
  122. type: object
  123. target:
  124. description: ExternalSecretTarget defines the Kubernetes Secret to
  125. be created There can be only one target per ExternalSecret.
  126. properties:
  127. creationPolicy:
  128. default: Owner
  129. description: CreationPolicy defines rules on how to create the
  130. resulting Secret Defaults to 'Owner'
  131. type: string
  132. name:
  133. description: Name defines the name of the Secret resource to be
  134. managed This field is immutable Defaults to the .metadata.name
  135. of the ExternalSecret resource
  136. type: string
  137. template:
  138. description: Template defines a blueprint for the created Secret
  139. resource.
  140. properties:
  141. data:
  142. additionalProperties:
  143. type: string
  144. type: object
  145. metadata:
  146. description: ExternalSecretTemplateMetadata defines metadata
  147. fields for the Secret blueprint.
  148. properties:
  149. annotations:
  150. additionalProperties:
  151. type: string
  152. type: object
  153. labels:
  154. additionalProperties:
  155. type: string
  156. type: object
  157. type: object
  158. templateFrom:
  159. items:
  160. maxProperties: 1
  161. minProperties: 1
  162. properties:
  163. configMap:
  164. properties:
  165. items:
  166. items:
  167. properties:
  168. key:
  169. type: string
  170. required:
  171. - key
  172. type: object
  173. type: array
  174. name:
  175. type: string
  176. required:
  177. - items
  178. - name
  179. type: object
  180. secret:
  181. properties:
  182. items:
  183. items:
  184. properties:
  185. key:
  186. type: string
  187. required:
  188. - key
  189. type: object
  190. type: array
  191. name:
  192. type: string
  193. required:
  194. - items
  195. - name
  196. type: object
  197. type: object
  198. type: array
  199. type:
  200. type: string
  201. type: object
  202. type: object
  203. required:
  204. - secretStoreRef
  205. - target
  206. type: object
  207. status:
  208. properties:
  209. conditions:
  210. items:
  211. properties:
  212. lastTransitionTime:
  213. format: date-time
  214. type: string
  215. message:
  216. type: string
  217. reason:
  218. type: string
  219. status:
  220. type: string
  221. type:
  222. type: string
  223. required:
  224. - status
  225. - type
  226. type: object
  227. type: array
  228. refreshTime:
  229. description: refreshTime is the time and date the external secret
  230. was fetched and the target secret updated
  231. format: date-time
  232. nullable: true
  233. type: string
  234. syncedResourceVersion:
  235. description: SyncedResourceVersion keeps track of the last synced
  236. version
  237. type: string
  238. type: object
  239. type: object
  240. served: true
  241. storage: true
  242. subresources:
  243. status: {}
  244. status:
  245. acceptedNames:
  246. kind: ""
  247. plural: ""
  248. conditions: []
  249. storedVersions: []