external-secrets.io_externalsecrets.yaml 10.0 KB

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