external-secrets.io_clusterexternalsecrets.yaml 75 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.17.3
  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. name: v1beta1
  790. schema:
  791. openAPIV3Schema:
  792. description: ClusterExternalSecret is the Schema for the clusterexternalsecrets
  793. API.
  794. properties:
  795. apiVersion:
  796. description: |-
  797. APIVersion defines the versioned schema of this representation of an object.
  798. Servers should convert recognized schemas to the latest internal value, and
  799. may reject unrecognized values.
  800. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  801. type: string
  802. kind:
  803. description: |-
  804. Kind is a string value representing the REST resource this object represents.
  805. Servers may infer this from the endpoint the client submits requests to.
  806. Cannot be updated.
  807. In CamelCase.
  808. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  809. type: string
  810. metadata:
  811. type: object
  812. spec:
  813. description: ClusterExternalSecretSpec defines the desired state of ClusterExternalSecret.
  814. properties:
  815. externalSecretMetadata:
  816. description: The metadata of the external secrets to be created
  817. properties:
  818. annotations:
  819. additionalProperties:
  820. type: string
  821. type: object
  822. labels:
  823. additionalProperties:
  824. type: string
  825. type: object
  826. type: object
  827. externalSecretName:
  828. description: |-
  829. The name of the external secrets to be created.
  830. Defaults to the name of the ClusterExternalSecret
  831. maxLength: 253
  832. minLength: 1
  833. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  834. type: string
  835. externalSecretSpec:
  836. description: The spec for the ExternalSecrets to be created
  837. properties:
  838. data:
  839. description: Data defines the connection between the Kubernetes
  840. Secret keys and the Provider data
  841. items:
  842. description: ExternalSecretData defines the connection between
  843. the Kubernetes Secret key (spec.data.<key>) and the Provider
  844. data.
  845. properties:
  846. remoteRef:
  847. description: |-
  848. RemoteRef points to the remote secret and defines
  849. which secret (version/property/..) to fetch.
  850. properties:
  851. conversionStrategy:
  852. default: Default
  853. description: Used to define a conversion Strategy
  854. enum:
  855. - Default
  856. - Unicode
  857. type: string
  858. decodingStrategy:
  859. default: None
  860. description: Used to define a decoding Strategy
  861. enum:
  862. - Auto
  863. - Base64
  864. - Base64URL
  865. - None
  866. type: string
  867. key:
  868. description: Key is the key used in the Provider, mandatory
  869. type: string
  870. metadataPolicy:
  871. default: None
  872. description: Policy for fetching tags/labels from provider
  873. secrets, possible options are Fetch, None. Defaults
  874. to None
  875. enum:
  876. - None
  877. - Fetch
  878. type: string
  879. property:
  880. description: Used to select a specific property of the
  881. Provider value (if a map), if supported
  882. type: string
  883. version:
  884. description: Used to select a specific version of the
  885. Provider value, if supported
  886. type: string
  887. required:
  888. - key
  889. type: object
  890. secretKey:
  891. description: The key in the Kubernetes Secret to store the
  892. value.
  893. maxLength: 253
  894. minLength: 1
  895. pattern: ^[-._a-zA-Z0-9]+$
  896. type: string
  897. sourceRef:
  898. description: |-
  899. SourceRef allows you to override the source
  900. from which the value will be pulled.
  901. maxProperties: 1
  902. minProperties: 1
  903. properties:
  904. generatorRef:
  905. description: |-
  906. GeneratorRef points to a generator custom resource.
  907. Deprecated: The generatorRef is not implemented in .data[].
  908. this will be removed with v1.
  909. properties:
  910. apiVersion:
  911. default: generators.external-secrets.io/v1alpha1
  912. description: Specify the apiVersion of the generator
  913. resource
  914. type: string
  915. kind:
  916. description: Specify the Kind of the generator resource
  917. enum:
  918. - ACRAccessToken
  919. - ClusterGenerator
  920. - ECRAuthorizationToken
  921. - Fake
  922. - GCRAccessToken
  923. - GithubAccessToken
  924. - QuayAccessToken
  925. - Password
  926. - STSSessionToken
  927. - UUID
  928. - VaultDynamicSecret
  929. - Webhook
  930. - Grafana
  931. type: string
  932. name:
  933. description: Specify the name of the generator resource
  934. maxLength: 253
  935. minLength: 1
  936. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  937. type: string
  938. required:
  939. - kind
  940. - name
  941. type: object
  942. storeRef:
  943. description: SecretStoreRef defines which SecretStore
  944. to fetch the ExternalSecret data.
  945. properties:
  946. kind:
  947. description: |-
  948. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  949. Defaults to `SecretStore`
  950. enum:
  951. - SecretStore
  952. - ClusterSecretStore
  953. type: string
  954. name:
  955. description: Name of the SecretStore resource
  956. maxLength: 253
  957. minLength: 1
  958. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  959. type: string
  960. type: object
  961. type: object
  962. required:
  963. - remoteRef
  964. - secretKey
  965. type: object
  966. type: array
  967. dataFrom:
  968. description: |-
  969. DataFrom is used to fetch all properties from a specific Provider data
  970. If multiple entries are specified, the Secret keys are merged in the specified order
  971. items:
  972. properties:
  973. extract:
  974. description: |-
  975. Used to extract multiple key/value pairs from one secret
  976. Note: Extract does not support sourceRef.Generator or sourceRef.GeneratorRef.
  977. properties:
  978. conversionStrategy:
  979. default: Default
  980. description: Used to define a conversion Strategy
  981. enum:
  982. - Default
  983. - Unicode
  984. type: string
  985. decodingStrategy:
  986. default: None
  987. description: Used to define a decoding Strategy
  988. enum:
  989. - Auto
  990. - Base64
  991. - Base64URL
  992. - None
  993. type: string
  994. key:
  995. description: Key is the key used in the Provider, mandatory
  996. type: string
  997. metadataPolicy:
  998. default: None
  999. description: Policy for fetching tags/labels from provider
  1000. secrets, possible options are Fetch, None. Defaults
  1001. to None
  1002. enum:
  1003. - None
  1004. - Fetch
  1005. type: string
  1006. property:
  1007. description: Used to select a specific property of the
  1008. Provider value (if a map), if supported
  1009. type: string
  1010. version:
  1011. description: Used to select a specific version of the
  1012. Provider value, if supported
  1013. type: string
  1014. required:
  1015. - key
  1016. type: object
  1017. find:
  1018. description: |-
  1019. Used to find secrets based on tags or regular expressions
  1020. Note: Find does not support sourceRef.Generator or sourceRef.GeneratorRef.
  1021. properties:
  1022. conversionStrategy:
  1023. default: Default
  1024. description: Used to define a conversion Strategy
  1025. enum:
  1026. - Default
  1027. - Unicode
  1028. type: string
  1029. decodingStrategy:
  1030. default: None
  1031. description: Used to define a decoding Strategy
  1032. enum:
  1033. - Auto
  1034. - Base64
  1035. - Base64URL
  1036. - None
  1037. type: string
  1038. name:
  1039. description: Finds secrets based on the name.
  1040. properties:
  1041. regexp:
  1042. description: Finds secrets base
  1043. type: string
  1044. type: object
  1045. path:
  1046. description: A root path to start the find operations.
  1047. type: string
  1048. tags:
  1049. additionalProperties:
  1050. type: string
  1051. description: Find secrets based on tags.
  1052. type: object
  1053. type: object
  1054. rewrite:
  1055. description: |-
  1056. Used to rewrite secret Keys after getting them from the secret Provider
  1057. Multiple Rewrite operations can be provided. They are applied in a layered order (first to last)
  1058. items:
  1059. properties:
  1060. regexp:
  1061. description: |-
  1062. Used to rewrite with regular expressions.
  1063. The resulting key will be the output of a regexp.ReplaceAll operation.
  1064. properties:
  1065. source:
  1066. description: Used to define the regular expression
  1067. of a re.Compiler.
  1068. type: string
  1069. target:
  1070. description: Used to define the target pattern
  1071. of a ReplaceAll operation.
  1072. type: string
  1073. required:
  1074. - source
  1075. - target
  1076. type: object
  1077. transform:
  1078. description: |-
  1079. Used to apply string transformation on the secrets.
  1080. The resulting key will be the output of the template applied by the operation.
  1081. properties:
  1082. template:
  1083. description: |-
  1084. Used to define the template to apply on the secret name.
  1085. `.value ` will specify the secret name in the template.
  1086. type: string
  1087. required:
  1088. - template
  1089. type: object
  1090. type: object
  1091. type: array
  1092. sourceRef:
  1093. description: |-
  1094. SourceRef points to a store or generator
  1095. which contains secret values ready to use.
  1096. Use this in combination with Extract or Find pull values out of
  1097. a specific SecretStore.
  1098. When sourceRef points to a generator Extract or Find is not supported.
  1099. The generator returns a static map of values
  1100. maxProperties: 1
  1101. minProperties: 1
  1102. properties:
  1103. generatorRef:
  1104. description: GeneratorRef points to a generator custom
  1105. resource.
  1106. properties:
  1107. apiVersion:
  1108. default: generators.external-secrets.io/v1alpha1
  1109. description: Specify the apiVersion of the generator
  1110. resource
  1111. type: string
  1112. kind:
  1113. description: Specify the Kind of the generator resource
  1114. enum:
  1115. - ACRAccessToken
  1116. - ClusterGenerator
  1117. - ECRAuthorizationToken
  1118. - Fake
  1119. - GCRAccessToken
  1120. - GithubAccessToken
  1121. - QuayAccessToken
  1122. - Password
  1123. - STSSessionToken
  1124. - UUID
  1125. - VaultDynamicSecret
  1126. - Webhook
  1127. - Grafana
  1128. type: string
  1129. name:
  1130. description: Specify the name of the generator resource
  1131. maxLength: 253
  1132. minLength: 1
  1133. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1134. type: string
  1135. required:
  1136. - kind
  1137. - name
  1138. type: object
  1139. storeRef:
  1140. description: SecretStoreRef defines which SecretStore
  1141. to fetch the ExternalSecret data.
  1142. properties:
  1143. kind:
  1144. description: |-
  1145. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  1146. Defaults to `SecretStore`
  1147. enum:
  1148. - SecretStore
  1149. - ClusterSecretStore
  1150. type: string
  1151. name:
  1152. description: Name of the SecretStore resource
  1153. maxLength: 253
  1154. minLength: 1
  1155. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1156. type: string
  1157. type: object
  1158. type: object
  1159. type: object
  1160. type: array
  1161. refreshInterval:
  1162. default: 1h
  1163. description: |-
  1164. RefreshInterval is the amount of time before the values are read again from the SecretStore provider,
  1165. specified as Golang Duration strings.
  1166. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
  1167. Example values: "1h", "2h30m", "10s"
  1168. May be set to zero to fetch and create it once. Defaults to 1h.
  1169. type: string
  1170. refreshPolicy:
  1171. description: |-
  1172. RefreshPolicy determines how the ExternalSecret should be refreshed:
  1173. - CreatedOnce: Creates the Secret only if it does not exist and does not update it thereafter
  1174. - Periodic: Synchronizes the Secret from the external source at regular intervals specified by refreshInterval.
  1175. No periodic updates occur if refreshInterval is 0.
  1176. - OnChange: Only synchronizes the Secret when the ExternalSecret's metadata or specification changes
  1177. enum:
  1178. - CreatedOnce
  1179. - Periodic
  1180. - OnChange
  1181. type: string
  1182. secretStoreRef:
  1183. description: SecretStoreRef defines which SecretStore to fetch
  1184. the ExternalSecret data.
  1185. properties:
  1186. kind:
  1187. description: |-
  1188. Kind of the SecretStore resource (SecretStore or ClusterSecretStore)
  1189. Defaults to `SecretStore`
  1190. enum:
  1191. - SecretStore
  1192. - ClusterSecretStore
  1193. type: string
  1194. name:
  1195. description: Name of the SecretStore resource
  1196. maxLength: 253
  1197. minLength: 1
  1198. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1199. type: string
  1200. type: object
  1201. target:
  1202. default:
  1203. creationPolicy: Owner
  1204. deletionPolicy: Retain
  1205. description: |-
  1206. ExternalSecretTarget defines the Kubernetes Secret to be created
  1207. There can be only one target per ExternalSecret.
  1208. properties:
  1209. creationPolicy:
  1210. default: Owner
  1211. description: |-
  1212. CreationPolicy defines rules on how to create the resulting Secret.
  1213. Defaults to "Owner"
  1214. enum:
  1215. - Owner
  1216. - Orphan
  1217. - Merge
  1218. - None
  1219. type: string
  1220. deletionPolicy:
  1221. default: Retain
  1222. description: |-
  1223. DeletionPolicy defines rules on how to delete the resulting Secret.
  1224. Defaults to "Retain"
  1225. enum:
  1226. - Delete
  1227. - Merge
  1228. - Retain
  1229. type: string
  1230. immutable:
  1231. description: Immutable defines if the final secret will be
  1232. immutable
  1233. type: boolean
  1234. name:
  1235. description: |-
  1236. The name of the Secret resource to be managed.
  1237. Defaults to the .metadata.name of the ExternalSecret resource
  1238. maxLength: 253
  1239. minLength: 1
  1240. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1241. type: string
  1242. template:
  1243. description: Template defines a blueprint for the created
  1244. Secret resource.
  1245. properties:
  1246. data:
  1247. additionalProperties:
  1248. type: string
  1249. type: object
  1250. engineVersion:
  1251. default: v2
  1252. description: |-
  1253. EngineVersion specifies the template engine version
  1254. that should be used to compile/execute the
  1255. template specified in .data and .templateFrom[].
  1256. enum:
  1257. - v2
  1258. type: string
  1259. mergePolicy:
  1260. default: Replace
  1261. enum:
  1262. - Replace
  1263. - Merge
  1264. type: string
  1265. metadata:
  1266. description: ExternalSecretTemplateMetadata defines metadata
  1267. fields for the Secret blueprint.
  1268. properties:
  1269. annotations:
  1270. additionalProperties:
  1271. type: string
  1272. type: object
  1273. labels:
  1274. additionalProperties:
  1275. type: string
  1276. type: object
  1277. type: object
  1278. templateFrom:
  1279. items:
  1280. properties:
  1281. configMap:
  1282. properties:
  1283. items:
  1284. description: A list of keys in the ConfigMap/Secret
  1285. to use as templates for Secret data
  1286. items:
  1287. properties:
  1288. key:
  1289. description: A key in the ConfigMap/Secret
  1290. maxLength: 253
  1291. minLength: 1
  1292. pattern: ^[-._a-zA-Z0-9]+$
  1293. type: string
  1294. templateAs:
  1295. default: Values
  1296. enum:
  1297. - Values
  1298. - KeysAndValues
  1299. type: string
  1300. required:
  1301. - key
  1302. type: object
  1303. type: array
  1304. name:
  1305. description: The name of the ConfigMap/Secret
  1306. resource
  1307. maxLength: 253
  1308. minLength: 1
  1309. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1310. type: string
  1311. required:
  1312. - items
  1313. - name
  1314. type: object
  1315. literal:
  1316. type: string
  1317. secret:
  1318. properties:
  1319. items:
  1320. description: A list of keys in the ConfigMap/Secret
  1321. to use as templates for Secret data
  1322. items:
  1323. properties:
  1324. key:
  1325. description: A key in the ConfigMap/Secret
  1326. maxLength: 253
  1327. minLength: 1
  1328. pattern: ^[-._a-zA-Z0-9]+$
  1329. type: string
  1330. templateAs:
  1331. default: Values
  1332. enum:
  1333. - Values
  1334. - KeysAndValues
  1335. type: string
  1336. required:
  1337. - key
  1338. type: object
  1339. type: array
  1340. name:
  1341. description: The name of the ConfigMap/Secret
  1342. resource
  1343. maxLength: 253
  1344. minLength: 1
  1345. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1346. type: string
  1347. required:
  1348. - items
  1349. - name
  1350. type: object
  1351. target:
  1352. default: Data
  1353. enum:
  1354. - Data
  1355. - Annotations
  1356. - Labels
  1357. type: string
  1358. type: object
  1359. type: array
  1360. type:
  1361. type: string
  1362. type: object
  1363. type: object
  1364. type: object
  1365. namespaceSelector:
  1366. description: |-
  1367. The labels to select by to find the Namespaces to create the ExternalSecrets in.
  1368. Deprecated: Use NamespaceSelectors instead.
  1369. properties:
  1370. matchExpressions:
  1371. description: matchExpressions is a list of label selector requirements.
  1372. The requirements are ANDed.
  1373. items:
  1374. description: |-
  1375. A label selector requirement is a selector that contains values, a key, and an operator that
  1376. relates the key and values.
  1377. properties:
  1378. key:
  1379. description: key is the label key that the selector applies
  1380. to.
  1381. type: string
  1382. operator:
  1383. description: |-
  1384. operator represents a key's relationship to a set of values.
  1385. Valid operators are In, NotIn, Exists and DoesNotExist.
  1386. type: string
  1387. values:
  1388. description: |-
  1389. values is an array of string values. If the operator is In or NotIn,
  1390. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1391. the values array must be empty. This array is replaced during a strategic
  1392. merge patch.
  1393. items:
  1394. type: string
  1395. type: array
  1396. x-kubernetes-list-type: atomic
  1397. required:
  1398. - key
  1399. - operator
  1400. type: object
  1401. type: array
  1402. x-kubernetes-list-type: atomic
  1403. matchLabels:
  1404. additionalProperties:
  1405. type: string
  1406. description: |-
  1407. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1408. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1409. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1410. type: object
  1411. type: object
  1412. x-kubernetes-map-type: atomic
  1413. namespaceSelectors:
  1414. description: A list of labels to select by to find the Namespaces
  1415. to create the ExternalSecrets in. The selectors are ORed.
  1416. items:
  1417. description: |-
  1418. A label selector is a label query over a set of resources. The result of matchLabels and
  1419. matchExpressions are ANDed. An empty label selector matches all objects. A null
  1420. label selector matches no objects.
  1421. properties:
  1422. matchExpressions:
  1423. description: matchExpressions is a list of label selector requirements.
  1424. The requirements are ANDed.
  1425. items:
  1426. description: |-
  1427. A label selector requirement is a selector that contains values, a key, and an operator that
  1428. relates the key and values.
  1429. properties:
  1430. key:
  1431. description: key is the label key that the selector applies
  1432. to.
  1433. type: string
  1434. operator:
  1435. description: |-
  1436. operator represents a key's relationship to a set of values.
  1437. Valid operators are In, NotIn, Exists and DoesNotExist.
  1438. type: string
  1439. values:
  1440. description: |-
  1441. values is an array of string values. If the operator is In or NotIn,
  1442. the values array must be non-empty. If the operator is Exists or DoesNotExist,
  1443. the values array must be empty. This array is replaced during a strategic
  1444. merge patch.
  1445. items:
  1446. type: string
  1447. type: array
  1448. x-kubernetes-list-type: atomic
  1449. required:
  1450. - key
  1451. - operator
  1452. type: object
  1453. type: array
  1454. x-kubernetes-list-type: atomic
  1455. matchLabels:
  1456. additionalProperties:
  1457. type: string
  1458. description: |-
  1459. matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
  1460. map is equivalent to an element of matchExpressions, whose key field is "key", the
  1461. operator is "In", and the values array contains only "value". The requirements are ANDed.
  1462. type: object
  1463. type: object
  1464. x-kubernetes-map-type: atomic
  1465. type: array
  1466. namespaces:
  1467. description: |-
  1468. Choose namespaces by name. This field is ORed with anything that NamespaceSelectors ends up choosing.
  1469. Deprecated: Use NamespaceSelectors instead.
  1470. items:
  1471. maxLength: 63
  1472. minLength: 1
  1473. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1474. type: string
  1475. type: array
  1476. refreshTime:
  1477. description: The time in which the controller should reconcile its
  1478. objects and recheck namespaces for labels.
  1479. type: string
  1480. required:
  1481. - externalSecretSpec
  1482. type: object
  1483. status:
  1484. description: ClusterExternalSecretStatus defines the observed state of
  1485. ClusterExternalSecret.
  1486. properties:
  1487. conditions:
  1488. items:
  1489. properties:
  1490. message:
  1491. type: string
  1492. status:
  1493. type: string
  1494. type:
  1495. type: string
  1496. required:
  1497. - status
  1498. - type
  1499. type: object
  1500. type: array
  1501. externalSecretName:
  1502. description: ExternalSecretName is the name of the ExternalSecrets
  1503. created by the ClusterExternalSecret
  1504. type: string
  1505. failedNamespaces:
  1506. description: Failed namespaces are the namespaces that failed to apply
  1507. an ExternalSecret
  1508. items:
  1509. description: ClusterExternalSecretNamespaceFailure represents a
  1510. failed namespace deployment and it's reason.
  1511. properties:
  1512. namespace:
  1513. description: Namespace is the namespace that failed when trying
  1514. to apply an ExternalSecret
  1515. type: string
  1516. reason:
  1517. description: Reason is why the ExternalSecret failed to apply
  1518. to the namespace
  1519. type: string
  1520. required:
  1521. - namespace
  1522. type: object
  1523. type: array
  1524. provisionedNamespaces:
  1525. description: ProvisionedNamespaces are the namespaces where the ClusterExternalSecret
  1526. has secrets
  1527. items:
  1528. type: string
  1529. type: array
  1530. type: object
  1531. type: object
  1532. served: true
  1533. storage: false
  1534. subresources:
  1535. status: {}