external-secrets.io_externalsecrets.yaml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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. description: CreationPolicy defines rules on how to create the
  129. resulting Secret Defaults to 'Owner'
  130. type: string
  131. name:
  132. description: Name defines the name of the Secret resource to be
  133. managed This field is immutable Defaults to the .metadata.name
  134. of the ExternalSecret resource
  135. type: string
  136. template:
  137. description: Template defines a blueprint for the created Secret
  138. resource.
  139. properties:
  140. data:
  141. additionalProperties:
  142. type: string
  143. type: object
  144. metadata:
  145. description: ExternalSecretTemplateMetadata defines metadata
  146. fields for the Secret blueprint.
  147. properties:
  148. annotations:
  149. additionalProperties:
  150. type: string
  151. type: object
  152. labels:
  153. additionalProperties:
  154. type: string
  155. type: object
  156. type: object
  157. templateFrom:
  158. items:
  159. maxProperties: 1
  160. minProperties: 1
  161. properties:
  162. configMap:
  163. properties:
  164. items:
  165. items:
  166. properties:
  167. key:
  168. type: string
  169. required:
  170. - key
  171. type: object
  172. type: array
  173. name:
  174. type: string
  175. required:
  176. - items
  177. - name
  178. type: object
  179. secret:
  180. properties:
  181. items:
  182. items:
  183. properties:
  184. key:
  185. type: string
  186. required:
  187. - key
  188. type: object
  189. type: array
  190. name:
  191. type: string
  192. required:
  193. - items
  194. - name
  195. type: object
  196. type: object
  197. type: array
  198. type:
  199. type: string
  200. type: object
  201. type: object
  202. required:
  203. - secretStoreRef
  204. - target
  205. type: object
  206. status:
  207. properties:
  208. conditions:
  209. items:
  210. properties:
  211. lastTransitionTime:
  212. format: date-time
  213. type: string
  214. message:
  215. type: string
  216. reason:
  217. type: string
  218. status:
  219. type: string
  220. type:
  221. type: string
  222. required:
  223. - status
  224. - type
  225. type: object
  226. type: array
  227. refreshTime:
  228. description: refreshTime is the time and date the external secret
  229. was fetched and the target secret updated
  230. format: date-time
  231. nullable: true
  232. type: string
  233. syncedResourceVersion:
  234. description: SyncedResourceVersion keeps track of the last synced
  235. version
  236. type: string
  237. type: object
  238. type: object
  239. served: true
  240. storage: true
  241. subresources:
  242. status: {}
  243. status:
  244. acceptedNames:
  245. kind: ""
  246. plural: ""
  247. conditions: []
  248. storedVersions: []