Skip to content

Commit

Permalink
Revert "Add support for integrated Redis (#225)"
Browse files Browse the repository at this point in the history
This reverts commit 48c5657.
  • Loading branch information
james-d-elliott committed Apr 18, 2024
1 parent af79a8e commit e7a1697
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
4 changes: 0 additions & 4 deletions charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ dependencies:
version: ~17.0.1
repository: https://charts.bitnami.com/bitnami
condition: storage.mysql.deploy
- name: redis
version: ~19.0.2
repository: https://charts.bitnami.com/bitnami
condition: session.redis.deploy
maintainers:
- name: james-d-elliott
email: james-d-elliott@users.noreply.github.com
Expand Down
9 changes: 3 additions & 6 deletions charts/authelia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
not recommended at this stage for production environments without manual intervention to check the templated manifests
match your desired state.

This chart uses api version 2 which is only supported by helm v3+. This chart includes Bitnami subcharts to optionally
deploy `redis`, `postgresql` and/or `mariadb`.
This chart uses api version 2 which is only supported by helm v3+. This is a ***standalone*** chart intended just to
deploy *Authelia* on its own. Eventually we may publish an `authelia-bundle` chart which includes `redis` and
`postgresql`.

# Breaking Changes

Expand Down Expand Up @@ -154,7 +155,6 @@ values.yaml is based on the *Authelia* configuration. See the
| configMap.authentication_backend.ldap.enabled | Enables LDAP auth when generating the config | true |
| configMap.authentication_backend.file.enabled | Enables file auth when generating the config | false |
| configMap.session.redis.enabled | Enables redis session storage when generating the config | true |
| configMap.session.redis.deploy | Deploy a redis instance | false |
| configMap.session.redis.enabledSecret | Forces redis password auth using a secret if true | false |
| configMap.session.redis.high_availability.enabled | Enables redis sentinel when generating the config | false |
| configMap.session.redis.high_availability.enabledSecret | Forces sentinel password auth using a secret if true | false |
Expand All @@ -168,9 +168,6 @@ values.yaml is based on the *Authelia* configuration. See the
| configMap.notifier.smtp.enabledSecret | Forces smtp password auth using a secret if true | false |
| configMap.identity_providers.oidc.enabled | Enables the OpenID Connect Idp | false |

If any of `configMap.session.redis.deploy`, `configMap.storage.mysql.deploy` or `configMap.storage.postgres.deploy` are
enabled, the corresponding top-level `redis`, `mariadb` or `postgresql` sections must be configured.

## Secret

The secret section defines how the secret values are added to Authelia. All values that can be a secret are forced as
Expand Down
34 changes: 0 additions & 34 deletions charts/authelia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,6 @@ configMap:
## The redis connection details
redis:
enabled: false
deploy: false
enabledSecret: false
host: 'redis.databases.svc.cluster.local'
port: 6379
Expand Down Expand Up @@ -1884,36 +1883,3 @@ postgresql:
# storageClass: ""
size: 1Gi
resources: {}

# -- Configure redis database subchart under this key.
# This will be deployed when session.redis.deploy is set to true
# Currently settings need to be manually copied from here to the session.redis section
# For more options see [redis chart documentation](https://github.com/bitnami/charts/tree/main/bitnami/redis)
redis:
architecture: standalone
auth:
enabled: false
sentinel: true
password: "redis"
existingSecret: ""
existingSecretPasswordKey: ""
usePasswordFiles: false
master:
resources: {}
priorityClassName: ""
persistence:
enabled: false
# storageClass: ""
accessModes:
- ReadWriteOnce
size: 1Gi
replica:
replicaCount: 3
resources: {}
priorityClassName: ""
persistence:
enabled: false
# storageClass: ""
accessModes:
- ReadWriteOnce
size: 1Gi

0 comments on commit e7a1697

Please sign in to comment.