generators.external-secrets.io_clustergenerators.yaml 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386
  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: clustergenerators.generators.external-secrets.io
  9. spec:
  10. group: generators.external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. - external-secrets-generators
  15. kind: ClusterGenerator
  16. listKind: ClusterGeneratorList
  17. plural: clustergenerators
  18. singular: clustergenerator
  19. scope: Cluster
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: ClusterGenerator represents a cluster-wide generator which can
  25. be referenced as part of `generatorRef` fields.
  26. properties:
  27. apiVersion:
  28. description: |-
  29. APIVersion defines the versioned schema of this representation of an object.
  30. Servers should convert recognized schemas to the latest internal value, and
  31. may reject unrecognized values.
  32. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  33. type: string
  34. kind:
  35. description: |-
  36. Kind is a string value representing the REST resource this object represents.
  37. Servers may infer this from the endpoint the client submits requests to.
  38. Cannot be updated.
  39. In CamelCase.
  40. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  41. type: string
  42. metadata:
  43. type: object
  44. spec:
  45. description: ClusterGeneratorSpec defines the desired state of a ClusterGenerator.
  46. properties:
  47. generator:
  48. description: Generator the spec for this generator, must match the
  49. kind.
  50. maxProperties: 1
  51. minProperties: 1
  52. properties:
  53. acrAccessTokenSpec:
  54. description: |-
  55. ACRAccessTokenSpec defines how to generate the access token
  56. e.g. how to authenticate and which registry to use.
  57. see: https://github.com/Azure/acr/blob/main/docs/AAD-OAuth.md#overview
  58. properties:
  59. auth:
  60. description: ACRAuth defines the authentication methods for
  61. Azure Container Registry.
  62. properties:
  63. managedIdentity:
  64. description: ManagedIdentity uses Azure Managed Identity
  65. to authenticate with Azure.
  66. properties:
  67. identityId:
  68. description: If multiple Managed Identity is assigned
  69. to the pod, you can select the one to be used
  70. type: string
  71. type: object
  72. servicePrincipal:
  73. description: ServicePrincipal uses Azure Service Principal
  74. credentials to authenticate with Azure.
  75. properties:
  76. secretRef:
  77. description: |-
  78. AzureACRServicePrincipalAuthSecretRef defines the secret references for Azure Service Principal authentication.
  79. It uses static credentials stored in a Kind=Secret.
  80. properties:
  81. clientId:
  82. description: The Azure clientId of the service
  83. principle used for authentication.
  84. properties:
  85. key:
  86. description: |-
  87. A key in the referenced Secret.
  88. Some instances of this field may be defaulted, in others it may be required.
  89. maxLength: 253
  90. minLength: 1
  91. pattern: ^[-._a-zA-Z0-9]+$
  92. type: string
  93. name:
  94. description: The name of the Secret resource
  95. being referred to.
  96. maxLength: 253
  97. minLength: 1
  98. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  99. type: string
  100. namespace:
  101. description: |-
  102. The namespace of the Secret resource being referred to.
  103. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  104. maxLength: 63
  105. minLength: 1
  106. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  107. type: string
  108. type: object
  109. clientSecret:
  110. description: The Azure ClientSecret of the service
  111. principle used for authentication.
  112. properties:
  113. key:
  114. description: |-
  115. A key in the referenced Secret.
  116. Some instances of this field may be defaulted, in others it may be required.
  117. maxLength: 253
  118. minLength: 1
  119. pattern: ^[-._a-zA-Z0-9]+$
  120. type: string
  121. name:
  122. description: The name of the Secret resource
  123. being referred to.
  124. maxLength: 253
  125. minLength: 1
  126. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  127. type: string
  128. namespace:
  129. description: |-
  130. The namespace of the Secret resource being referred to.
  131. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  132. maxLength: 63
  133. minLength: 1
  134. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  135. type: string
  136. type: object
  137. type: object
  138. required:
  139. - secretRef
  140. type: object
  141. workloadIdentity:
  142. description: WorkloadIdentity uses Azure Workload Identity
  143. to authenticate with Azure.
  144. properties:
  145. serviceAccountRef:
  146. description: |-
  147. ServiceAccountRef specified the service account
  148. that should be used when authenticating with WorkloadIdentity.
  149. properties:
  150. audiences:
  151. description: |-
  152. Audience specifies the `aud` claim for the service account token
  153. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  154. then this audiences will be appended to the list
  155. items:
  156. type: string
  157. type: array
  158. name:
  159. description: The name of the ServiceAccount resource
  160. being referred to.
  161. maxLength: 253
  162. minLength: 1
  163. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  164. type: string
  165. namespace:
  166. description: |-
  167. Namespace of the resource being referred to.
  168. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  169. maxLength: 63
  170. minLength: 1
  171. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  172. type: string
  173. required:
  174. - name
  175. type: object
  176. type: object
  177. type: object
  178. environmentType:
  179. default: PublicCloud
  180. description: |-
  181. EnvironmentType specifies the Azure cloud environment endpoints to use for
  182. connecting and authenticating with Azure. By default, it points to the public cloud AAD endpoint.
  183. The following endpoints are available, also see here: https://github.com/Azure/go-autorest/blob/main/autorest/azure/environments.go#L152
  184. PublicCloud, USGovernmentCloud, ChinaCloud, GermanCloud
  185. enum:
  186. - PublicCloud
  187. - USGovernmentCloud
  188. - ChinaCloud
  189. - GermanCloud
  190. - AzureStackCloud
  191. type: string
  192. registry:
  193. description: |-
  194. the domain name of the ACR registry
  195. e.g. foobarexample.azurecr.io
  196. type: string
  197. scope:
  198. description: |-
  199. Define the scope for the access token, e.g. pull/push access for a repository.
  200. if not provided it will return a refresh token that has full scope.
  201. Note: you need to pin it down to the repository level, there is no wildcard available.
  202. examples:
  203. repository:my-repository:pull,push
  204. repository:my-repository:pull
  205. see docs for details: https://docs.docker.com/registry/spec/auth/scope/
  206. type: string
  207. tenantId:
  208. description: TenantID configures the Azure Tenant to send
  209. requests to. Required for ServicePrincipal auth type.
  210. type: string
  211. required:
  212. - auth
  213. - registry
  214. type: object
  215. cloudsmithAccessTokenSpec:
  216. description: CloudsmithAccessTokenSpec defines the configuration
  217. for generating a Cloudsmith access token using OIDC authentication.
  218. properties:
  219. apiUrl:
  220. description: APIURL configures the Cloudsmith API URL. Defaults
  221. to https://api.cloudsmith.io.
  222. type: string
  223. orgSlug:
  224. description: OrgSlug is the organization slug in Cloudsmith
  225. type: string
  226. serviceAccountRef:
  227. description: Name of the service account you are federating
  228. with
  229. properties:
  230. audiences:
  231. description: |-
  232. Audience specifies the `aud` claim for the service account token
  233. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  234. then this audiences will be appended to the list
  235. items:
  236. type: string
  237. type: array
  238. name:
  239. description: The name of the ServiceAccount resource being
  240. referred to.
  241. maxLength: 253
  242. minLength: 1
  243. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  244. type: string
  245. namespace:
  246. description: |-
  247. Namespace of the resource being referred to.
  248. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  249. maxLength: 63
  250. minLength: 1
  251. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  252. type: string
  253. required:
  254. - name
  255. type: object
  256. serviceSlug:
  257. description: ServiceSlug is the service slug in Cloudsmith
  258. for OIDC authentication
  259. type: string
  260. required:
  261. - orgSlug
  262. - serviceAccountRef
  263. - serviceSlug
  264. type: object
  265. ecrAuthorizationTokenSpec:
  266. description: ECRAuthorizationTokenSpec defines the desired state
  267. to generate an AWS ECR authorization token.
  268. properties:
  269. auth:
  270. description: Auth defines how to authenticate with AWS
  271. properties:
  272. jwt:
  273. description: AWSJWTAuth provides configuration to authenticate
  274. against AWS using service account tokens.
  275. properties:
  276. serviceAccountRef:
  277. description: ServiceAccountSelector is a reference
  278. to a ServiceAccount resource.
  279. properties:
  280. audiences:
  281. description: |-
  282. Audience specifies the `aud` claim for the service account token
  283. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  284. then this audiences will be appended to the list
  285. items:
  286. type: string
  287. type: array
  288. name:
  289. description: The name of the ServiceAccount resource
  290. being referred to.
  291. maxLength: 253
  292. minLength: 1
  293. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  294. type: string
  295. namespace:
  296. description: |-
  297. Namespace of the resource being referred to.
  298. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  299. maxLength: 63
  300. minLength: 1
  301. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  302. type: string
  303. required:
  304. - name
  305. type: object
  306. type: object
  307. secretRef:
  308. description: |-
  309. AWSAuthSecretRef holds secret references for AWS credentials
  310. both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  311. properties:
  312. accessKeyIDSecretRef:
  313. description: The AccessKeyID is used for authentication
  314. properties:
  315. key:
  316. description: |-
  317. A key in the referenced Secret.
  318. Some instances of this field may be defaulted, in others it may be required.
  319. maxLength: 253
  320. minLength: 1
  321. pattern: ^[-._a-zA-Z0-9]+$
  322. type: string
  323. name:
  324. description: The name of the Secret resource being
  325. referred to.
  326. maxLength: 253
  327. minLength: 1
  328. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  329. type: string
  330. namespace:
  331. description: |-
  332. The namespace of the Secret resource being referred to.
  333. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  334. maxLength: 63
  335. minLength: 1
  336. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  337. type: string
  338. type: object
  339. secretAccessKeySecretRef:
  340. description: The SecretAccessKey is used for authentication
  341. properties:
  342. key:
  343. description: |-
  344. A key in the referenced Secret.
  345. Some instances of this field may be defaulted, in others it may be required.
  346. maxLength: 253
  347. minLength: 1
  348. pattern: ^[-._a-zA-Z0-9]+$
  349. type: string
  350. name:
  351. description: The name of the Secret resource being
  352. referred to.
  353. maxLength: 253
  354. minLength: 1
  355. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  356. type: string
  357. namespace:
  358. description: |-
  359. The namespace of the Secret resource being referred to.
  360. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  361. maxLength: 63
  362. minLength: 1
  363. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  364. type: string
  365. type: object
  366. sessionTokenSecretRef:
  367. description: |-
  368. The SessionToken used for authentication
  369. This must be defined if AccessKeyID and SecretAccessKey are temporary credentials
  370. see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html
  371. properties:
  372. key:
  373. description: |-
  374. A key in the referenced Secret.
  375. Some instances of this field may be defaulted, in others it may be required.
  376. maxLength: 253
  377. minLength: 1
  378. pattern: ^[-._a-zA-Z0-9]+$
  379. type: string
  380. name:
  381. description: The name of the Secret resource being
  382. referred to.
  383. maxLength: 253
  384. minLength: 1
  385. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  386. type: string
  387. namespace:
  388. description: |-
  389. The namespace of the Secret resource being referred to.
  390. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  391. maxLength: 63
  392. minLength: 1
  393. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  394. type: string
  395. type: object
  396. type: object
  397. type: object
  398. region:
  399. description: Region specifies the region to operate in.
  400. type: string
  401. role:
  402. description: |-
  403. You can assume a role before making calls to the
  404. desired AWS service.
  405. type: string
  406. scope:
  407. description: |-
  408. Scope specifies the ECR service scope.
  409. Valid options are private and public.
  410. type: string
  411. required:
  412. - region
  413. type: object
  414. fakeSpec:
  415. description: FakeSpec contains the static data.
  416. properties:
  417. controller:
  418. description: |-
  419. Used to select the correct ESO controller (think: ingress.ingressClassName)
  420. The ESO controller is instantiated with a specific controller name and filters VDS based on this property
  421. type: string
  422. data:
  423. additionalProperties:
  424. type: string
  425. description: |-
  426. Data defines the static data returned
  427. by this generator.
  428. type: object
  429. type: object
  430. gcrAccessTokenSpec:
  431. description: GCRAccessTokenSpec defines the desired state to generate
  432. a Google Container Registry access token.
  433. properties:
  434. auth:
  435. description: Auth defines the means for authenticating with
  436. GCP
  437. properties:
  438. secretRef:
  439. description: GCPSMAuthSecretRef defines the reference
  440. to a secret containing Google Cloud Platform credentials.
  441. properties:
  442. secretAccessKeySecretRef:
  443. description: The SecretAccessKey is used for authentication
  444. properties:
  445. key:
  446. description: |-
  447. A key in the referenced Secret.
  448. Some instances of this field may be defaulted, in others it may be required.
  449. maxLength: 253
  450. minLength: 1
  451. pattern: ^[-._a-zA-Z0-9]+$
  452. type: string
  453. name:
  454. description: The name of the Secret resource being
  455. referred to.
  456. maxLength: 253
  457. minLength: 1
  458. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  459. type: string
  460. namespace:
  461. description: |-
  462. The namespace of the Secret resource being referred to.
  463. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  464. maxLength: 63
  465. minLength: 1
  466. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  467. type: string
  468. type: object
  469. type: object
  470. workloadIdentity:
  471. description: GCPWorkloadIdentity defines the configuration
  472. for using GCP Workload Identity authentication.
  473. properties:
  474. clusterLocation:
  475. type: string
  476. clusterName:
  477. type: string
  478. clusterProjectID:
  479. type: string
  480. serviceAccountRef:
  481. description: ServiceAccountSelector is a reference
  482. to a ServiceAccount resource.
  483. properties:
  484. audiences:
  485. description: |-
  486. Audience specifies the `aud` claim for the service account token
  487. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  488. then this audiences will be appended to the list
  489. items:
  490. type: string
  491. type: array
  492. name:
  493. description: The name of the ServiceAccount resource
  494. being referred to.
  495. maxLength: 253
  496. minLength: 1
  497. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  498. type: string
  499. namespace:
  500. description: |-
  501. Namespace of the resource being referred to.
  502. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  503. maxLength: 63
  504. minLength: 1
  505. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  506. type: string
  507. required:
  508. - name
  509. type: object
  510. required:
  511. - clusterLocation
  512. - clusterName
  513. - serviceAccountRef
  514. type: object
  515. workloadIdentityFederation:
  516. description: GCPWorkloadIdentityFederation holds the configurations
  517. required for generating federated access tokens.
  518. properties:
  519. audience:
  520. description: |-
  521. audience is the Secure Token Service (STS) audience which contains the resource name for the workload identity pool and the provider identifier in that pool.
  522. If specified, Audience found in the external account credential config will be overridden with the configured value.
  523. audience must be provided when serviceAccountRef or awsSecurityCredentials is configured.
  524. type: string
  525. awsSecurityCredentials:
  526. description: |-
  527. awsSecurityCredentials is for configuring AWS region and credentials to use for obtaining the access token,
  528. when using the AWS metadata server is not an option.
  529. properties:
  530. awsCredentialsSecretRef:
  531. description: |-
  532. awsCredentialsSecretRef is the reference to the secret which holds the AWS credentials.
  533. Secret should be created with below names for keys
  534. - aws_access_key_id: Access Key ID, which is the unique identifier for the AWS account or the IAM user.
  535. - aws_secret_access_key: Secret Access Key, which is used to authenticate requests made to AWS services.
  536. - aws_session_token: Session Token, is the short-lived token to authenticate requests made to AWS services.
  537. properties:
  538. name:
  539. description: name of the secret.
  540. maxLength: 253
  541. minLength: 1
  542. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  543. type: string
  544. namespace:
  545. description: namespace in which the secret
  546. exists. If empty, secret will looked up
  547. in local namespace.
  548. maxLength: 63
  549. minLength: 1
  550. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  551. type: string
  552. required:
  553. - name
  554. type: object
  555. region:
  556. description: region is for configuring the AWS
  557. region to be used.
  558. example: ap-south-1
  559. maxLength: 50
  560. minLength: 1
  561. pattern: ^[a-z0-9-]+$
  562. type: string
  563. required:
  564. - awsCredentialsSecretRef
  565. - region
  566. type: object
  567. credConfig:
  568. description: |-
  569. credConfig holds the configmap reference containing the GCP external account credential configuration in JSON format and the key name containing the json data.
  570. For using Kubernetes cluster as the identity provider, use serviceAccountRef instead. Operators mounted serviceaccount token cannot be used as the token source, instead
  571. serviceAccountRef must be used by providing operators service account details.
  572. properties:
  573. key:
  574. description: key name holding the external account
  575. credential config.
  576. maxLength: 253
  577. minLength: 1
  578. pattern: ^[-._a-zA-Z0-9]+$
  579. type: string
  580. name:
  581. description: name of the configmap.
  582. maxLength: 253
  583. minLength: 1
  584. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  585. type: string
  586. namespace:
  587. description: namespace in which the configmap
  588. exists. If empty, configmap will looked up in
  589. local namespace.
  590. maxLength: 63
  591. minLength: 1
  592. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  593. type: string
  594. required:
  595. - key
  596. - name
  597. type: object
  598. externalTokenEndpoint:
  599. description: |-
  600. externalTokenEndpoint is the endpoint explicitly set up to provide tokens, which will be matched against the
  601. credential_source.url in the provided credConfig. This field is merely to double-check the external token source
  602. URL is having the expected value.
  603. type: string
  604. serviceAccountRef:
  605. description: |-
  606. serviceAccountRef is the reference to the kubernetes ServiceAccount to be used for obtaining the tokens,
  607. when Kubernetes is configured as provider in workload identity pool.
  608. properties:
  609. audiences:
  610. description: |-
  611. Audience specifies the `aud` claim for the service account token
  612. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  613. then this audiences will be appended to the list
  614. items:
  615. type: string
  616. type: array
  617. name:
  618. description: The name of the ServiceAccount resource
  619. being referred to.
  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. namespace:
  625. description: |-
  626. Namespace of the resource being referred to.
  627. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  628. maxLength: 63
  629. minLength: 1
  630. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  631. type: string
  632. required:
  633. - name
  634. type: object
  635. type: object
  636. type: object
  637. projectID:
  638. description: ProjectID defines which project to use to authenticate
  639. with
  640. type: string
  641. required:
  642. - auth
  643. - projectID
  644. type: object
  645. githubAccessTokenSpec:
  646. description: GithubAccessTokenSpec defines the desired state to
  647. generate a GitHub access token.
  648. properties:
  649. appID:
  650. type: string
  651. auth:
  652. description: Auth configures how ESO authenticates with a
  653. Github instance.
  654. properties:
  655. privateKey:
  656. description: GithubSecretRef references a secret containing
  657. GitHub credentials.
  658. properties:
  659. secretRef:
  660. description: |-
  661. SecretKeySelector is a reference to a specific 'key' within a Secret resource.
  662. In some instances, `key` is a required field.
  663. properties:
  664. key:
  665. description: |-
  666. A key in the referenced Secret.
  667. Some instances of this field may be defaulted, in others it may be required.
  668. maxLength: 253
  669. minLength: 1
  670. pattern: ^[-._a-zA-Z0-9]+$
  671. type: string
  672. name:
  673. description: The name of the Secret resource being
  674. referred to.
  675. maxLength: 253
  676. minLength: 1
  677. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  678. type: string
  679. namespace:
  680. description: |-
  681. The namespace of the Secret resource being referred to.
  682. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  683. maxLength: 63
  684. minLength: 1
  685. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  686. type: string
  687. type: object
  688. required:
  689. - secretRef
  690. type: object
  691. required:
  692. - privateKey
  693. type: object
  694. installID:
  695. type: string
  696. permissions:
  697. additionalProperties:
  698. type: string
  699. description: Map of permissions the token will have. If omitted,
  700. defaults to all permissions the GitHub App has.
  701. type: object
  702. repositories:
  703. description: |-
  704. List of repositories the token will have access to. If omitted, defaults to all repositories the GitHub App
  705. is installed to.
  706. items:
  707. type: string
  708. type: array
  709. url:
  710. description: URL configures the GitHub instance URL. Defaults
  711. to https://github.com/.
  712. type: string
  713. required:
  714. - appID
  715. - auth
  716. - installID
  717. type: object
  718. grafanaSpec:
  719. description: GrafanaSpec controls the behavior of the grafana
  720. generator.
  721. properties:
  722. auth:
  723. description: |-
  724. Auth is the authentication configuration to authenticate
  725. against the Grafana instance.
  726. properties:
  727. basic:
  728. description: |-
  729. Basic auth credentials used to authenticate against the Grafana instance.
  730. Note: you need a token which has elevated permissions to create service accounts.
  731. See here for the documentation on basic roles offered by Grafana:
  732. https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/rbac-fixed-basic-role-definitions/
  733. properties:
  734. password:
  735. description: A basic auth password used to authenticate
  736. against the Grafana instance.
  737. properties:
  738. key:
  739. description: The key where the token is found.
  740. maxLength: 253
  741. minLength: 1
  742. pattern: ^[-._a-zA-Z0-9]+$
  743. type: string
  744. name:
  745. description: The name of the Secret resource being
  746. referred to.
  747. maxLength: 253
  748. minLength: 1
  749. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  750. type: string
  751. type: object
  752. username:
  753. description: A basic auth username used to authenticate
  754. against the Grafana instance.
  755. type: string
  756. required:
  757. - password
  758. - username
  759. type: object
  760. token:
  761. description: |-
  762. A service account token used to authenticate against the Grafana instance.
  763. Note: you need a token which has elevated permissions to create service accounts.
  764. See here for the documentation on basic roles offered by Grafana:
  765. https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/rbac-fixed-basic-role-definitions/
  766. properties:
  767. key:
  768. description: The key where the token is found.
  769. maxLength: 253
  770. minLength: 1
  771. pattern: ^[-._a-zA-Z0-9]+$
  772. type: string
  773. name:
  774. description: The name of the Secret resource being
  775. referred to.
  776. maxLength: 253
  777. minLength: 1
  778. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  779. type: string
  780. type: object
  781. type: object
  782. serviceAccount:
  783. description: |-
  784. ServiceAccount is the configuration for the service account that
  785. is supposed to be generated by the generator.
  786. properties:
  787. name:
  788. description: Name is the name of the service account that
  789. will be created by ESO.
  790. type: string
  791. role:
  792. description: |-
  793. Role is the role of the service account.
  794. See here for the documentation on basic roles offered by Grafana:
  795. https://grafana.com/docs/grafana/latest/administration/roles-and-permissions/access-control/rbac-fixed-basic-role-definitions/
  796. type: string
  797. required:
  798. - name
  799. - role
  800. type: object
  801. url:
  802. description: URL is the URL of the Grafana instance.
  803. type: string
  804. required:
  805. - auth
  806. - serviceAccount
  807. - url
  808. type: object
  809. mfaSpec:
  810. description: MFASpec controls the behavior of the mfa generator.
  811. properties:
  812. algorithm:
  813. description: Algorithm to use for encoding. Defaults to SHA1
  814. as per the RFC.
  815. type: string
  816. length:
  817. description: Length defines the token length. Defaults to
  818. 6 characters.
  819. type: integer
  820. secret:
  821. description: Secret is a secret selector to a secret containing
  822. the seed secret to generate the TOTP value from.
  823. properties:
  824. key:
  825. description: |-
  826. A key in the referenced Secret.
  827. Some instances of this field may be defaulted, in others it may be required.
  828. maxLength: 253
  829. minLength: 1
  830. pattern: ^[-._a-zA-Z0-9]+$
  831. type: string
  832. name:
  833. description: The name of the Secret resource being referred
  834. to.
  835. maxLength: 253
  836. minLength: 1
  837. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  838. type: string
  839. namespace:
  840. description: |-
  841. The namespace of the Secret resource being referred to.
  842. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  843. maxLength: 63
  844. minLength: 1
  845. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  846. type: string
  847. type: object
  848. timePeriod:
  849. description: TimePeriod defines how long the token can be
  850. active. Defaults to 30 seconds.
  851. type: integer
  852. when:
  853. description: When defines a time parameter that can be used
  854. to pin the origin time of the generated token.
  855. format: date-time
  856. type: string
  857. required:
  858. - secret
  859. type: object
  860. passwordSpec:
  861. description: PasswordSpec controls the behavior of the password
  862. generator.
  863. properties:
  864. allowRepeat:
  865. default: false
  866. description: set AllowRepeat to true to allow repeating characters.
  867. type: boolean
  868. digits:
  869. description: |-
  870. Digits specifies the number of digits in the generated
  871. password. If omitted it defaults to 25% of the length of the password
  872. type: integer
  873. encoding:
  874. default: raw
  875. description: |-
  876. Encoding specifies the encoding of the generated password.
  877. Valid values are:
  878. - "raw" (default): no encoding
  879. - "base64": standard base64 encoding
  880. - "base64url": base64url encoding
  881. - "base32": base32 encoding
  882. - "hex": hexadecimal encoding
  883. enum:
  884. - base64
  885. - base64url
  886. - base32
  887. - hex
  888. - raw
  889. type: string
  890. length:
  891. default: 24
  892. description: |-
  893. Length of the password to be generated.
  894. Defaults to 24
  895. type: integer
  896. noUpper:
  897. default: false
  898. description: Set NoUpper to disable uppercase characters
  899. type: boolean
  900. secretKeys:
  901. description: |-
  902. SecretKeys defines the keys that will be populated with generated passwords.
  903. Defaults to "password" when not set.
  904. items:
  905. type: string
  906. minItems: 1
  907. type: array
  908. symbolCharacters:
  909. description: |-
  910. SymbolCharacters specifies the special characters that should be used
  911. in the generated password.
  912. type: string
  913. symbols:
  914. description: |-
  915. Symbols specifies the number of symbol characters in the generated
  916. password. If omitted it defaults to 25% of the length of the password
  917. type: integer
  918. required:
  919. - allowRepeat
  920. - length
  921. - noUpper
  922. type: object
  923. quayAccessTokenSpec:
  924. description: QuayAccessTokenSpec defines the desired state to
  925. generate a Quay access token.
  926. properties:
  927. robotAccount:
  928. description: Name of the robot account you are federating
  929. with
  930. type: string
  931. serviceAccountRef:
  932. description: Name of the service account you are federating
  933. with
  934. properties:
  935. audiences:
  936. description: |-
  937. Audience specifies the `aud` claim for the service account token
  938. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  939. then this audiences will be appended to the list
  940. items:
  941. type: string
  942. type: array
  943. name:
  944. description: The name of the ServiceAccount resource being
  945. referred to.
  946. maxLength: 253
  947. minLength: 1
  948. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  949. type: string
  950. namespace:
  951. description: |-
  952. Namespace of the resource being referred to.
  953. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  954. maxLength: 63
  955. minLength: 1
  956. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  957. type: string
  958. required:
  959. - name
  960. type: object
  961. url:
  962. description: URL configures the Quay instance URL. Defaults
  963. to quay.io.
  964. type: string
  965. required:
  966. - robotAccount
  967. - serviceAccountRef
  968. type: object
  969. sshKeySpec:
  970. description: SSHKeySpec controls the behavior of the ssh key generator.
  971. properties:
  972. comment:
  973. description: Comment specifies an optional comment for the
  974. SSH key
  975. type: string
  976. keySize:
  977. description: |-
  978. KeySize specifies the key size for RSA keys (default: 2048) and ECDSA keys (default: 256).
  979. For RSA keys: 2048, 3072, 4096
  980. For ECDSA keys: 256, 384, 521
  981. Ignored for ed25519 keys
  982. maximum: 8192
  983. minimum: 256
  984. type: integer
  985. keyType:
  986. default: rsa
  987. description: KeyType specifies the SSH key type (rsa, ecdsa,
  988. ed25519)
  989. enum:
  990. - rsa
  991. - ecdsa
  992. - ed25519
  993. type: string
  994. type: object
  995. stsSessionTokenSpec:
  996. description: STSSessionTokenSpec defines the desired state to
  997. generate an AWS STS session token.
  998. properties:
  999. auth:
  1000. description: Auth defines how to authenticate with AWS
  1001. properties:
  1002. jwt:
  1003. description: AWSJWTAuth provides configuration to authenticate
  1004. against AWS using service account tokens.
  1005. properties:
  1006. serviceAccountRef:
  1007. description: ServiceAccountSelector is a reference
  1008. to a ServiceAccount resource.
  1009. properties:
  1010. audiences:
  1011. description: |-
  1012. Audience specifies the `aud` claim for the service account token
  1013. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1014. then this audiences will be appended to the list
  1015. items:
  1016. type: string
  1017. type: array
  1018. name:
  1019. description: The name of the ServiceAccount resource
  1020. being referred to.
  1021. maxLength: 253
  1022. minLength: 1
  1023. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1024. type: string
  1025. namespace:
  1026. description: |-
  1027. Namespace of the resource being referred to.
  1028. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1029. maxLength: 63
  1030. minLength: 1
  1031. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1032. type: string
  1033. required:
  1034. - name
  1035. type: object
  1036. type: object
  1037. secretRef:
  1038. description: |-
  1039. AWSAuthSecretRef holds secret references for AWS credentials
  1040. both AccessKeyID and SecretAccessKey must be defined in order to properly authenticate.
  1041. properties:
  1042. accessKeyIDSecretRef:
  1043. description: The AccessKeyID is used for authentication
  1044. properties:
  1045. key:
  1046. description: |-
  1047. A key in the referenced Secret.
  1048. Some instances of this field may be defaulted, in others it may be required.
  1049. maxLength: 253
  1050. minLength: 1
  1051. pattern: ^[-._a-zA-Z0-9]+$
  1052. type: string
  1053. name:
  1054. description: The name of the Secret resource being
  1055. referred to.
  1056. maxLength: 253
  1057. minLength: 1
  1058. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1059. type: string
  1060. namespace:
  1061. description: |-
  1062. The namespace of the Secret resource being referred to.
  1063. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1064. maxLength: 63
  1065. minLength: 1
  1066. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1067. type: string
  1068. type: object
  1069. secretAccessKeySecretRef:
  1070. description: The SecretAccessKey is used for authentication
  1071. properties:
  1072. key:
  1073. description: |-
  1074. A key in the referenced Secret.
  1075. Some instances of this field may be defaulted, in others it may be required.
  1076. maxLength: 253
  1077. minLength: 1
  1078. pattern: ^[-._a-zA-Z0-9]+$
  1079. type: string
  1080. name:
  1081. description: The name of the Secret resource being
  1082. referred to.
  1083. maxLength: 253
  1084. minLength: 1
  1085. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1086. type: string
  1087. namespace:
  1088. description: |-
  1089. The namespace of the Secret resource being referred to.
  1090. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1091. maxLength: 63
  1092. minLength: 1
  1093. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1094. type: string
  1095. type: object
  1096. sessionTokenSecretRef:
  1097. description: |-
  1098. The SessionToken used for authentication
  1099. This must be defined if AccessKeyID and SecretAccessKey are temporary credentials
  1100. see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html
  1101. properties:
  1102. key:
  1103. description: |-
  1104. A key in the referenced Secret.
  1105. Some instances of this field may be defaulted, in others it may be required.
  1106. maxLength: 253
  1107. minLength: 1
  1108. pattern: ^[-._a-zA-Z0-9]+$
  1109. type: string
  1110. name:
  1111. description: The name of the Secret resource being
  1112. referred to.
  1113. maxLength: 253
  1114. minLength: 1
  1115. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1116. type: string
  1117. namespace:
  1118. description: |-
  1119. The namespace of the Secret resource being referred to.
  1120. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1121. maxLength: 63
  1122. minLength: 1
  1123. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1124. type: string
  1125. type: object
  1126. type: object
  1127. type: object
  1128. region:
  1129. description: Region specifies the region to operate in.
  1130. type: string
  1131. requestParameters:
  1132. description: RequestParameters contains parameters that can
  1133. be passed to the STS service.
  1134. properties:
  1135. serialNumber:
  1136. description: |-
  1137. SerialNumber is the identification number of the MFA device that is associated with the IAM user who is making
  1138. the GetSessionToken call.
  1139. Possible values: hardware device (such as GAHT12345678) or an Amazon Resource Name (ARN) for a virtual device
  1140. (such as arn:aws:iam::123456789012:mfa/user)
  1141. type: string
  1142. sessionDuration:
  1143. format: int32
  1144. type: integer
  1145. tokenCode:
  1146. description: TokenCode is the value provided by the MFA
  1147. device, if MFA is required.
  1148. type: string
  1149. type: object
  1150. role:
  1151. description: |-
  1152. You can assume a role before making calls to the
  1153. desired AWS service.
  1154. type: string
  1155. required:
  1156. - region
  1157. type: object
  1158. uuidSpec:
  1159. description: UUIDSpec controls the behavior of the uuid generator.
  1160. type: object
  1161. vaultDynamicSecretSpec:
  1162. description: VaultDynamicSecretSpec defines the desired spec of
  1163. VaultDynamicSecret.
  1164. properties:
  1165. allowEmptyResponse:
  1166. default: false
  1167. description: Do not fail if no secrets are found. Useful for
  1168. requests where no data is expected.
  1169. type: boolean
  1170. controller:
  1171. description: |-
  1172. Used to select the correct ESO controller (think: ingress.ingressClassName)
  1173. The ESO controller is instantiated with a specific controller name and filters VDS based on this property
  1174. type: string
  1175. method:
  1176. description: Vault API method to use (GET/POST/other)
  1177. type: string
  1178. parameters:
  1179. description: Parameters to pass to Vault write (for non-GET
  1180. methods)
  1181. x-kubernetes-preserve-unknown-fields: true
  1182. path:
  1183. description: Vault path to obtain the dynamic secret from
  1184. type: string
  1185. provider:
  1186. description: Vault provider common spec
  1187. properties:
  1188. auth:
  1189. description: Auth configures how secret-manager authenticates
  1190. with the Vault server.
  1191. properties:
  1192. appRole:
  1193. description: |-
  1194. AppRole authenticates with Vault using the App Role auth mechanism,
  1195. with the role and secret stored in a Kubernetes Secret resource.
  1196. properties:
  1197. path:
  1198. default: approle
  1199. description: |-
  1200. Path where the App Role authentication backend is mounted
  1201. in Vault, e.g: "approle"
  1202. type: string
  1203. roleId:
  1204. description: |-
  1205. RoleID configured in the App Role authentication backend when setting
  1206. up the authentication backend in Vault.
  1207. type: string
  1208. roleRef:
  1209. description: |-
  1210. Reference to a key in a Secret that contains the App Role ID used
  1211. to authenticate with Vault.
  1212. The `key` field must be specified and denotes which entry within the Secret
  1213. resource is used as the app role id.
  1214. properties:
  1215. key:
  1216. description: |-
  1217. A key in the referenced Secret.
  1218. Some instances of this field may be defaulted, in others it may be required.
  1219. maxLength: 253
  1220. minLength: 1
  1221. pattern: ^[-._a-zA-Z0-9]+$
  1222. type: string
  1223. name:
  1224. description: The name of the Secret resource
  1225. being referred to.
  1226. maxLength: 253
  1227. minLength: 1
  1228. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1229. type: string
  1230. namespace:
  1231. description: |-
  1232. The namespace of the Secret resource being referred to.
  1233. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1234. maxLength: 63
  1235. minLength: 1
  1236. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1237. type: string
  1238. type: object
  1239. secretRef:
  1240. description: |-
  1241. Reference to a key in a Secret that contains the App Role secret used
  1242. to authenticate with Vault.
  1243. The `key` field must be specified and denotes which entry within the Secret
  1244. resource is used as the app role secret.
  1245. properties:
  1246. key:
  1247. description: |-
  1248. A key in the referenced Secret.
  1249. Some instances of this field may be defaulted, in others it may be required.
  1250. maxLength: 253
  1251. minLength: 1
  1252. pattern: ^[-._a-zA-Z0-9]+$
  1253. type: string
  1254. name:
  1255. description: The name of the Secret resource
  1256. being referred to.
  1257. maxLength: 253
  1258. minLength: 1
  1259. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1260. type: string
  1261. namespace:
  1262. description: |-
  1263. The namespace of the Secret resource being referred to.
  1264. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1265. maxLength: 63
  1266. minLength: 1
  1267. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1268. type: string
  1269. type: object
  1270. required:
  1271. - path
  1272. - secretRef
  1273. type: object
  1274. cert:
  1275. description: |-
  1276. Cert authenticates with TLS Certificates by passing client certificate, private key and ca certificate
  1277. Cert authentication method
  1278. properties:
  1279. clientCert:
  1280. description: |-
  1281. ClientCert is a certificate to authenticate using the Cert Vault
  1282. authentication method
  1283. properties:
  1284. key:
  1285. description: |-
  1286. A key in the referenced Secret.
  1287. Some instances of this field may be defaulted, in others it may be required.
  1288. maxLength: 253
  1289. minLength: 1
  1290. pattern: ^[-._a-zA-Z0-9]+$
  1291. type: string
  1292. name:
  1293. description: The name of the Secret resource
  1294. being referred to.
  1295. maxLength: 253
  1296. minLength: 1
  1297. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1298. type: string
  1299. namespace:
  1300. description: |-
  1301. The namespace of the Secret resource being referred to.
  1302. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1303. maxLength: 63
  1304. minLength: 1
  1305. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1306. type: string
  1307. type: object
  1308. path:
  1309. default: cert
  1310. description: |-
  1311. Path where the Certificate authentication backend is mounted
  1312. in Vault, e.g: "cert"
  1313. type: string
  1314. secretRef:
  1315. description: |-
  1316. SecretRef to a key in a Secret resource containing client private key to
  1317. authenticate with Vault using the Cert authentication method
  1318. properties:
  1319. key:
  1320. description: |-
  1321. A key in the referenced Secret.
  1322. Some instances of this field may be defaulted, in others it may be required.
  1323. maxLength: 253
  1324. minLength: 1
  1325. pattern: ^[-._a-zA-Z0-9]+$
  1326. type: string
  1327. name:
  1328. description: The name of the Secret resource
  1329. being referred to.
  1330. maxLength: 253
  1331. minLength: 1
  1332. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1333. type: string
  1334. namespace:
  1335. description: |-
  1336. The namespace of the Secret resource being referred to.
  1337. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1338. maxLength: 63
  1339. minLength: 1
  1340. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1341. type: string
  1342. type: object
  1343. vaultRole:
  1344. description: VaultRole specifies the Vault role
  1345. to use for TLS certificate authentication.
  1346. type: string
  1347. type: object
  1348. gcp:
  1349. description: |-
  1350. Gcp authenticates with Vault using Google Cloud Platform authentication method
  1351. GCP authentication method
  1352. properties:
  1353. location:
  1354. description: Location optionally defines a location/region
  1355. for the secret
  1356. type: string
  1357. path:
  1358. default: gcp
  1359. description: 'Path where the GCP auth method is
  1360. enabled in Vault, e.g: "gcp"'
  1361. type: string
  1362. projectID:
  1363. description: Project ID of the Google Cloud Platform
  1364. project
  1365. type: string
  1366. role:
  1367. description: Vault Role. In Vault, a role describes
  1368. an identity with a set of permissions, groups,
  1369. or policies you want to attach to a user of
  1370. the secrets engine.
  1371. type: string
  1372. secretRef:
  1373. description: Specify credentials in a Secret object
  1374. properties:
  1375. secretAccessKeySecretRef:
  1376. description: The SecretAccessKey is used for
  1377. authentication
  1378. properties:
  1379. key:
  1380. description: |-
  1381. A key in the referenced Secret.
  1382. Some instances of this field may be defaulted, in others it may be required.
  1383. maxLength: 253
  1384. minLength: 1
  1385. pattern: ^[-._a-zA-Z0-9]+$
  1386. type: string
  1387. name:
  1388. description: The name of the Secret resource
  1389. being referred to.
  1390. maxLength: 253
  1391. minLength: 1
  1392. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1393. type: string
  1394. namespace:
  1395. description: |-
  1396. The namespace of the Secret resource being referred to.
  1397. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1398. maxLength: 63
  1399. minLength: 1
  1400. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1401. type: string
  1402. type: object
  1403. type: object
  1404. serviceAccountRef:
  1405. description: ServiceAccountRef to a service account
  1406. for impersonation
  1407. properties:
  1408. audiences:
  1409. description: |-
  1410. Audience specifies the `aud` claim for the service account token
  1411. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1412. then this audiences will be appended to the list
  1413. items:
  1414. type: string
  1415. type: array
  1416. name:
  1417. description: The name of the ServiceAccount
  1418. resource being referred to.
  1419. maxLength: 253
  1420. minLength: 1
  1421. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1422. type: string
  1423. namespace:
  1424. description: |-
  1425. Namespace of the resource being referred to.
  1426. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1427. maxLength: 63
  1428. minLength: 1
  1429. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1430. type: string
  1431. required:
  1432. - name
  1433. type: object
  1434. workloadIdentity:
  1435. description: Specify a service account with Workload
  1436. Identity
  1437. properties:
  1438. clusterLocation:
  1439. description: |-
  1440. ClusterLocation is the location of the cluster
  1441. If not specified, it fetches information from the metadata server
  1442. type: string
  1443. clusterName:
  1444. description: |-
  1445. ClusterName is the name of the cluster
  1446. If not specified, it fetches information from the metadata server
  1447. type: string
  1448. clusterProjectID:
  1449. description: |-
  1450. ClusterProjectID is the project ID of the cluster
  1451. If not specified, it fetches information from the metadata server
  1452. type: string
  1453. serviceAccountRef:
  1454. description: ServiceAccountSelector is a reference
  1455. to a ServiceAccount resource.
  1456. properties:
  1457. audiences:
  1458. description: |-
  1459. Audience specifies the `aud` claim for the service account token
  1460. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1461. then this audiences will be appended to the list
  1462. items:
  1463. type: string
  1464. type: array
  1465. name:
  1466. description: The name of the ServiceAccount
  1467. resource being referred to.
  1468. maxLength: 253
  1469. minLength: 1
  1470. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1471. type: string
  1472. namespace:
  1473. description: |-
  1474. Namespace of the resource being referred to.
  1475. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1476. maxLength: 63
  1477. minLength: 1
  1478. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1479. type: string
  1480. required:
  1481. - name
  1482. type: object
  1483. required:
  1484. - serviceAccountRef
  1485. type: object
  1486. required:
  1487. - role
  1488. type: object
  1489. iam:
  1490. description: |-
  1491. Iam authenticates with vault by passing a special AWS request signed with AWS IAM credentials
  1492. AWS IAM authentication method
  1493. properties:
  1494. externalID:
  1495. description: AWS External ID set on assumed IAM
  1496. roles
  1497. type: string
  1498. jwt:
  1499. description: Specify a service account with IRSA
  1500. enabled
  1501. properties:
  1502. serviceAccountRef:
  1503. description: ServiceAccountSelector is a reference
  1504. to a ServiceAccount resource.
  1505. properties:
  1506. audiences:
  1507. description: |-
  1508. Audience specifies the `aud` claim for the service account token
  1509. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1510. then this audiences will be appended to the list
  1511. items:
  1512. type: string
  1513. type: array
  1514. name:
  1515. description: The name of the ServiceAccount
  1516. resource being referred to.
  1517. maxLength: 253
  1518. minLength: 1
  1519. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1520. type: string
  1521. namespace:
  1522. description: |-
  1523. Namespace of the resource being referred to.
  1524. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1525. maxLength: 63
  1526. minLength: 1
  1527. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1528. type: string
  1529. required:
  1530. - name
  1531. type: object
  1532. type: object
  1533. path:
  1534. description: 'Path where the AWS auth method is
  1535. enabled in Vault, e.g: "aws"'
  1536. type: string
  1537. region:
  1538. description: AWS region
  1539. type: string
  1540. role:
  1541. description: This is the AWS role to be assumed
  1542. before talking to vault
  1543. type: string
  1544. secretRef:
  1545. description: Specify credentials in a Secret object
  1546. properties:
  1547. accessKeyIDSecretRef:
  1548. description: The AccessKeyID is used for authentication
  1549. properties:
  1550. key:
  1551. description: |-
  1552. A key in the referenced Secret.
  1553. Some instances of this field may be defaulted, in others it may be required.
  1554. maxLength: 253
  1555. minLength: 1
  1556. pattern: ^[-._a-zA-Z0-9]+$
  1557. type: string
  1558. name:
  1559. description: The name of the Secret resource
  1560. being referred to.
  1561. maxLength: 253
  1562. minLength: 1
  1563. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1564. type: string
  1565. namespace:
  1566. description: |-
  1567. The namespace of the Secret resource being referred to.
  1568. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1569. maxLength: 63
  1570. minLength: 1
  1571. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1572. type: string
  1573. type: object
  1574. secretAccessKeySecretRef:
  1575. description: The SecretAccessKey is used for
  1576. authentication
  1577. properties:
  1578. key:
  1579. description: |-
  1580. A key in the referenced Secret.
  1581. Some instances of this field may be defaulted, in others it may be required.
  1582. maxLength: 253
  1583. minLength: 1
  1584. pattern: ^[-._a-zA-Z0-9]+$
  1585. type: string
  1586. name:
  1587. description: The name of the Secret resource
  1588. being referred to.
  1589. maxLength: 253
  1590. minLength: 1
  1591. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1592. type: string
  1593. namespace:
  1594. description: |-
  1595. The namespace of the Secret resource being referred to.
  1596. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1597. maxLength: 63
  1598. minLength: 1
  1599. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1600. type: string
  1601. type: object
  1602. sessionTokenSecretRef:
  1603. description: |-
  1604. The SessionToken used for authentication
  1605. This must be defined if AccessKeyID and SecretAccessKey are temporary credentials
  1606. see: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html
  1607. properties:
  1608. key:
  1609. description: |-
  1610. A key in the referenced Secret.
  1611. Some instances of this field may be defaulted, in others it may be required.
  1612. maxLength: 253
  1613. minLength: 1
  1614. pattern: ^[-._a-zA-Z0-9]+$
  1615. type: string
  1616. name:
  1617. description: The name of the Secret resource
  1618. being referred to.
  1619. maxLength: 253
  1620. minLength: 1
  1621. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1622. type: string
  1623. namespace:
  1624. description: |-
  1625. The namespace of the Secret resource being referred to.
  1626. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1627. maxLength: 63
  1628. minLength: 1
  1629. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1630. type: string
  1631. type: object
  1632. type: object
  1633. vaultAwsIamServerID:
  1634. description: 'X-Vault-AWS-IAM-Server-ID is an
  1635. additional header used by Vault IAM auth method
  1636. to mitigate against different types of replay
  1637. attacks. More details here: https://developer.hashicorp.com/vault/docs/auth/aws'
  1638. type: string
  1639. vaultRole:
  1640. description: Vault Role. In vault, a role describes
  1641. an identity with a set of permissions, groups,
  1642. or policies you want to attach a user of the
  1643. secrets engine
  1644. type: string
  1645. required:
  1646. - vaultRole
  1647. type: object
  1648. jwt:
  1649. description: |-
  1650. Jwt authenticates with Vault by passing role and JWT token using the
  1651. JWT/OIDC authentication method
  1652. properties:
  1653. kubernetesServiceAccountToken:
  1654. description: |-
  1655. Optional ServiceAccountToken specifies the Kubernetes service account for which to request
  1656. a token for with the `TokenRequest` API.
  1657. properties:
  1658. audiences:
  1659. description: |-
  1660. Optional audiences field that will be used to request a temporary Kubernetes service
  1661. account token for the service account referenced by `serviceAccountRef`.
  1662. Defaults to a single audience `vault` it not specified.
  1663. Deprecated: use serviceAccountRef.Audiences instead
  1664. items:
  1665. type: string
  1666. type: array
  1667. expirationSeconds:
  1668. description: |-
  1669. Optional expiration time in seconds that will be used to request a temporary
  1670. Kubernetes service account token for the service account referenced by
  1671. `serviceAccountRef`.
  1672. Deprecated: this will be removed in the future.
  1673. Defaults to 10 minutes.
  1674. format: int64
  1675. type: integer
  1676. serviceAccountRef:
  1677. description: Service account field containing
  1678. the name of a kubernetes ServiceAccount.
  1679. properties:
  1680. audiences:
  1681. description: |-
  1682. Audience specifies the `aud` claim for the service account token
  1683. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1684. then this audiences will be appended to the list
  1685. items:
  1686. type: string
  1687. type: array
  1688. name:
  1689. description: The name of the ServiceAccount
  1690. resource being referred to.
  1691. maxLength: 253
  1692. minLength: 1
  1693. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1694. type: string
  1695. namespace:
  1696. description: |-
  1697. Namespace of the resource being referred to.
  1698. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1699. maxLength: 63
  1700. minLength: 1
  1701. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1702. type: string
  1703. required:
  1704. - name
  1705. type: object
  1706. required:
  1707. - serviceAccountRef
  1708. type: object
  1709. path:
  1710. default: jwt
  1711. description: |-
  1712. Path where the JWT authentication backend is mounted
  1713. in Vault, e.g: "jwt"
  1714. type: string
  1715. role:
  1716. description: |-
  1717. Role is a JWT role to authenticate using the JWT/OIDC Vault
  1718. authentication method
  1719. type: string
  1720. secretRef:
  1721. description: |-
  1722. Optional SecretRef that refers to a key in a Secret resource containing JWT token to
  1723. authenticate with Vault using the JWT/OIDC authentication method.
  1724. properties:
  1725. key:
  1726. description: |-
  1727. A key in the referenced Secret.
  1728. Some instances of this field may be defaulted, in others it may be required.
  1729. maxLength: 253
  1730. minLength: 1
  1731. pattern: ^[-._a-zA-Z0-9]+$
  1732. type: string
  1733. name:
  1734. description: The name of the Secret resource
  1735. being referred to.
  1736. maxLength: 253
  1737. minLength: 1
  1738. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1739. type: string
  1740. namespace:
  1741. description: |-
  1742. The namespace of the Secret resource being referred to.
  1743. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1744. maxLength: 63
  1745. minLength: 1
  1746. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1747. type: string
  1748. type: object
  1749. required:
  1750. - path
  1751. type: object
  1752. kubernetes:
  1753. description: |-
  1754. Kubernetes authenticates with Vault by passing the ServiceAccount
  1755. token stored in the named Secret resource to the Vault server.
  1756. properties:
  1757. mountPath:
  1758. default: kubernetes
  1759. description: |-
  1760. Path where the Kubernetes authentication backend is mounted in Vault, e.g:
  1761. "kubernetes"
  1762. type: string
  1763. role:
  1764. description: |-
  1765. A required field containing the Vault Role to assume. A Role binds a
  1766. Kubernetes ServiceAccount with a set of Vault policies.
  1767. type: string
  1768. secretRef:
  1769. description: |-
  1770. Optional secret field containing a Kubernetes ServiceAccount JWT used
  1771. for authenticating with Vault. If a name is specified without a key,
  1772. `token` is the default. If one is not specified, the one bound to
  1773. the controller will be used.
  1774. properties:
  1775. key:
  1776. description: |-
  1777. A key in the referenced Secret.
  1778. Some instances of this field may be defaulted, in others it may be required.
  1779. maxLength: 253
  1780. minLength: 1
  1781. pattern: ^[-._a-zA-Z0-9]+$
  1782. type: string
  1783. name:
  1784. description: The name of the Secret resource
  1785. being referred to.
  1786. maxLength: 253
  1787. minLength: 1
  1788. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1789. type: string
  1790. namespace:
  1791. description: |-
  1792. The namespace of the Secret resource being referred to.
  1793. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1794. maxLength: 63
  1795. minLength: 1
  1796. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1797. type: string
  1798. type: object
  1799. serviceAccountRef:
  1800. description: |-
  1801. Optional service account field containing the name of a kubernetes ServiceAccount.
  1802. If the service account is specified, the service account secret token JWT will be used
  1803. for authenticating with Vault. If the service account selector is not supplied,
  1804. the secretRef will be used instead.
  1805. properties:
  1806. audiences:
  1807. description: |-
  1808. Audience specifies the `aud` claim for the service account token
  1809. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  1810. then this audiences will be appended to the list
  1811. items:
  1812. type: string
  1813. type: array
  1814. name:
  1815. description: The name of the ServiceAccount
  1816. resource being referred to.
  1817. maxLength: 253
  1818. minLength: 1
  1819. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1820. type: string
  1821. namespace:
  1822. description: |-
  1823. Namespace of the resource being referred to.
  1824. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1825. maxLength: 63
  1826. minLength: 1
  1827. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1828. type: string
  1829. required:
  1830. - name
  1831. type: object
  1832. required:
  1833. - mountPath
  1834. - role
  1835. type: object
  1836. ldap:
  1837. description: |-
  1838. Ldap authenticates with Vault by passing username/password pair using
  1839. the LDAP authentication method
  1840. properties:
  1841. path:
  1842. default: ldap
  1843. description: |-
  1844. Path where the LDAP authentication backend is mounted
  1845. in Vault, e.g: "ldap"
  1846. type: string
  1847. secretRef:
  1848. description: |-
  1849. SecretRef to a key in a Secret resource containing password for the LDAP
  1850. user used to authenticate with Vault using the LDAP authentication
  1851. method
  1852. properties:
  1853. key:
  1854. description: |-
  1855. A key in the referenced Secret.
  1856. Some instances of this field may be defaulted, in others it may be required.
  1857. maxLength: 253
  1858. minLength: 1
  1859. pattern: ^[-._a-zA-Z0-9]+$
  1860. type: string
  1861. name:
  1862. description: The name of the Secret resource
  1863. being referred to.
  1864. maxLength: 253
  1865. minLength: 1
  1866. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1867. type: string
  1868. namespace:
  1869. description: |-
  1870. The namespace of the Secret resource being referred to.
  1871. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1872. maxLength: 63
  1873. minLength: 1
  1874. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1875. type: string
  1876. type: object
  1877. username:
  1878. description: |-
  1879. Username is an LDAP username used to authenticate using the LDAP Vault
  1880. authentication method
  1881. type: string
  1882. required:
  1883. - path
  1884. - username
  1885. type: object
  1886. namespace:
  1887. description: |-
  1888. Name of the vault namespace to authenticate to. This can be different than the namespace your secret is in.
  1889. Namespaces is a set of features within Vault Enterprise that allows
  1890. Vault environments to support Secure Multi-tenancy. e.g: "ns1".
  1891. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces
  1892. This will default to Vault.Namespace field if set, or empty otherwise
  1893. type: string
  1894. tokenSecretRef:
  1895. description: TokenSecretRef authenticates with Vault
  1896. by presenting a token.
  1897. properties:
  1898. key:
  1899. description: |-
  1900. A key in the referenced Secret.
  1901. Some instances of this field may be defaulted, in others it may be required.
  1902. maxLength: 253
  1903. minLength: 1
  1904. pattern: ^[-._a-zA-Z0-9]+$
  1905. type: string
  1906. name:
  1907. description: The name of the Secret resource being
  1908. referred to.
  1909. maxLength: 253
  1910. minLength: 1
  1911. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1912. type: string
  1913. namespace:
  1914. description: |-
  1915. The namespace of the Secret resource being referred to.
  1916. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1917. maxLength: 63
  1918. minLength: 1
  1919. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1920. type: string
  1921. type: object
  1922. userPass:
  1923. description: UserPass authenticates with Vault by
  1924. passing username/password pair
  1925. properties:
  1926. path:
  1927. default: userpass
  1928. description: |-
  1929. Path where the UserPassword authentication backend is mounted
  1930. in Vault, e.g: "userpass"
  1931. type: string
  1932. secretRef:
  1933. description: |-
  1934. SecretRef to a key in a Secret resource containing password for the
  1935. user used to authenticate with Vault using the UserPass authentication
  1936. method
  1937. properties:
  1938. key:
  1939. description: |-
  1940. A key in the referenced Secret.
  1941. Some instances of this field may be defaulted, in others it may be required.
  1942. maxLength: 253
  1943. minLength: 1
  1944. pattern: ^[-._a-zA-Z0-9]+$
  1945. type: string
  1946. name:
  1947. description: The name of the Secret resource
  1948. being referred to.
  1949. maxLength: 253
  1950. minLength: 1
  1951. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1952. type: string
  1953. namespace:
  1954. description: |-
  1955. The namespace of the Secret resource being referred to.
  1956. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  1957. maxLength: 63
  1958. minLength: 1
  1959. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  1960. type: string
  1961. type: object
  1962. username:
  1963. description: |-
  1964. Username is a username used to authenticate using the UserPass Vault
  1965. authentication method
  1966. type: string
  1967. required:
  1968. - path
  1969. - username
  1970. type: object
  1971. type: object
  1972. caBundle:
  1973. description: |-
  1974. PEM encoded CA bundle used to validate Vault server certificate. Only used
  1975. if the Server URL is using HTTPS protocol. This parameter is ignored for
  1976. plain HTTP protocol connection. If not set the system root certificates
  1977. are used to validate the TLS connection.
  1978. format: byte
  1979. type: string
  1980. caProvider:
  1981. description: The provider for the CA bundle to use to
  1982. validate Vault server certificate.
  1983. properties:
  1984. key:
  1985. description: The key where the CA certificate can
  1986. be found in the Secret or ConfigMap.
  1987. maxLength: 253
  1988. minLength: 1
  1989. pattern: ^[-._a-zA-Z0-9]+$
  1990. type: string
  1991. name:
  1992. description: The name of the object located at the
  1993. provider type.
  1994. maxLength: 253
  1995. minLength: 1
  1996. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  1997. type: string
  1998. namespace:
  1999. description: |-
  2000. The namespace the Provider type is in.
  2001. Can only be defined when used in a ClusterSecretStore.
  2002. maxLength: 63
  2003. minLength: 1
  2004. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2005. type: string
  2006. type:
  2007. description: The type of provider to use such as "Secret",
  2008. or "ConfigMap".
  2009. enum:
  2010. - Secret
  2011. - ConfigMap
  2012. type: string
  2013. required:
  2014. - name
  2015. - type
  2016. type: object
  2017. checkAndSet:
  2018. description: |-
  2019. CheckAndSet defines the Check-And-Set (CAS) settings for PushSecret operations.
  2020. Only applies to Vault KV v2 stores. When enabled, write operations must include
  2021. the current version of the secret to prevent unintentional overwrites.
  2022. properties:
  2023. required:
  2024. description: |-
  2025. Required when true, all write operations must include a check-and-set parameter.
  2026. This helps prevent unintentional overwrites of secrets.
  2027. type: boolean
  2028. type: object
  2029. forwardInconsistent:
  2030. description: |-
  2031. ForwardInconsistent tells Vault to forward read-after-write requests to the Vault
  2032. leader instead of simply retrying within a loop. This can increase performance if
  2033. the option is enabled serverside.
  2034. https://www.vaultproject.io/docs/configuration/replication#allow_forwarding_via_header
  2035. type: boolean
  2036. headers:
  2037. additionalProperties:
  2038. type: string
  2039. description: Headers to be added in Vault request
  2040. type: object
  2041. namespace:
  2042. description: |-
  2043. Name of the vault namespace. Namespaces is a set of features within Vault Enterprise that allows
  2044. Vault environments to support Secure Multi-tenancy. e.g: "ns1".
  2045. More about namespaces can be found here https://www.vaultproject.io/docs/enterprise/namespaces
  2046. type: string
  2047. path:
  2048. description: |-
  2049. Path is the mount path of the Vault KV backend endpoint, e.g:
  2050. "secret". The v2 KV secret engine version specific "/data" path suffix
  2051. for fetching secrets from Vault is optional and will be appended
  2052. if not present in specified path.
  2053. type: string
  2054. readYourWrites:
  2055. description: |-
  2056. ReadYourWrites ensures isolated read-after-write semantics by
  2057. providing discovered cluster replication states in each request.
  2058. More information about eventual consistency in Vault can be found here
  2059. https://www.vaultproject.io/docs/enterprise/consistency
  2060. type: boolean
  2061. server:
  2062. description: 'Server is the connection address for the
  2063. Vault server, e.g: "https://vault.example.com:8200".'
  2064. type: string
  2065. tls:
  2066. description: |-
  2067. The configuration used for client side related TLS communication, when the Vault server
  2068. requires mutual authentication. Only used if the Server URL is using HTTPS protocol.
  2069. This parameter is ignored for plain HTTP protocol connection.
  2070. It's worth noting this configuration is different from the "TLS certificates auth method",
  2071. which is available under the `auth.cert` section.
  2072. properties:
  2073. certSecretRef:
  2074. description: |-
  2075. CertSecretRef is a certificate added to the transport layer
  2076. when communicating with the Vault server.
  2077. If no key for the Secret is specified, external-secret will default to 'tls.crt'.
  2078. properties:
  2079. key:
  2080. description: |-
  2081. A key in the referenced Secret.
  2082. Some instances of this field may be defaulted, in others it may be required.
  2083. maxLength: 253
  2084. minLength: 1
  2085. pattern: ^[-._a-zA-Z0-9]+$
  2086. type: string
  2087. name:
  2088. description: The name of the Secret resource being
  2089. referred to.
  2090. maxLength: 253
  2091. minLength: 1
  2092. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2093. type: string
  2094. namespace:
  2095. description: |-
  2096. The namespace of the Secret resource being referred to.
  2097. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  2098. maxLength: 63
  2099. minLength: 1
  2100. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2101. type: string
  2102. type: object
  2103. keySecretRef:
  2104. description: |-
  2105. KeySecretRef to a key in a Secret resource containing client private key
  2106. added to the transport layer when communicating with the Vault server.
  2107. If no key for the Secret is specified, external-secret will default to 'tls.key'.
  2108. properties:
  2109. key:
  2110. description: |-
  2111. A key in the referenced Secret.
  2112. Some instances of this field may be defaulted, in others it may be required.
  2113. maxLength: 253
  2114. minLength: 1
  2115. pattern: ^[-._a-zA-Z0-9]+$
  2116. type: string
  2117. name:
  2118. description: The name of the Secret resource being
  2119. referred to.
  2120. maxLength: 253
  2121. minLength: 1
  2122. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2123. type: string
  2124. namespace:
  2125. description: |-
  2126. The namespace of the Secret resource being referred to.
  2127. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  2128. maxLength: 63
  2129. minLength: 1
  2130. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2131. type: string
  2132. type: object
  2133. type: object
  2134. version:
  2135. default: v2
  2136. description: |-
  2137. Version is the Vault KV secret engine version. This can be either "v1" or
  2138. "v2". Version defaults to "v2".
  2139. enum:
  2140. - v1
  2141. - v2
  2142. type: string
  2143. required:
  2144. - server
  2145. type: object
  2146. resultType:
  2147. default: Data
  2148. description: |-
  2149. Result type defines which data is returned from the generator.
  2150. By default, it is the "data" section of the Vault API response.
  2151. When using e.g. /auth/token/create the "data" section is empty but
  2152. the "auth" section contains the generated token.
  2153. Please refer to the vault docs regarding the result data structure.
  2154. Additionally, accessing the raw response is possibly by using "Raw" result type.
  2155. enum:
  2156. - Data
  2157. - Auth
  2158. - Raw
  2159. type: string
  2160. retrySettings:
  2161. description: Used to configure http retries if failed
  2162. properties:
  2163. maxRetries:
  2164. format: int32
  2165. type: integer
  2166. retryInterval:
  2167. type: string
  2168. type: object
  2169. required:
  2170. - path
  2171. - provider
  2172. type: object
  2173. webhookSpec:
  2174. description: WebhookSpec controls the behavior of the external
  2175. generator. Any body parameters should be passed to the server
  2176. through the parameters field.
  2177. properties:
  2178. auth:
  2179. description: Auth specifies a authorization protocol. Only
  2180. one protocol may be set.
  2181. maxProperties: 1
  2182. minProperties: 1
  2183. properties:
  2184. ntlm:
  2185. description: NTLMProtocol configures the store to use
  2186. NTLM for auth
  2187. properties:
  2188. passwordSecret:
  2189. description: |-
  2190. SecretKeySelector is a reference to a specific 'key' within a Secret resource.
  2191. In some instances, `key` is a required field.
  2192. properties:
  2193. key:
  2194. description: |-
  2195. A key in the referenced Secret.
  2196. Some instances of this field may be defaulted, in others it may be required.
  2197. maxLength: 253
  2198. minLength: 1
  2199. pattern: ^[-._a-zA-Z0-9]+$
  2200. type: string
  2201. name:
  2202. description: The name of the Secret resource being
  2203. referred to.
  2204. maxLength: 253
  2205. minLength: 1
  2206. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2207. type: string
  2208. namespace:
  2209. description: |-
  2210. The namespace of the Secret resource being referred to.
  2211. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  2212. maxLength: 63
  2213. minLength: 1
  2214. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2215. type: string
  2216. type: object
  2217. usernameSecret:
  2218. description: |-
  2219. SecretKeySelector is a reference to a specific 'key' within a Secret resource.
  2220. In some instances, `key` is a required field.
  2221. properties:
  2222. key:
  2223. description: |-
  2224. A key in the referenced Secret.
  2225. Some instances of this field may be defaulted, in others it may be required.
  2226. maxLength: 253
  2227. minLength: 1
  2228. pattern: ^[-._a-zA-Z0-9]+$
  2229. type: string
  2230. name:
  2231. description: The name of the Secret resource being
  2232. referred to.
  2233. maxLength: 253
  2234. minLength: 1
  2235. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2236. type: string
  2237. namespace:
  2238. description: |-
  2239. The namespace of the Secret resource being referred to.
  2240. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  2241. maxLength: 63
  2242. minLength: 1
  2243. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2244. type: string
  2245. type: object
  2246. required:
  2247. - passwordSecret
  2248. - usernameSecret
  2249. type: object
  2250. type: object
  2251. body:
  2252. description: Body
  2253. type: string
  2254. caBundle:
  2255. description: |-
  2256. PEM encoded CA bundle used to validate webhook server certificate. Only used
  2257. if the Server URL is using HTTPS protocol. This parameter is ignored for
  2258. plain HTTP protocol connection. If not set the system root certificates
  2259. are used to validate the TLS connection.
  2260. format: byte
  2261. type: string
  2262. caProvider:
  2263. description: The provider for the CA bundle to use to validate
  2264. webhook server certificate.
  2265. properties:
  2266. key:
  2267. description: The key where the CA certificate can be found
  2268. in the Secret or ConfigMap.
  2269. maxLength: 253
  2270. minLength: 1
  2271. pattern: ^[-._a-zA-Z0-9]+$
  2272. type: string
  2273. name:
  2274. description: The name of the object located at the provider
  2275. type.
  2276. maxLength: 253
  2277. minLength: 1
  2278. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2279. type: string
  2280. namespace:
  2281. description: The namespace the Provider type is in.
  2282. maxLength: 63
  2283. minLength: 1
  2284. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  2285. type: string
  2286. type:
  2287. description: The type of provider to use such as "Secret",
  2288. or "ConfigMap".
  2289. enum:
  2290. - Secret
  2291. - ConfigMap
  2292. type: string
  2293. required:
  2294. - name
  2295. - type
  2296. type: object
  2297. headers:
  2298. additionalProperties:
  2299. type: string
  2300. description: Headers
  2301. type: object
  2302. method:
  2303. description: Webhook Method
  2304. type: string
  2305. result:
  2306. description: Result formatting
  2307. properties:
  2308. jsonPath:
  2309. description: Json path of return value
  2310. type: string
  2311. type: object
  2312. secrets:
  2313. description: |-
  2314. Secrets to fill in templates
  2315. These secrets will be passed to the templating function as key value pairs under the given name
  2316. items:
  2317. description: WebhookSecret defines a secret reference that
  2318. will be used in webhook templates.
  2319. properties:
  2320. name:
  2321. description: Name of this secret in templates
  2322. type: string
  2323. secretRef:
  2324. description: Secret ref to fill in credentials
  2325. properties:
  2326. key:
  2327. description: The key where the token is found.
  2328. maxLength: 253
  2329. minLength: 1
  2330. pattern: ^[-._a-zA-Z0-9]+$
  2331. type: string
  2332. name:
  2333. description: The name of the Secret resource being
  2334. referred to.
  2335. maxLength: 253
  2336. minLength: 1
  2337. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  2338. type: string
  2339. type: object
  2340. required:
  2341. - name
  2342. - secretRef
  2343. type: object
  2344. type: array
  2345. timeout:
  2346. description: Timeout
  2347. type: string
  2348. url:
  2349. description: Webhook url to call
  2350. type: string
  2351. required:
  2352. - result
  2353. - url
  2354. type: object
  2355. type: object
  2356. kind:
  2357. description: Kind the kind of this generator.
  2358. enum:
  2359. - ACRAccessToken
  2360. - CloudsmithAccessToken
  2361. - ECRAuthorizationToken
  2362. - Fake
  2363. - GCRAccessToken
  2364. - GithubAccessToken
  2365. - QuayAccessToken
  2366. - Password
  2367. - SSHKey
  2368. - STSSessionToken
  2369. - UUID
  2370. - VaultDynamicSecret
  2371. - Webhook
  2372. - Grafana
  2373. type: string
  2374. required:
  2375. - generator
  2376. - kind
  2377. type: object
  2378. type: object
  2379. served: true
  2380. storage: true
  2381. subresources:
  2382. status: {}