external-secrets.io_clusterexternalsecrets.yaml 77 KB

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