Plugin Geoblock Middleware
Appears in
Section titled “Appears in”.Values.ingressMiddlewares.traefik.$name.data
pluginName
Section titled “pluginName”Define the pluginName
| Key | ingressMiddlewares.traefik.$name.data.pluginName |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | GeoBlock |
Example
ingressMiddlewares: traefik: middleware-name: data: pluginName: my-plugin-nameDefine the api
| Key | ingressMiddlewares.traefik.$name.data.api |
| Type | string |
| Required | ✅ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: api: https://api.geoblock.org/v2/geoblockallowLocalRequests
Section titled “allowLocalRequests”Define the allowLocalRequests
| Key | ingressMiddlewares.traefik.$name.data.allowLocalRequests |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: allowLocalRequests: truelogLocalRequests
Section titled “logLocalRequests”Define the logLocalRequests
| Key | ingressMiddlewares.traefik.$name.data.logLocalRequests |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: logLocalRequests: truelogAllowedRequests
Section titled “logAllowedRequests”Define the logAllowedRequests
| Key | ingressMiddlewares.traefik.$name.data.logAllowedRequests |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: logAllowedRequests: truelogApiRequests
Section titled “logApiRequests”Define the logApiRequests
| Key | ingressMiddlewares.traefik.$name.data.logApiRequests |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: logApiRequests: trueapiTimeoutMs
Section titled “apiTimeoutMs”Define the apiTimeoutMs
| Key | ingressMiddlewares.traefik.$name.data.apiTimeoutMs |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: apiTimeoutMs: 1000cacheSize
Section titled “cacheSize”Define the cacheSize
| Key | ingressMiddlewares.traefik.$name.data.cacheSize |
| Type | int |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: cacheSize: 1000forceMonthlyUpdate
Section titled “forceMonthlyUpdate”Define the forceMonthlyUpdate
| Key | ingressMiddlewares.traefik.$name.data.forceMonthlyUpdate |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: forceMonthlyUpdate: trueallowUnknownCountries
Section titled “allowUnknownCountries”Define the allowUnknownCountries
| Key | ingressMiddlewares.traefik.$name.data.allowUnknownCountries |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: allowUnknownCountries: trueunknownCountryApiResponse
Section titled “unknownCountryApiResponse”Define the unknownCountryApiResponse
| Key | ingressMiddlewares.traefik.$name.data.unknownCountryApiResponse |
| Type | string |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: unknownCountryApiResponse: some-valueblackListMode
Section titled “blackListMode”Define the blackListMode
| Key | ingressMiddlewares.traefik.$name.data.blackListMode |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: blackListMode: truesilentStartUp
Section titled “silentStartUp”Define the silentStartUp
| Key | ingressMiddlewares.traefik.$name.data.silentStartUp |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: silentStartUp: trueaddCountryHeader
Section titled “addCountryHeader”Define the addCountryHeader
| Key | ingressMiddlewares.traefik.$name.data.addCountryHeader |
| Type | bool |
| Required | ❌ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: addCountryHeader: truecountries
Section titled “countries”Define the countries
| Key | ingressMiddlewares.traefik.$name.data.countries |
| Type | list of string |
| Required | ✅ |
Helm tpl | ❌ |
| Default | - |
Example
ingressMiddlewares: traefik: middleware-name: data: countries: - some-country - some-other-countryFull Examples
Section titled “Full Examples”ingressMiddlewares: traefik: middleware-name: enabled: true type: plugin-geoblock data: api: https://api.geoblock.org/v2/geoblock allowLocalRequests: true logLocalRequests: true logAllowedRequests: true logApiRequests: true apiTimeoutMs: 1000 cacheSize: 1000 forceMonthlyUpdate: true allowUnknownCountries: true unknownCountryApiResponse: some-value blackListMode: some-value silentStartUp: true addCountryHeader: true countries: - some-country - some-other-country