external-secrets.io_clusterexternalsecrets.yaml 75 KB

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