generators.external-secrets.io_clustergenerators.yaml 130 KB

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