Skip to content

Commit

Permalink
charts/authentik: remove default resources from postgresql and redis
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <[email protected]>
  • Loading branch information
rissson committed Dec 11, 2024
1 parent cd30b8b commit 02a0f3a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,16 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| nameOverride | string | `""` | Provide a name in place of `authentik`. Prefer using global.nameOverride if possible |
| postgresql.auth.database | string | `"authentik"` | |
| postgresql.auth.username | string | `"authentik"` | |
| postgresql.backup.resourcesPreset | string | `"none"` | |
| postgresql.enabled | bool | `false` | enable the Bitnami PostgreSQL chart. Refer to https://github.com/bitnami/charts/blob/main/bitnami/postgresql/ for possible values. |
| postgresql.image.repository | string | `"bitnami/postgresql"` | |
| postgresql.image.tag | string | `"15.8.0-debian-12-r18"` | |
| postgresql.metrics.resourcesPreset | string | `"none"` | |
| postgresql.passwordUpdateJob.resourcesPreset | string | `"none"` | |
| postgresql.primary.extendedConfiguration | string | `"max_connections = 500\n"` | |
| postgresql.primary.resourcesPreset | string | `"none"` | |
| postgresql.readReplicas.resourcesPreset | string | `"none"` | |
| postgresql.volumePermissions.resourcesPreset | string | `"none"` | |
| prometheus.rules.annotations | object | `{}` | PrometheusRule annotations |
| prometheus.rules.enabled | bool | `false` | |
| prometheus.rules.labels | object | `{}` | PrometheusRule labels |
Expand All @@ -187,6 +193,12 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| redis.architecture | string | `"standalone"` | |
| redis.auth.enabled | bool | `false` | |
| redis.enabled | bool | `false` | enable the Bitnami Redis chart. Refer to https://github.com/bitnami/charts/blob/main/bitnami/redis/ for possible values. |
| redis.master.resourcesPreset | string | `"none"` | |
| redis.metrics.resourcesPreset | string | `"none"` | |
| redis.replica.resourcesPreset | string | `"none"` | |
| redis.sentinel.resourcesPreset | string | `"none"` | |
| redis.sysctl.resourcesPreset | string | `"none"` | |
| redis.volumePermissions.resourcesPreset | string | `"none"` | |
| server.affinity | object | `{}` (defaults to the global.affinity preset) | Assign custom [affinity] rules to the deployment |
| server.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. |
| server.autoscaling.enabled | bool | `false` | Enable Horizontal Pod Autoscaler ([HPA]) for the authentik server |
Expand Down
23 changes: 23 additions & 0 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -985,11 +985,22 @@ postgresql:
primary:
extendedConfiguration: |
max_connections = 500
resourcesPreset: "none"
# persistence:
# enabled: true
# storageClass:
# accessModes:
# - ReadWriteOnce
readReplicas:
resourcesPreset: "none"
backup:
resourcesPreset: "none"
passwordUpdateJob:
resourcesPreset: "none"
volumePermissions:
resourcesPreset: "none"
metrics:
resourcesPreset: "none"


redis:
Expand All @@ -998,6 +1009,18 @@ redis:
architecture: standalone
auth:
enabled: false
master:
resourcesPreset: "none"
replica:
resourcesPreset: "none"
sentinel:
resourcesPreset: "none"
metrics:
resourcesPreset: "none"
volumePermissions:
resourcesPreset: "none"
sysctl:
resourcesPreset: "none"


# -- additional resources to deploy. Those objects are templated.
Expand Down

0 comments on commit 02a0f3a

Please sign in to comment.