external-secrets.io_clusterexternalsecrets.yaml 77 KB

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