external-secrets.io_clusterexternalsecrets.yaml 78 KB

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