external-secrets.io_externalsecrets.yaml 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.19.0
  6. labels:
  7. external-secrets.io/component: controller
  8. name: externalsecrets.external-secrets.io
  9. spec:
  10. group: external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. kind: ExternalSecret
  15. listKind: ExternalSecretList
  16. plural: externalsecrets
  17. shortNames:
  18. - es
  19. singular: externalsecret
  20. scope: Namespaced
  21. versions:
  22. - additionalPrinterColumns:
  23. - jsonPath: .spec.secretStoreRef.kind
  24. name: StoreType
  25. type: string
  26. - jsonPath: .spec.secretStoreRef.name
  27. name: Store
  28. type: string
  29. - jsonPath: .spec.refreshInterval
  30. name: Refresh Interval
  31. type: string
  32. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  33. name: Status
  34. type: string
  35. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  36. name: Ready
  37. type: string
  38. - jsonPath: .status.refreshTime
  39. name: Last Sync
  40. type: date
  41. name: v1
  42. schema:
  43. openAPIV3Schema:
  44. description: |-
  45. ExternalSecret is the Schema for the external-secrets API.
  46. It defines how to fetch data from external APIs and make it available as Kubernetes Secrets.
  47. properties:
  48. apiVersion:
  49. description: |-
  50. APIVersion defines the versioned schema of this representation of an object.
  51. Servers should convert recognized schemas to the latest internal value, and
  52. may reject unrecognized values.
  53. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  54. type: string
  55. kind:
  56. description: |-
  57. Kind is a string value representing the REST resource this object represents.
  58. Servers may infer this from the endpoint the client submits requests to.
  59. Cannot be updated.
  60. In CamelCase.
  61. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  62. type: string
  63. metadata:
  64. type: object
  65. spec:
  66. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  67. properties:
  68. data:
  69. description: Data defines the connection between the Kubernetes Secret
  70. keys and the Provider data
  71. items:
  72. description: ExternalSecretData defines the connection between the
  73. Kubernetes Secret key (spec.data.<key>) and the Provider data.
  74. properties:
  75. remoteRef:
  76. description: |-
  77. RemoteRef points to the remote secret and defines
  78. which secret (version/property/..) to fetch.
  79. properties:
  80. conversionStrategy:
  81. description: Used to define a conversion Strategy. Defaults
  82. to Default when omitted.
  83. enum:
  84. - Default
  85. - Unicode
  86. type: string
  87. decodingStrategy:
  88. description: Used to define a decoding Strategy. Defaults
  89. to None when omitted.
  90. enum:
  91. - Auto
  92. - Base64
  93. - Base64URL
  94. - None
  95. type: string
  96. key:
  97. description: Key is the key used in the Provider, mandatory
  98. type: string
  99. metadataPolicy:
  100. description: Policy for fetching tags/labels from provider
  101. secrets, possible options are Fetch, None. Defaults to
  102. None
  103. enum:
  104. - None
  105. - Fetch
  106. type: string
  107. nullBytePolicy:
  108. description: Controls how ESO handles fetched secret data
  109. containing NUL bytes for this source.
  110. enum:
  111. - Ignore
  112. - Fail
  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. version:
  119. description: Used to select a specific version of the Provider
  120. value, if supported
  121. type: string
  122. required:
  123. - key
  124. type: object
  125. secretKey:
  126. description: The key in the Kubernetes Secret to store the value.
  127. maxLength: 253
  128. minLength: 1
  129. pattern: ^[-._a-zA-Z0-9]+$
  130. type: string
  131. sourceRef:
  132. description: |-
  133. SourceRef allows you to override the source
  134. from which the value will be pulled.
  135. maxProperties: 1
  136. minProperties: 1
  137. properties:
  138. generatorRef:
  139. description: |-
  140. GeneratorRef points to a generator custom resource.
  141. Deprecated: The generatorRef is not implemented in .data[].
  142. this will be removed with v1.
  143. properties:
  144. apiVersion:
  145. default: generators.external-secrets.io/v1alpha1
  146. description: Specify the apiVersion of the generator
  147. resource
  148. type: string
  149. kind:
  150. description: Specify the Kind of the generator resource
  151. enum:
  152. - ACRAccessToken
  153. - BeyondtrustWorkloadCredentialsDynamicSecret
  154. - ClusterGenerator
  155. - CloudsmithAccessToken
  156. - ECRAuthorizationToken
  157. - Fake
  158. - GCRAccessToken
  159. - GithubAccessToken
  160. - GitlabDeployToken
  161. - QuayAccessToken
  162. - Password
  163. - SSHKey
  164. - STSSessionToken
  165. - UUID
  166. - VaultDynamicSecret
  167. - Webhook
  168. - Grafana
  169. - MFA
  170. type: string
  171. name:
  172. description: Specify the name of the generator resource
  173. maxLength: 253
  174. minLength: 1
  175. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  176. type: string
  177. required:
  178. - kind
  179. - name
  180. type: object
  181. storeRef:
  182. description: SecretStoreRef defines which SecretStore to
  183. fetch the ExternalSecret data.
  184. properties:
  185. kind:
  186. description: |-
  187. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  188. Defaults to `SecretStore`
  189. enum:
  190. - SecretStore
  191. - ClusterSecretStore
  192. type: string
  193. name:
  194. description: Name of the SecretStore resource
  195. maxLength: 253
  196. minLength: 1
  197. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  198. type: string
  199. type: object
  200. type: object
  201. required:
  202. - remoteRef
  203. - secretKey
  204. type: object
  205. type: array
  206. dataFrom:
  207. description: |-
  208. DataFrom is used to fetch all properties from a specific Provider data
  209. If multiple entries are specified, the Secret keys are merged in the specified order
  210. items:
  211. description: |-
  212. ExternalSecretDataFromRemoteRef defines the connection between the Kubernetes Secret keys and the Provider data
  213. when using DataFrom to fetch multiple values from a Provider.
  214. properties:
  215. extract:
  216. description: |-
  217. Used to extract multiple key/value pairs from one secret
  218. Note: Extract does not support sourceRef.Generator or sourceRef.GeneratorRef.
  219. properties:
  220. conversionStrategy:
  221. description: Used to define a conversion Strategy. Defaults
  222. to Default when omitted.
  223. enum:
  224. - Default
  225. - Unicode
  226. type: string
  227. decodingStrategy:
  228. description: Used to define a decoding Strategy. Defaults
  229. to None when omitted.
  230. enum:
  231. - Auto
  232. - Base64
  233. - Base64URL
  234. - None
  235. type: string
  236. key:
  237. description: Key is the key used in the Provider, mandatory
  238. type: string
  239. metadataPolicy:
  240. description: Policy for fetching tags/labels from provider
  241. secrets, possible options are Fetch, None. Defaults to
  242. None
  243. enum:
  244. - None
  245. - Fetch
  246. type: string
  247. nullBytePolicy:
  248. description: Controls how ESO handles fetched secret data
  249. containing NUL bytes for this source.
  250. enum:
  251. - Ignore
  252. - Fail
  253. type: string
  254. property:
  255. description: Used to select a specific property of the Provider
  256. value (if a map), if supported
  257. type: string
  258. version:
  259. description: Used to select a specific version of the Provider
  260. value, if supported
  261. type: string
  262. required:
  263. - key
  264. type: object
  265. find:
  266. description: |-
  267. Used to find secrets based on tags or regular expressions
  268. Note: Find does not support sourceRef.Generator or sourceRef.GeneratorRef.
  269. properties:
  270. conversionStrategy:
  271. description: Used to define a conversion Strategy. Defaults
  272. to Default when omitted.
  273. enum:
  274. - Default
  275. - Unicode
  276. type: string
  277. decodingStrategy:
  278. description: Used to define a decoding Strategy. Defaults
  279. to None when omitted.
  280. enum:
  281. - Auto
  282. - Base64
  283. - Base64URL
  284. - None
  285. type: string
  286. name:
  287. description: Finds secrets based on the name.
  288. properties:
  289. regexp:
  290. description: Finds secrets base
  291. type: string
  292. type: object
  293. nullBytePolicy:
  294. description: Controls how ESO handles fetched secret data
  295. containing NUL bytes for this find source.
  296. enum:
  297. - Ignore
  298. - Fail
  299. type: string
  300. path:
  301. description: A root path to start the find operations.
  302. type: string
  303. tags:
  304. additionalProperties:
  305. type: string
  306. description: Find secrets based on tags.
  307. type: object
  308. type: object
  309. rewrite:
  310. description: |-
  311. Used to rewrite secret Keys after getting them from the secret Provider
  312. Multiple Rewrite operations can be provided. They are applied in a layered order (first to last)
  313. items:
  314. description: ExternalSecretRewrite defines how to rewrite
  315. secret data values before they are written to the Secret.
  316. maxProperties: 1
  317. minProperties: 1
  318. properties:
  319. merge:
  320. description: |-
  321. Used to merge key/values in one single Secret
  322. The resulting key will contain all values from the specified secrets
  323. properties:
  324. conflictPolicy:
  325. default: Error
  326. description: Used to define the policy to use in conflict
  327. resolution.
  328. enum:
  329. - Ignore
  330. - Error
  331. type: string
  332. into:
  333. default: ""
  334. description: |-
  335. Used to define the target key of the merge operation.
  336. Required if strategy is JSON. Ignored otherwise.
  337. type: string
  338. priority:
  339. description: Used to define key priority in conflict
  340. resolution.
  341. items:
  342. type: string
  343. type: array
  344. priorityPolicy:
  345. default: Strict
  346. description: Used to define the policy when a key
  347. in the priority list does not exist in the input.
  348. enum:
  349. - IgnoreNotFound
  350. - Strict
  351. type: string
  352. strategy:
  353. default: Extract
  354. description: Used to define the strategy to use in
  355. the merge operation.
  356. enum:
  357. - Extract
  358. - JSON
  359. type: string
  360. type: object
  361. regexp:
  362. description: |-
  363. Used to rewrite with regular expressions.
  364. The resulting key will be the output of a regexp.ReplaceAll operation.
  365. properties:
  366. source:
  367. description: Used to define the regular expression
  368. of a re.Compiler.
  369. type: string
  370. target:
  371. description: Used to define the target pattern of
  372. a ReplaceAll operation.
  373. type: string
  374. required:
  375. - source
  376. - target
  377. type: object
  378. transform:
  379. description: |-
  380. Used to apply string transformation on the secrets.
  381. The resulting key will be the output of the template applied by the operation.
  382. properties:
  383. template:
  384. description: |-
  385. Used to define the template to apply on the secret name.
  386. `.value ` will specify the secret name in the template.
  387. type: string
  388. required:
  389. - template
  390. type: object
  391. type: object
  392. type: array
  393. sourceRef:
  394. description: |-
  395. SourceRef points to a store or generator
  396. which contains secret values ready to use.
  397. Use this in combination with Extract or Find pull values out of
  398. a specific SecretStore.
  399. When sourceRef points to a generator Extract or Find is not supported.
  400. The generator returns a static map of values
  401. maxProperties: 1
  402. minProperties: 1
  403. properties:
  404. generatorRef:
  405. description: GeneratorRef points to a generator custom resource.
  406. properties:
  407. apiVersion:
  408. default: generators.external-secrets.io/v1alpha1
  409. description: Specify the apiVersion of the generator
  410. resource
  411. type: string
  412. kind:
  413. description: Specify the Kind of the generator resource
  414. enum:
  415. - ACRAccessToken
  416. - BeyondtrustWorkloadCredentialsDynamicSecret
  417. - ClusterGenerator
  418. - CloudsmithAccessToken
  419. - ECRAuthorizationToken
  420. - Fake
  421. - GCRAccessToken
  422. - GithubAccessToken
  423. - GitlabDeployToken
  424. - QuayAccessToken
  425. - Password
  426. - SSHKey
  427. - STSSessionToken
  428. - UUID
  429. - VaultDynamicSecret
  430. - Webhook
  431. - Grafana
  432. - MFA
  433. type: string
  434. name:
  435. description: Specify the name of the generator resource
  436. maxLength: 253
  437. minLength: 1
  438. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  439. type: string
  440. required:
  441. - kind
  442. - name
  443. type: object
  444. storeRef:
  445. description: SecretStoreRef defines which SecretStore to
  446. fetch the ExternalSecret data.
  447. properties:
  448. kind:
  449. description: |-
  450. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  451. Defaults to `SecretStore`
  452. enum:
  453. - SecretStore
  454. - ClusterSecretStore
  455. type: string
  456. name:
  457. description: Name of the SecretStore resource
  458. maxLength: 253
  459. minLength: 1
  460. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  461. type: string
  462. type: object
  463. type: object
  464. type: object
  465. type: array
  466. refreshInterval:
  467. default: 1h0m0s
  468. description: |-
  469. RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
  470. specified as Golang Duration strings.
  471. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
  472. Example values: "1h0m0s", "2h30m0s", "10m0s"
  473. May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
  474. type: string
  475. refreshPolicy:
  476. description: |-
  477. RefreshPolicy determines how the ExternalSecret should be refreshed:
  478. - CreatedOnce: Creates the Secret only if it does not exist and does not update it thereafter
  479. - Periodic: Synchronizes the Secret from the external source at regular intervals specified by refreshInterval.
  480. No periodic updates occur if refreshInterval is 0.
  481. - OnChange: Only synchronizes the Secret when the ExternalSecret's metadata or specification changes
  482. enum:
  483. - CreatedOnce
  484. - Periodic
  485. - OnChange
  486. type: string
  487. secretStoreRef:
  488. description: SecretStoreRef defines which SecretStore to fetch the
  489. ExternalSecret data.
  490. properties:
  491. kind:
  492. description: |-
  493. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  494. Defaults to `SecretStore`
  495. enum:
  496. - SecretStore
  497. - ClusterSecretStore
  498. type: string
  499. name:
  500. description: Name of the SecretStore resource
  501. maxLength: 253
  502. minLength: 1
  503. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  504. type: string
  505. type: object
  506. syncWindows:
  507. description: |-
  508. SyncWindows optionally restricts when periodic refreshes may occur.
  509. Evaluated in UTC, only for Periodic refresh policy (or when refreshPolicy is unset).
  510. properties:
  511. kind:
  512. description: |-
  513. Kind applies to every window in the list.
  514. "allow" -- syncs are permitted only while at least one window is active;
  515. all other times are blocked.
  516. "deny" -- syncs are blocked while any window is active;
  517. all other times are permitted.
  518. enum:
  519. - allow
  520. - deny
  521. type: string
  522. windows:
  523. description: Windows is the list of schedule+duration pairs.
  524. items:
  525. description: |-
  526. ExternalSecretSyncWindowEntry defines a single cron-schedule + duration pair
  527. within a SyncWindows block.
  528. properties:
  529. duration:
  530. description: |-
  531. Duration specifies how long the window stays open after each Schedule
  532. firing. Example: "8h".
  533. type: string
  534. schedule:
  535. description: |-
  536. Schedule is a standard 5-field cron expression evaluated in UTC, or a
  537. named shorthand such as @daily or @every 1h. It marks the start time of
  538. each window occurrence.
  539. Example: "0 22 * * 1-5" opens a window every weekday at 22:00 UTC.
  540. minLength: 1
  541. pattern: ^(@(annually|yearly|monthly|weekly|daily|midnight|hourly)|@every
  542. [^\s]+.*|[^\s]+( [^\s]+){4})$
  543. type: string
  544. required:
  545. - duration
  546. - schedule
  547. type: object
  548. minItems: 1
  549. type: array
  550. required:
  551. - kind
  552. - windows
  553. type: object
  554. target:
  555. default:
  556. creationPolicy: Owner
  557. deletionPolicy: Retain
  558. description: |-
  559. ExternalSecretTarget defines the Kubernetes Secret to be created,
  560. there can be only one target per ExternalSecret.
  561. properties:
  562. creationPolicy:
  563. default: Owner
  564. description: |-
  565. CreationPolicy defines rules on how to create the resulting Secret.
  566. Defaults to "Owner"
  567. enum:
  568. - Owner
  569. - Orphan
  570. - Merge
  571. - None
  572. - CreateOrMerge
  573. type: string
  574. deletionPolicy:
  575. default: Retain
  576. description: |-
  577. DeletionPolicy defines rules on how to delete the resulting Secret.
  578. Defaults to "Retain"
  579. enum:
  580. - Delete
  581. - Merge
  582. - Retain
  583. type: string
  584. immutable:
  585. description: Immutable defines if the final secret will be immutable
  586. type: boolean
  587. manifest:
  588. description: |-
  589. Manifest defines a custom Kubernetes resource to create instead of a Secret.
  590. When specified, ExternalSecret will create the resource type defined here
  591. (e.g., ConfigMap, Custom Resource) instead of a Secret.
  592. Warning: Using Generic target. Make sure access policies and encryption are properly configured.
  593. properties:
  594. apiVersion:
  595. description: APIVersion of the target resource (e.g., "v1"
  596. for ConfigMap, "argoproj.io/v1alpha1" for ArgoCD Application)
  597. minLength: 1
  598. type: string
  599. kind:
  600. description: Kind of the target resource (e.g., "ConfigMap",
  601. "Application")
  602. minLength: 1
  603. type: string
  604. required:
  605. - apiVersion
  606. - kind
  607. type: object
  608. name:
  609. description: |-
  610. The name of the Secret resource to be managed.
  611. Defaults to the .metadata.name of the ExternalSecret resource
  612. maxLength: 253
  613. minLength: 1
  614. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  615. type: string
  616. template:
  617. description: Template defines a blueprint for the created Secret
  618. resource.
  619. properties:
  620. data:
  621. additionalProperties:
  622. type: string
  623. type: object
  624. engineVersion:
  625. default: v2
  626. description: |-
  627. EngineVersion specifies the template engine version
  628. that should be used to compile/execute the
  629. template specified in .data and .templateFrom[].
  630. enum:
  631. - v2
  632. type: string
  633. mergePolicy:
  634. default: Replace
  635. description: TemplateMergePolicy defines how the rendered
  636. template should be merged with the existing Secret data.
  637. enum:
  638. - Replace
  639. - Merge
  640. type: string
  641. metadata:
  642. description: ExternalSecretTemplateMetadata defines metadata
  643. fields for the Secret blueprint.
  644. properties:
  645. annotations:
  646. additionalProperties:
  647. type: string
  648. type: object
  649. finalizers:
  650. items:
  651. type: string
  652. type: array
  653. labels:
  654. additionalProperties:
  655. type: string
  656. type: object
  657. type: object
  658. templateFrom:
  659. items:
  660. description: |-
  661. TemplateFrom specifies a source for templates.
  662. Each item in the list can either reference a ConfigMap or a Secret resource.
  663. properties:
  664. configMap:
  665. description: TemplateRef specifies a reference to either
  666. a ConfigMap or a Secret resource.
  667. properties:
  668. items:
  669. description: A list of keys in the ConfigMap/Secret
  670. to use as templates for Secret data
  671. items:
  672. description: TemplateRefItem specifies a key in
  673. the ConfigMap/Secret to use as a template for
  674. Secret data.
  675. properties:
  676. key:
  677. description: A key in the ConfigMap/Secret
  678. maxLength: 253
  679. minLength: 1
  680. pattern: ^[-._a-zA-Z0-9]+$
  681. type: string
  682. templateAs:
  683. default: Values
  684. description: TemplateScope specifies how the
  685. template keys should be interpreted.
  686. enum:
  687. - Values
  688. - KeysAndValues
  689. type: string
  690. required:
  691. - key
  692. type: object
  693. type: array
  694. name:
  695. description: The name of the ConfigMap/Secret resource
  696. maxLength: 253
  697. minLength: 1
  698. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  699. type: string
  700. required:
  701. - items
  702. - name
  703. type: object
  704. literal:
  705. type: string
  706. secret:
  707. description: TemplateRef specifies a reference to either
  708. a ConfigMap or a Secret resource.
  709. properties:
  710. items:
  711. description: A list of keys in the ConfigMap/Secret
  712. to use as templates for Secret data
  713. items:
  714. description: TemplateRefItem specifies a key in
  715. the ConfigMap/Secret to use as a template for
  716. Secret data.
  717. properties:
  718. key:
  719. description: A key in the ConfigMap/Secret
  720. maxLength: 253
  721. minLength: 1
  722. pattern: ^[-._a-zA-Z0-9]+$
  723. type: string
  724. templateAs:
  725. default: Values
  726. description: TemplateScope specifies how the
  727. template keys should be interpreted.
  728. enum:
  729. - Values
  730. - KeysAndValues
  731. type: string
  732. required:
  733. - key
  734. type: object
  735. type: array
  736. name:
  737. description: The name of the ConfigMap/Secret resource
  738. maxLength: 253
  739. minLength: 1
  740. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  741. type: string
  742. required:
  743. - items
  744. - name
  745. type: object
  746. target:
  747. default: Data
  748. description: |-
  749. Target specifies where to place the template result.
  750. For Secret resources the accepted values are empty, "Data", "Annotations" and "Labels";
  751. any other value is rejected because it would allow writes to privileged Secret fields.
  752. For custom resources (when spec.target.manifest is set), this supports
  753. nested paths like "spec.database.config" or "data".
  754. type: string
  755. valuesDecodingStrategy:
  756. description: |-
  757. Used to define a decoding Strategy for the rendered template values.
  758. Defaults to None when omitted.
  759. enum:
  760. - Auto
  761. - Base64
  762. - Base64URL
  763. - None
  764. type: string
  765. type: object
  766. type: array
  767. type:
  768. type: string
  769. type: object
  770. type: object
  771. type: object
  772. status:
  773. description: ExternalSecretStatus defines the observed state of ExternalSecret.
  774. properties:
  775. binding:
  776. description: Binding represents a servicebinding.io Provisioned Service
  777. reference to the secret
  778. properties:
  779. name:
  780. default: ""
  781. description: |-
  782. Name of the referent.
  783. This field is effectively required, but due to backwards compatibility is
  784. allowed to be empty. Instances of this type with an empty value here are
  785. almost certainly wrong.
  786. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  787. type: string
  788. type: object
  789. x-kubernetes-map-type: atomic
  790. conditions:
  791. items:
  792. description: ExternalSecretStatusCondition defines a status condition
  793. of an ExternalSecret resource.
  794. properties:
  795. lastTransitionTime:
  796. format: date-time
  797. type: string
  798. message:
  799. type: string
  800. reason:
  801. type: string
  802. status:
  803. type: string
  804. type:
  805. description: ExternalSecretConditionType defines a value type
  806. for ExternalSecret conditions.
  807. enum:
  808. - Ready
  809. - Deleted
  810. type: string
  811. required:
  812. - status
  813. - type
  814. type: object
  815. type: array
  816. refreshTime:
  817. description: |-
  818. refreshTime is the time and date the external secret was fetched and
  819. the target secret updated
  820. format: date-time
  821. nullable: true
  822. type: string
  823. syncedResourceVersion:
  824. description: SyncedResourceVersion keeps track of the last synced
  825. version
  826. type: string
  827. type: object
  828. type: object
  829. selectableFields:
  830. - jsonPath: .spec.secretStoreRef.name
  831. - jsonPath: .spec.secretStoreRef.kind
  832. - jsonPath: .spec.target.name
  833. - jsonPath: .spec.refreshInterval
  834. served: true
  835. storage: true
  836. subresources:
  837. status: {}
  838. - additionalPrinterColumns:
  839. - jsonPath: .spec.secretStoreRef.kind
  840. name: StoreType
  841. type: string
  842. - jsonPath: .spec.secretStoreRef.name
  843. name: Store
  844. type: string
  845. - jsonPath: .spec.refreshInterval
  846. name: Refresh Interval
  847. type: string
  848. - jsonPath: .status.conditions[?(@.type=="Ready")].reason
  849. name: Status
  850. type: string
  851. - jsonPath: .status.conditions[?(@.type=="Ready")].status
  852. name: Ready
  853. type: string
  854. - jsonPath: .status.refreshTime
  855. name: Last Sync
  856. type: date
  857. deprecated: true
  858. name: v1beta1
  859. schema:
  860. openAPIV3Schema:
  861. description: ExternalSecret is the schema for the external-secrets API.
  862. properties:
  863. apiVersion:
  864. description: |-
  865. APIVersion defines the versioned schema of this representation of an object.
  866. Servers should convert recognized schemas to the latest internal value, and
  867. may reject unrecognized values.
  868. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  869. type: string
  870. kind:
  871. description: |-
  872. Kind is a string value representing the REST resource this object represents.
  873. Servers may infer this from the endpoint the client submits requests to.
  874. Cannot be updated.
  875. In CamelCase.
  876. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  877. type: string
  878. metadata:
  879. type: object
  880. spec:
  881. description: ExternalSecretSpec defines the desired state of ExternalSecret.
  882. properties:
  883. data:
  884. description: Data defines the connection between the Kubernetes Secret
  885. keys and the Provider data
  886. items:
  887. description: ExternalSecretData defines the connection between the
  888. Kubernetes Secret key (spec.data.<key>) and the Provider data.
  889. properties:
  890. remoteRef:
  891. description: |-
  892. RemoteRef points to the remote secret and defines
  893. which secret (version/property/..) to fetch.
  894. properties:
  895. conversionStrategy:
  896. default: Default
  897. description: Used to define a conversion Strategy
  898. enum:
  899. - Default
  900. - Unicode
  901. type: string
  902. decodingStrategy:
  903. default: None
  904. description: Used to define a decoding Strategy
  905. enum:
  906. - Auto
  907. - Base64
  908. - Base64URL
  909. - None
  910. type: string
  911. key:
  912. description: Key is the key used in the Provider, mandatory
  913. type: string
  914. metadataPolicy:
  915. default: None
  916. description: Policy for fetching tags/labels from provider
  917. secrets, possible options are Fetch, None. Defaults to
  918. None
  919. enum:
  920. - None
  921. - Fetch
  922. type: string
  923. property:
  924. description: Used to select a specific property of the Provider
  925. value (if a map), if supported
  926. type: string
  927. version:
  928. description: Used to select a specific version of the Provider
  929. value, if supported
  930. type: string
  931. required:
  932. - key
  933. type: object
  934. secretKey:
  935. description: The key in the Kubernetes Secret to store the value.
  936. maxLength: 253
  937. minLength: 1
  938. pattern: ^[-._a-zA-Z0-9]+$
  939. type: string
  940. sourceRef:
  941. description: |-
  942. SourceRef allows you to override the source
  943. from which the value will be pulled.
  944. maxProperties: 1
  945. minProperties: 1
  946. properties:
  947. generatorRef:
  948. description: |-
  949. GeneratorRef points to a generator custom resource.
  950. Deprecated: The generatorRef is not implemented in .data[].
  951. this will be removed with v1.
  952. properties:
  953. apiVersion:
  954. default: generators.external-secrets.io/v1alpha1
  955. description: Specify the apiVersion of the generator
  956. resource
  957. type: string
  958. kind:
  959. description: Specify the Kind of the generator resource
  960. enum:
  961. - ACRAccessToken
  962. - ClusterGenerator
  963. - ECRAuthorizationToken
  964. - Fake
  965. - GCRAccessToken
  966. - GithubAccessToken
  967. - QuayAccessToken
  968. - Password
  969. - SSHKey
  970. - STSSessionToken
  971. - UUID
  972. - VaultDynamicSecret
  973. - Webhook
  974. - Grafana
  975. type: string
  976. name:
  977. description: Specify the name of the generator resource
  978. maxLength: 253
  979. minLength: 1
  980. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  981. type: string
  982. required:
  983. - kind
  984. - name
  985. type: object
  986. storeRef:
  987. description: SecretStoreRef defines which SecretStore to
  988. fetch the ExternalSecret data.
  989. properties:
  990. kind:
  991. description: |-
  992. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  993. Defaults to `SecretStore`
  994. enum:
  995. - SecretStore
  996. - ClusterSecretStore
  997. type: string
  998. name:
  999. description: Name of the SecretStore resource
  1000. maxLength: 253
  1001. minLength: 1
  1002. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1003. type: string
  1004. type: object
  1005. type: object
  1006. required:
  1007. - remoteRef
  1008. - secretKey
  1009. type: object
  1010. type: array
  1011. dataFrom:
  1012. description: |-
  1013. DataFrom is used to fetch all properties from a specific Provider data
  1014. If multiple entries are specified, the Secret keys are merged in the specified order
  1015. items:
  1016. description: ExternalSecretDataFromRemoteRef defines a reference
  1017. to multiple secrets in the provider to be fetched using options.
  1018. properties:
  1019. extract:
  1020. description: |-
  1021. Used to extract multiple key/value pairs from one secret
  1022. Note: Extract does not support sourceRef.Generator or sourceRef.GeneratorRef.
  1023. properties:
  1024. conversionStrategy:
  1025. default: Default
  1026. description: Used to define a conversion Strategy
  1027. enum:
  1028. - Default
  1029. - Unicode
  1030. type: string
  1031. decodingStrategy:
  1032. default: None
  1033. description: Used to define a decoding Strategy
  1034. enum:
  1035. - Auto
  1036. - Base64
  1037. - Base64URL
  1038. - None
  1039. type: string
  1040. key:
  1041. description: Key is the key used in the Provider, mandatory
  1042. type: string
  1043. metadataPolicy:
  1044. default: None
  1045. description: Policy for fetching tags/labels from provider
  1046. secrets, possible options are Fetch, None. Defaults to
  1047. None
  1048. enum:
  1049. - None
  1050. - Fetch
  1051. type: string
  1052. property:
  1053. description: Used to select a specific property of the Provider
  1054. value (if a map), if supported
  1055. type: string
  1056. version:
  1057. description: Used to select a specific version of the Provider
  1058. value, if supported
  1059. type: string
  1060. required:
  1061. - key
  1062. type: object
  1063. find:
  1064. description: |-
  1065. Used to find secrets based on tags or regular expressions
  1066. Note: Find does not support sourceRef.Generator or sourceRef.GeneratorRef.
  1067. properties:
  1068. conversionStrategy:
  1069. default: Default
  1070. description: Used to define a conversion Strategy
  1071. enum:
  1072. - Default
  1073. - Unicode
  1074. type: string
  1075. decodingStrategy:
  1076. default: None
  1077. description: Used to define a decoding Strategy
  1078. enum:
  1079. - Auto
  1080. - Base64
  1081. - Base64URL
  1082. - None
  1083. type: string
  1084. name:
  1085. description: Finds secrets based on the name.
  1086. properties:
  1087. regexp:
  1088. description: Finds secrets base
  1089. type: string
  1090. type: object
  1091. path:
  1092. description: A root path to start the find operations.
  1093. type: string
  1094. tags:
  1095. additionalProperties:
  1096. type: string
  1097. description: Find secrets based on tags.
  1098. type: object
  1099. type: object
  1100. rewrite:
  1101. description: |-
  1102. Used to rewrite secret Keys after getting them from the secret Provider
  1103. Multiple Rewrite operations can be provided. They are applied in a layered order (first to last)
  1104. items:
  1105. description: ExternalSecretRewrite defines rules on how to
  1106. rewrite secret keys.
  1107. maxProperties: 1
  1108. minProperties: 1
  1109. properties:
  1110. regexp:
  1111. description: |-
  1112. Used to rewrite with regular expressions.
  1113. The resulting key will be the output of a regexp.ReplaceAll operation.
  1114. properties:
  1115. source:
  1116. description: Used to define the regular expression
  1117. of a re.Compiler.
  1118. type: string
  1119. target:
  1120. description: Used to define the target pattern of
  1121. a ReplaceAll operation.
  1122. type: string
  1123. required:
  1124. - source
  1125. - target
  1126. type: object
  1127. transform:
  1128. description: |-
  1129. Used to apply string transformation on the secrets.
  1130. The resulting key will be the output of the template applied by the operation.
  1131. properties:
  1132. template:
  1133. description: |-
  1134. Used to define the template to apply on the secret name.
  1135. `.value ` will specify the secret name in the template.
  1136. type: string
  1137. required:
  1138. - template
  1139. type: object
  1140. type: object
  1141. type: array
  1142. sourceRef:
  1143. description: |-
  1144. SourceRef points to a store or generator
  1145. which contains secret values ready to use.
  1146. Use this in combination with Extract or Find pull values out of
  1147. a specific SecretStore.
  1148. When sourceRef points to a generator Extract or Find is not supported.
  1149. The generator returns a static map of values
  1150. maxProperties: 1
  1151. minProperties: 1
  1152. properties:
  1153. generatorRef:
  1154. description: GeneratorRef points to a generator custom resource.
  1155. properties:
  1156. apiVersion:
  1157. default: generators.external-secrets.io/v1alpha1
  1158. description: Specify the apiVersion of the generator
  1159. resource
  1160. type: string
  1161. kind:
  1162. description: Specify the Kind of the generator resource
  1163. enum:
  1164. - ACRAccessToken
  1165. - ClusterGenerator
  1166. - ECRAuthorizationToken
  1167. - Fake
  1168. - GCRAccessToken
  1169. - GithubAccessToken
  1170. - QuayAccessToken
  1171. - Password
  1172. - SSHKey
  1173. - STSSessionToken
  1174. - UUID
  1175. - VaultDynamicSecret
  1176. - Webhook
  1177. - Grafana
  1178. type: string
  1179. name:
  1180. description: Specify the name of the generator resource
  1181. maxLength: 253
  1182. minLength: 1
  1183. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1184. type: string
  1185. required:
  1186. - kind
  1187. - name
  1188. type: object
  1189. storeRef:
  1190. description: SecretStoreRef defines which SecretStore to
  1191. fetch the ExternalSecret data.
  1192. properties:
  1193. kind:
  1194. description: |-
  1195. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  1196. Defaults to `SecretStore`
  1197. enum:
  1198. - SecretStore
  1199. - ClusterSecretStore
  1200. type: string
  1201. name:
  1202. description: Name of the SecretStore resource
  1203. maxLength: 253
  1204. minLength: 1
  1205. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1206. type: string
  1207. type: object
  1208. type: object
  1209. type: object
  1210. type: array
  1211. refreshInterval:
  1212. default: 1h0m0s
  1213. description: |-
  1214. RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
  1215. specified as Golang Duration strings.
  1216. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
  1217. Example values: "1h0m0s", "2h30m0s", "10m0s"
  1218. May be set to "0s" to fetch and create it once. Defaults to 1h0m0s.
  1219. type: string
  1220. refreshPolicy:
  1221. description: |-
  1222. RefreshPolicy determines how the ExternalSecret should be refreshed:
  1223. - CreatedOnce: Creates the Secret only if it does not exist and does not update it thereafter
  1224. - Periodic: Synchronizes the Secret from the external source at regular intervals specified by refreshInterval.
  1225. No periodic updates occur if refreshInterval is 0.
  1226. - OnChange: Only synchronizes the Secret when the ExternalSecret's metadata or specification changes
  1227. enum:
  1228. - CreatedOnce
  1229. - Periodic
  1230. - OnChange
  1231. type: string
  1232. secretStoreRef:
  1233. description: SecretStoreRef defines which SecretStore to fetch the
  1234. ExternalSecret data.
  1235. properties:
  1236. kind:
  1237. description: |-
  1238. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  1239. Defaults to `SecretStore`
  1240. enum:
  1241. - SecretStore
  1242. - ClusterSecretStore
  1243. type: string
  1244. name:
  1245. description: Name of the SecretStore resource
  1246. maxLength: 253
  1247. minLength: 1
  1248. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1249. type: string
  1250. type: object
  1251. target:
  1252. default:
  1253. creationPolicy: Owner
  1254. deletionPolicy: Retain
  1255. description: |-
  1256. ExternalSecretTarget defines the Kubernetes Secret to be created
  1257. There can be only one target per ExternalSecret.
  1258. properties:
  1259. creationPolicy:
  1260. default: Owner
  1261. description: |-
  1262. CreationPolicy defines rules on how to create the resulting Secret.
  1263. Defaults to "Owner"
  1264. enum:
  1265. - Owner
  1266. - Orphan
  1267. - Merge
  1268. - None
  1269. type: string
  1270. deletionPolicy:
  1271. default: Retain
  1272. description: |-
  1273. DeletionPolicy defines rules on how to delete the resulting Secret.
  1274. Defaults to "Retain"
  1275. enum:
  1276. - Delete
  1277. - Merge
  1278. - Retain
  1279. type: string
  1280. immutable:
  1281. description: Immutable defines if the final secret will be immutable
  1282. type: boolean
  1283. name:
  1284. description: |-
  1285. The name of the Secret resource to be managed.
  1286. Defaults to the .metadata.name of the ExternalSecret resource
  1287. maxLength: 253
  1288. minLength: 1
  1289. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1290. type: string
  1291. template:
  1292. description: Template defines a blueprint for the created Secret
  1293. resource.
  1294. properties:
  1295. data:
  1296. additionalProperties:
  1297. type: string
  1298. type: object
  1299. engineVersion:
  1300. default: v2
  1301. description: |-
  1302. EngineVersion specifies the template engine version
  1303. that should be used to compile/execute the
  1304. template specified in .data and .templateFrom[].
  1305. enum:
  1306. - v2
  1307. type: string
  1308. mergePolicy:
  1309. default: Replace
  1310. description: TemplateMergePolicy defines how template values
  1311. should be merged when generating a secret.
  1312. enum:
  1313. - Replace
  1314. - Merge
  1315. type: string
  1316. metadata:
  1317. description: ExternalSecretTemplateMetadata defines metadata
  1318. fields for the Secret blueprint.
  1319. properties:
  1320. annotations:
  1321. additionalProperties:
  1322. type: string
  1323. type: object
  1324. labels:
  1325. additionalProperties:
  1326. type: string
  1327. type: object
  1328. type: object
  1329. templateFrom:
  1330. items:
  1331. description: TemplateFrom defines a source for template
  1332. data.
  1333. properties:
  1334. configMap:
  1335. description: TemplateRef defines a reference to a template
  1336. source in a ConfigMap or Secret.
  1337. properties:
  1338. items:
  1339. description: A list of keys in the ConfigMap/Secret
  1340. to use as templates for Secret data
  1341. items:
  1342. description: TemplateRefItem defines which key
  1343. in the referenced ConfigMap or Secret to use
  1344. as a template.
  1345. properties:
  1346. key:
  1347. description: A key in the ConfigMap/Secret
  1348. maxLength: 253
  1349. minLength: 1
  1350. pattern: ^[-._a-zA-Z0-9]+$
  1351. type: string
  1352. templateAs:
  1353. default: Values
  1354. description: TemplateScope defines the scope
  1355. of the template when processing template
  1356. data.
  1357. enum:
  1358. - Values
  1359. - KeysAndValues
  1360. type: string
  1361. required:
  1362. - key
  1363. type: object
  1364. type: array
  1365. name:
  1366. description: The name of the ConfigMap/Secret resource
  1367. maxLength: 253
  1368. minLength: 1
  1369. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1370. type: string
  1371. required:
  1372. - items
  1373. - name
  1374. type: object
  1375. literal:
  1376. type: string
  1377. secret:
  1378. description: TemplateRef defines a reference to a template
  1379. source in a ConfigMap or Secret.
  1380. properties:
  1381. items:
  1382. description: A list of keys in the ConfigMap/Secret
  1383. to use as templates for Secret data
  1384. items:
  1385. description: TemplateRefItem defines which key
  1386. in the referenced ConfigMap or Secret to use
  1387. as a template.
  1388. properties:
  1389. key:
  1390. description: A key in the ConfigMap/Secret
  1391. maxLength: 253
  1392. minLength: 1
  1393. pattern: ^[-._a-zA-Z0-9]+$
  1394. type: string
  1395. templateAs:
  1396. default: Values
  1397. description: TemplateScope defines the scope
  1398. of the template when processing template
  1399. data.
  1400. enum:
  1401. - Values
  1402. - KeysAndValues
  1403. type: string
  1404. required:
  1405. - key
  1406. type: object
  1407. type: array
  1408. name:
  1409. description: The name of the ConfigMap/Secret resource
  1410. maxLength: 253
  1411. minLength: 1
  1412. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1413. type: string
  1414. required:
  1415. - items
  1416. - name
  1417. type: object
  1418. target:
  1419. default: Data
  1420. description: TemplateTarget defines the target field
  1421. where the template result will be stored.
  1422. enum:
  1423. - Data
  1424. - Annotations
  1425. - Labels
  1426. type: string
  1427. type: object
  1428. type: array
  1429. type:
  1430. type: string
  1431. type: object
  1432. type: object
  1433. type: object
  1434. status:
  1435. description: ExternalSecretStatus defines the observed state of ExternalSecret.
  1436. properties:
  1437. binding:
  1438. description: Binding represents a servicebinding.io Provisioned Service
  1439. reference to the secret
  1440. properties:
  1441. name:
  1442. default: ""
  1443. description: |-
  1444. Name of the referent.
  1445. This field is effectively required, but due to backwards compatibility is
  1446. allowed to be empty. Instances of this type with an empty value here are
  1447. almost certainly wrong.
  1448. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
  1449. type: string
  1450. type: object
  1451. x-kubernetes-map-type: atomic
  1452. conditions:
  1453. items:
  1454. description: ExternalSecretStatusCondition contains condition information
  1455. for an ExternalSecret.
  1456. properties:
  1457. lastTransitionTime:
  1458. format: date-time
  1459. type: string
  1460. message:
  1461. type: string
  1462. reason:
  1463. type: string
  1464. status:
  1465. type: string
  1466. type:
  1467. description: ExternalSecretConditionType defines the condition
  1468. type for an ExternalSecret.
  1469. type: string
  1470. required:
  1471. - status
  1472. - type
  1473. type: object
  1474. type: array
  1475. refreshTime:
  1476. description: |-
  1477. refreshTime is the time and date the external secret was fetched and
  1478. the target secret updated
  1479. format: date-time
  1480. nullable: true
  1481. type: string
  1482. syncedResourceVersion:
  1483. description: SyncedResourceVersion keeps track of the last synced
  1484. version
  1485. type: string
  1486. type: object
  1487. type: object
  1488. served: false
  1489. storage: false
  1490. subresources:
  1491. status: {}