From 37532f10ce7e3ad7c52a9686e95634f120803697 Mon Sep 17 00:00:00 2001 From: Remy Moll Date: Sat, 5 Oct 2024 14:07:06 +0200 Subject: [PATCH] smtp for authelia --- .../authelia/authelia-smtp.sealedsecret.yaml | 16 ++++++++++++++++ infrastructure/authelia/authelia.values.yaml | 18 ++++++++++-------- infrastructure/authelia/kustomization.yaml | 1 + 3 files changed, 27 insertions(+), 8 deletions(-) create mode 100644 infrastructure/authelia/authelia-smtp.sealedsecret.yaml diff --git a/infrastructure/authelia/authelia-smtp.sealedsecret.yaml b/infrastructure/authelia/authelia-smtp.sealedsecret.yaml new file mode 100644 index 0000000..82d8e32 --- /dev/null +++ b/infrastructure/authelia/authelia-smtp.sealedsecret.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: bitnami.com/v1alpha1 +kind: SealedSecret +metadata: + creationTimestamp: null + name: authelia-smtp + namespace: authelia +spec: + encryptedData: + smtp.yml: AgAHiNwse+aFYVoun500VoUTUKg22yDSn+cD9pLO4HKG26nqmOxkiTSi5BELpzWouqHXiHNwYLEKPv13ZFJX6AFfFskspBfe+svLvLSzEvtH8kNCSJar0G5jcACEk27xcCxTN0nhmjc6L9lmZF8UUth7l5Mrsl0EG+79pCNYhUtjy16g7HdbmYgmgrY6d7VWCen2R4HZK4A9zPx+8HEsoMzUD0mG+uKKKfmqYaxJ563Gzp7trDcQRXd4tmea9MM8t+bk9TYCDvBj9JbsNuIdzFk8MArlvlesDYqiJj/8wny49NoVyX8vvGVDF3Y5s+OmKA9+MoBIYNc4oT4FLcc14wpnMnk5WgbKtTYfExcGTdTWuTTVWPsF18dvbKTU3C6dnf2kh9T8CydIdu27jwrBbChWffxNbh5nlLlQT3Xvogai8o6qhMn+EqTnw/u93OIxNzPEooVP349VVW/mlhGX3od/IlVzXiIlQIxL5EP2pRCXL2T1KONvkpbClJ/BTuwfjRZTXz3ZaRhaTPdBAZ+bpkRkt+kEAecjqaf9EF+pHy+dOaR4tIrwBWBbrAy47iV4e/Q60B97bRHzgo9N1uaYonGmyzmyVc9TXIkhf7PIlu/cSyDaHKdobVx0AA0p2usi5D1QYMcS9fngXyM1U9imO6QiYopysxQ9gJL8rfuySRJ/YQ6JJ71fLdMxsiQ0r21D7v7LEdJK5SKLovpnmPgk4PBoL9E4ZPE6g5zRXZFj1IxpKkOqRMpyBzBvas9Q1OFFs0Y79kGtyWIXb7Z2HGYmMU1us9Pm95xVF/V34sAtMIEz7qi+SaXQHFvyqbaiJ48U8qHhHL5y+lt9e8PGmQo0tRWfHMejs5BCcFAEZKDiif6zUEsjV/WC9WKO9NUjvRiu0CYCq5z9QzKaZQqWo0LPeM6DMY8pT3w4OqpJ/OLyMfbdoWT/uQ1JW5npApGifL0lhWRIkQHCG7oZA/BkJfbiexV8jwtToS+UX/s9HkbkuQ/O4zDte8qg/Xzh5TOj5AxlAPN6wGCwd6t1RTSITSKVMnTpFabkEvPYnGeiyWU8TrckvaKmhRUNoj2ZWQCCffHKp/bimEHxRqFnW6B+cu35reTjFc2dqp12EhCBR727G0EARx3Gt/LSdPh8OYt+Bs0rLaHiUrCJh4HRBJPmg0PARVwDL7OWx6pwtclnrALmfELKKaopy6yFctDogOtkvxHbL8DNhJqNuQJo6ttzlHhz4bnQcWb2K92HIw== + template: + metadata: + creationTimestamp: null + name: authelia-smtp + namespace: authelia + type: Opaque diff --git a/infrastructure/authelia/authelia.values.yaml b/infrastructure/authelia/authelia.values.yaml index 5a3ab31..f960f26 100644 --- a/infrastructure/authelia/authelia.values.yaml +++ b/infrastructure/authelia/authelia.values.yaml @@ -13,6 +13,10 @@ pod: - name: config-oidc secret: secretName: authelia-oidc + - name: config-smtp + secret: + secretName: authelia-smtp + extraVolumeMounts: - name: config-ldap mountPath: /extra-config/ldap.yml @@ -20,6 +24,9 @@ pod: - name: config-oidc mountPath: /extra-config/oidc.yml readOnly: true + - name: config-smtp + mountPath: /extra-config/smtp.yml + readOnly: true ## @@ -36,23 +43,18 @@ configMap: extraConfigs: - /extra-config/ldap.yml - /extra-config/oidc.yml + - /extra-config/smtp.yml session: cookies: - name: authelia_session domain: auth.kluster.moll.re storage: - encryption: - key: 'anotherlongerpasswordtomakeyouhappy' + encryption_key: + value: 'authelia-encryption-key' local: enabled: true file: /config/db.sqlite3 - notifier: - filesystem: - enabled: true - filename: /config/notification.txt - - ## diff --git a/infrastructure/authelia/kustomization.yaml b/infrastructure/authelia/kustomization.yaml index 3ce13e3..6ea3cb9 100644 --- a/infrastructure/authelia/kustomization.yaml +++ b/infrastructure/authelia/kustomization.yaml @@ -13,6 +13,7 @@ resources: # Authelia itself is installed as a helm chart - authelia-ldap.sealedsecret.yaml - authelia-oidc.sealedsecret.yaml + - authelia-smtp.sealedsecret.yaml - ingress.yaml