diff --git a/charts/authelia/Chart.yaml b/charts/authelia/Chart.yaml index 234c2c5..4a257d8 100644 --- a/charts/authelia/Chart.yaml +++ b/charts/authelia/Chart.yaml @@ -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 diff --git a/charts/authelia/README.md b/charts/authelia/README.md index 6fc2191..bacc4b8 100644 --- a/charts/authelia/README.md +++ b/charts/authelia/README.md @@ -158,7 +158,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 | diff --git a/charts/authelia/values.yaml b/charts/authelia/values.yaml index 4e259df..52b3104 100644 --- a/charts/authelia/values.yaml +++ b/charts/authelia/values.yaml @@ -1305,6 +1305,7 @@ configMap: ## mysql: enabled: false + deploy: false address: 'tcp://mysql.databases.svc.cluster.local:3306' timeout: '5 seconds' database: 'authelia' @@ -1350,6 +1351,7 @@ configMap: ## postgres: enabled: false + deploy: false address: 'tcp://postgres.databases.svc.cluster.local:5432' timeout: '5 seconds' database: 'authelia' @@ -1843,4 +1845,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: {}