Skip to content

Commit

Permalink
charts/authentik: update default config for GeoIP
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu authored and rissson committed Jan 8, 2024
1 parent 254dba7 commit c2ceaff
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| authentik.error_reporting.enabled | bool | `false` | This sends anonymous usage-data, stack traces on errors and performance data to sentry.beryju.org, and is fully opt-in |
| authentik.error_reporting.environment | string | `"k8s"` | This is a string that is sent to sentry with your error reports |
| authentik.error_reporting.send_pii | bool | `false` | Send PII (Personally identifiable information) data to sentry |
| authentik.geoip | string | `"/geoip/GeoLite2-City.mmdb"` | Path for the geoip database. If the file doesn't exist, GeoIP features are disabled. |
| authentik.events.context_processors.asn | string | `"/geoip/GeoLite2-ASN.mmdb"` | Path for the GeoIP ASN database. If the file doesn't exist, GeoIP features are disabled. |
| authentik.events.context_processors.geoip | string | `"/geoip/GeoLite2-City.mmdb"` | Path for the GeoIP City database. If the file doesn't exist, GeoIP features are disabled. |
| authentik.log_level | string | `"info"` | Log level for server and worker |
| authentik.outposts.container_image_base | string | `"ghcr.io/goauthentik/%(type)s:%(version)s"` | Template used for managed outposts. The following placeholders can be used %(type)s - the type of the outpost %(version)s - version of your authentik install %(build_hash)s - only for beta versions, the build hash of the image |
| authentik.postgresql.host | string | `{{ .Release.Name }}-postgresql` | set the postgresql hostname to talk to if unset and .Values.postgresql.enabled == true, will generate the default |
Expand All @@ -127,7 +128,7 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| fullnameOverride | string | `""` | String to fully override `"authentik.fullname"`. Prefer using global.fullnameOverride if possible |
| geoip.accountId | string | `""` | sign up under https://www.maxmind.com/en/geolite2/signup |
| geoip.containerSecurityContext | object | See [values.yaml] | GeoIP container-level security context |
| geoip.editionIds | string | `"GeoLite2-City"` | |
| geoip.editionIds | string | `"GeoLite2-City GeoLite2-ASN"` | |
| geoip.enabled | bool | `false` | enable GeoIP sidecars for the authentik server and worker pods |
| geoip.env | list | `[]` (See [values.yaml]) | Environment variables to pass to the GeoIP containers |
| geoip.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the GeoIP containers |
Expand All @@ -136,7 +137,7 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| geoip.existingSecret.secretName | string | `""` | name of an existing secret to use instead of values above |
| geoip.image.digest | string | `""` | If defined, an image digest for GeoIP images |
| geoip.image.pullPolicy | string | `"IfNotPresent"` | If defined, an imagePullPolicy for GeoIP images |
| geoip.image.repository | string | `"maxmindinc/geoipupdate"` | If defined, a repository for GeoIP images |
| geoip.image.repository | string | `"ghcr.io/maxmind/geoipupdate"` | If defined, a repository for GeoIP images |
| geoip.image.tag | string | `"v6.0.0"` | If defined, a tag for GeoIP images |
| geoip.licenseKey | string | `""` | sign up under https://www.maxmind.com/en/geolite2/signup |
| geoip.resources | object | `{}` | Resource limits and requests for GeoIP containers |
Expand Down
10 changes: 7 additions & 3 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,12 @@ authentik:
# -- Secret key used for cookie singing and unique user IDs,
# don't change this after the first install
secret_key: ""
# -- Path for the geoip database. If the file doesn't exist, GeoIP features are disabled.
geoip: /geoip/GeoLite2-City.mmdb
events:
context_processors:
# -- Path for the GeoIP City database. If the file doesn't exist, GeoIP features are disabled.
geoip: /geoip/GeoLite2-City.mmdb
# -- Path for the GeoIP ASN database. If the file doesn't exist, GeoIP features are disabled.
asn: /geoip/GeoLite2-ASN.mmdb
email:
# -- SMTP Server emails are sent from, fully optional
host: ""
Expand Down Expand Up @@ -813,7 +817,7 @@ geoip:
# -- enable GeoIP sidecars for the authentik server and worker pods
enabled: false

editionIds: "GeoLite2-City"
editionIds: "GeoLite2-City GeoLite2-ASN"
# -- GeoIP update frequency, in hours
updateInterval: 8
# -- sign up under https://www.maxmind.com/en/geolite2/signup
Expand Down

0 comments on commit c2ceaff

Please sign in to comment.