external-secrets.io_externalsecrets.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  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
  64. type: string
  65. matchKey:
  66. description: Used to select multiple secrets based on a
  67. pattern
  68. type: string
  69. name:
  70. description: Used to select multiple secrets based on the
  71. name
  72. type: string
  73. property:
  74. description: Used to select a specific property of the Provider
  75. value (if a map), if supported
  76. type: string
  77. regexp:
  78. description: Used to select multiple secrets based on a
  79. regular expression of the name
  80. type: string
  81. tags:
  82. additionalProperties:
  83. type: string
  84. description: List of tags used to filter the secrets
  85. type: object
  86. version:
  87. description: Used to select a specific version of the Provider
  88. value, if supported
  89. type: string
  90. type: object
  91. secretKey:
  92. type: string
  93. required:
  94. - remoteRef
  95. - secretKey
  96. type: object
  97. type: array
  98. dataFrom:
  99. description: DataFrom is used to fetch all properties from a specific
  100. Provider data If multiple entries are specified, the Secret keys
  101. are merged in the specified order
  102. items:
  103. description: ExternalSecretDataRemoteRef defines Provider data location.
  104. properties:
  105. key:
  106. description: Key is the key used in the Provider
  107. type: string
  108. matchKey:
  109. description: Used to select multiple secrets based on a pattern
  110. type: string
  111. name:
  112. description: Used to select multiple secrets based on the name
  113. type: string
  114. property:
  115. description: Used to select a specific property of the Provider
  116. value (if a map), if supported
  117. type: string
  118. regexp:
  119. description: Used to select multiple secrets based on a regular
  120. expression of the name
  121. type: string
  122. tags:
  123. additionalProperties:
  124. type: string
  125. description: List of tags used to filter the secrets
  126. type: object
  127. version:
  128. description: Used to select a specific version of the Provider
  129. value, if supported
  130. type: string
  131. type: object
  132. type: array
  133. refreshInterval:
  134. default: 1h
  135. description: RefreshInterval is the amount of time before the values
  136. are read again from the SecretStore provider Valid time units are
  137. "ns", "us" (or "µs"), "ms", "s", "m", "h" May be set to zero to
  138. fetch and create it once. Defaults to 1h.
  139. type: string
  140. secretStoreRef:
  141. description: SecretStoreRef defines which SecretStore to fetch the
  142. ExternalSecret data.
  143. properties:
  144. kind:
  145. description: Kind of the SecretStore resource (SecretStore or
  146. ClusterSecretStore) Defaults to `SecretStore`
  147. type: string
  148. name:
  149. description: Name of the SecretStore resource
  150. type: string
  151. required:
  152. - name
  153. type: object
  154. target:
  155. description: ExternalSecretTarget defines the Kubernetes Secret to
  156. be created There can be only one target per ExternalSecret.
  157. properties:
  158. creationPolicy:
  159. default: Owner
  160. description: CreationPolicy defines rules on how to create the
  161. resulting Secret Defaults to 'Owner'
  162. type: string
  163. immutable:
  164. description: Immutable defines if the final secret will be immutable
  165. type: boolean
  166. name:
  167. description: Name defines the name of the Secret resource to be
  168. managed This field is immutable Defaults to the .metadata.name
  169. of the ExternalSecret resource
  170. type: string
  171. template:
  172. description: Template defines a blueprint for the created Secret
  173. resource.
  174. properties:
  175. data:
  176. additionalProperties:
  177. type: string
  178. type: object
  179. metadata:
  180. description: ExternalSecretTemplateMetadata defines metadata
  181. fields for the Secret blueprint.
  182. properties:
  183. annotations:
  184. additionalProperties:
  185. type: string
  186. type: object
  187. labels:
  188. additionalProperties:
  189. type: string
  190. type: object
  191. type: object
  192. templateFrom:
  193. items:
  194. maxProperties: 1
  195. minProperties: 1
  196. properties:
  197. configMap:
  198. properties:
  199. items:
  200. items:
  201. properties:
  202. key:
  203. type: string
  204. required:
  205. - key
  206. type: object
  207. type: array
  208. name:
  209. type: string
  210. required:
  211. - items
  212. - name
  213. type: object
  214. secret:
  215. properties:
  216. items:
  217. items:
  218. properties:
  219. key:
  220. type: string
  221. required:
  222. - key
  223. type: object
  224. type: array
  225. name:
  226. type: string
  227. required:
  228. - items
  229. - name
  230. type: object
  231. type: object
  232. type: array
  233. type:
  234. type: string
  235. type: object
  236. type: object
  237. required:
  238. - secretStoreRef
  239. - target
  240. type: object
  241. status:
  242. properties:
  243. conditions:
  244. items:
  245. properties:
  246. lastTransitionTime:
  247. format: date-time
  248. type: string
  249. message:
  250. type: string
  251. reason:
  252. type: string
  253. status:
  254. type: string
  255. type:
  256. type: string
  257. required:
  258. - status
  259. - type
  260. type: object
  261. type: array
  262. refreshTime:
  263. description: refreshTime is the time and date the external secret
  264. was fetched and the target secret updated
  265. format: date-time
  266. nullable: true
  267. type: string
  268. syncedResourceVersion:
  269. description: SyncedResourceVersion keeps track of the last synced
  270. version
  271. type: string
  272. type: object
  273. type: object
  274. served: true
  275. storage: true
  276. subresources:
  277. status: {}
  278. status:
  279. acceptedNames:
  280. kind: ""
  281. plural: ""
  282. conditions: []
  283. storedVersions: []