external-secrets.io_clusterexternalsecrets.yaml 77 KB

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