external-secrets.io_externalsecrets.yaml 70 KB

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