generators.external-secrets.io_clustergenerators.yaml 116 KB

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