Skip to content

Commit

Permalink
Add support for integrated MariaDB and PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
djjudas21 committed Mar 27, 2024
1 parent 5eac62d commit 4978c74
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
10 changes: 9 additions & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ home: https://www.authelia.com
sources:
- https://github.com/authelia/chartrepo/tree/master/charts/authelia
- https://www.github.com/authelia/authelia
dependencies: []
dependencies:
- name: postgresql
version: ~15.1.4
repository: https://charts.bitnami.com/bitnami
condition: storage.postgres.deploy
- name: mariadb
version: ~17.0.1
repository: https://charts.bitnami.com/bitnami
condition: storage.mysql.deploy
maintainers:
- name: james-d-elliott
email: james-d-elliott@users.noreply.github.com
Expand Down
2 changes: 2 additions & 0 deletions charts/authelia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ values.yaml is based on the *Authelia* configuration. See the
|configMap.session.redis.high_availability.enabledSecret|Forces sentinel password auth using a secret if true |false |
|configMap.storage.local.enabled |Enables the SQLite3 storage provider |false |
|configMap.storage.mysql.enabled |Enables the MySQL storage provider |false |
|configMap.storage.mysql.deploy |Deploy a MariaDB instance |false |
|configMap.storage.postgres.enabled |Enables the PostgreSQL storage provider |true |
|configMap.storage.postgres.deploy |Deploy a PostgreSQL instance |false |
|configMap.notifier.filesystem.enabled |Enables the filesystem notification provider |false |
|configMap.notifier.smtp.enabled |Enables the SMTP notification provider |true |
|configMap.notifier.smtp.enabledSecret |Forces smtp password auth using a secret if true |false |
Expand Down
38 changes: 37 additions & 1 deletion charts/authelia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,7 @@ configMap:
##
mysql:
enabled: false
deploy: false
host: mysql.databases.svc.cluster.local
port: 3306
database: authelia
Expand Down Expand Up @@ -1132,6 +1133,7 @@ configMap:
##
postgres:
enabled: true
deploy: false
host: postgres.databases.svc.cluster.local
port: 5432
database: authelia
Expand Down Expand Up @@ -1715,4 +1717,38 @@ persistence:
size: 100Mi

selector: {}
...

# -- Configure mariadb database subchart under this key.
# This will be deployed when storage.mysql.deploy is set to true
# Currently settings need to be manually copied from here to the storage.mysql section
# For more options see [mariadb chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/mariadb)
mariadb:
architecture: standalone
auth:
database: authelia
username: authelia
password: authelia
rootPassword: authelia
primary:
resources: {}
persistence:
enabled: false
size: 1Gi
# storageClass: ""

# -- Configure postgresql database subchart under this key.
# This will be deployed when storage.postgres.deploy is set to true
# Currently settings need to be manually copied from here to the storage.postgres section
# For more options see [postgresql chart documentation](https://github.com/bitnami/charts/tree/master/bitnami/postgresql)
postgresql:
auth:
postgresPassword: authelia
username: authelia
password: authelia
database: authelia
primary:
persistence:
enabled: false
# storageClass: ""
size: 1Gi
resources: {}

0 comments on commit 4978c74

Please sign in to comment.