generators.external-secrets.io_clustergenerators.yaml 127 KB

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