Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

charts/authentik: remove default resources from postgresql and redis #308

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading