From 250ee3ef2622f5f30e5a452a5ca3e7261dc2d0ad Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 15 Oct 2023 17:21:49 +0200 Subject: [PATCH] Add some smtp settings --- badhouseplants/values/secrets.bitwarden.yaml | 8 ++++--- badhouseplants/values/secrets.gitea.yaml | 8 +++---- badhouseplants/values/values.bitwarden.yaml | 23 +++++++++++--------- badhouseplants/values/values.gitea.yaml | 7 ++++++ badhouseplants/values/values.mailu.yaml | 2 +- 5 files changed, 30 insertions(+), 18 deletions(-) diff --git a/badhouseplants/values/secrets.bitwarden.yaml b/badhouseplants/values/secrets.bitwarden.yaml index 2a865a3..4407926 100644 --- a/badhouseplants/values/secrets.bitwarden.yaml +++ b/badhouseplants/values/secrets.bitwarden.yaml @@ -1,5 +1,7 @@ env: ADMIN_TOKEN: ENC[AES256_GCM,data:ea2lgOEYMi8Dsvun00YZR3PCE3ycNC4Mpe+xye9YL5CTtnyrDwV9Tw==,iv:28Tcn1/qIquS4jCNBTtspB9c+5U3Ut1zoY6gIez8fcs=,tag:POmhoUY3t4w+iTJKK2eHVQ==,type:str] +smtp: + password: ENC[AES256_GCM,data:cs+2Ml3YfZCk8z/KmexGMqzFQRM=,iv:mg8e3oHbLT07pZEdDGwlBchPyT83xOdwKJg9CCaicnc=,tag:NPD+8gKERO8uCuwrFnn3bQ==,type:str] sops: kms: [] gcp_kms: [] @@ -15,8 +17,8 @@ sops: dzNYMlRnUDIxK2padTRCSzR4UUpWQjQKxex3RqZGU7ekdNC3qIiqdFs7d7a0Pxa1 amLsaNnBfJ3OqjuD8atF2iCAXy1Q2BcXunkWi3wbzHb/DgYly3n9OQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-07-16T18:40:43Z" - mac: ENC[AES256_GCM,data:tbPAgDQGA8MPnG5mIZLfvsOKdSkpOTK1Oy7uIQJ3DsNtBIt9vSO+vYxNjvfjAHyB6vE1cfx8zJkRcUw8kPh485jOxsM9G1ms/sjZKyJwsJbMjiqxs5zs0E4X9sqpJWiIhILBreZ8IopK4hCd2uLvhoV/HPxW8FV/HnHoCQ5p2Do=,iv:FtgTWFdkxCPOsNiJQWWIUmwYgh5rqRcbM/ToShcSODY=,tag:yc54xWHdq4KnSNxT9breOQ==,type:str] + lastmodified: "2023-10-15T12:20:48Z" + mac: ENC[AES256_GCM,data:2yRwdYM32eESPuUz+d7m7pTcluDUeOrLgv7iJmhPEnowcU9WvypAZr73w4y4ewc3yvLmmu5uuFjJJhN1+yjwULGUtU1NPdcvXHsGwtlA7KDyYUqwIc4NrD6BAeR7tRQChNVD++2wB43kiGAWAMmieOMt+xHcaWlM2btuLoiwE34=,iv:ZMxA5eu0IJKTRBtoKhyIJiDe/W3zVjzlz3TbO7gpRnU=,tag:ErYqzleh87+wj0uBRah20g==,type:str] pgp: [] unencrypted_suffix: _unencrypted - version: 3.7.3 \ No newline at end of file + version: 3.8.1 diff --git a/badhouseplants/values/secrets.gitea.yaml b/badhouseplants/values/secrets.gitea.yaml index 4dec029..6d28634 100644 --- a/badhouseplants/values/secrets.gitea.yaml +++ b/badhouseplants/values/secrets.gitea.yaml @@ -4,7 +4,7 @@ gitea: password: ENC[AES256_GCM,data:TnIUSnX7Lj+2N6mWWOvVVmc96DQ=,iv:vjow//IrtvdmTg4jYenwTyUnuBhq7witfzugbE0uq9c=,tag:L5UPa9UK4aB1wY1ilZntzg==,type:str] config: mailer: - ENABLED: ENC[AES256_GCM,data:C2qWn4E=,iv:APUvrTInDdxf1tJ5eFSgxUej8e085HZalsiHY6/Fryc=,tag:MW3KhfU+25EWDzM/+QOZ5A==,type:bool] + PASSWD: ENC[AES256_GCM,data:lb1VwH/Bc2XoyB42UrhgCX5ad70=,iv:Eh4R2deZOMGq4LxZadtt6SgrdoSxcArYC2X+czKtns8=,tag:ZCtQguWQt8ARS2rTWCSoSg==,type:str] database: PASSWD: ENC[AES256_GCM,data:mI1RHEThB0bM1bJ/pBioJjvKT3Q=,iv:WSwV4+UzD8HUtA5ipZNu2IVXa4AuQE9k7hTB++AsTgU=,tag:CtU3ValcNw0RSIQVdaHmtw==,type:str] session: @@ -33,8 +33,8 @@ sops: Ym5KMWw5ZDBBZzJBcHBXdFZiaDZpU0UKNl/GkGP25D7z5a8mVBmoSTfOM3EzymPN WW62zIoBHlwLxF9nwj1xCCtcL1XKgiB8nnn4IrY3ljqFc0VkxD9dnQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-10-04T19:15:11Z" - mac: ENC[AES256_GCM,data:1i8EysfGANbgwIPGqQ1+SxKRjpvWP50gheisTs9kRUop/kH4WF+WM+cKyAIB1i5JCF1ICOas0KDcTkSiO4kEV0tFS8efBCkWNopZOmGSET5uUjeekj/nshtp1OCloQyWV2x6Ata4v8p1Y2gZ2FcfocslXRLtMBvwxvzxabW4Ui8=,iv:09qo93S1WxX/9ryvaXMLQRynCdee8sorBFPCNM0ilS4=,tag:St7XKo6Ycz/g3lje199cSg==,type:str] + lastmodified: "2023-10-15T09:58:05Z" + mac: ENC[AES256_GCM,data:W7Ml9O6oA5dG59O7eWUEBdRrOdmoXWdib2tzK2zCFfMbjWczS5I7AM3DFKG6+P/kRiEQpjj0OarFvuJ7e23blx0/43UXqjpRCuGqcWkNXQaYaxlye6SDlLjregTUeqo4gyzyXYVpIGikLNBYoufewpdlboVQk8ZheSLSOttrbcE=,iv:IqrjduR0EhuzCCWCCJOHCL0DlS4B66P1Wlucg9R0gk4=,tag:vmq6+uh9q7avpK5Q56+iJA==,type:str] pgp: [] unencrypted_suffix: _unencrypted - version: 3.8.0 + version: 3.8.1 diff --git a/badhouseplants/values/values.bitwarden.yaml b/badhouseplants/values/values.bitwarden.yaml index 16d3cb9..00e0898 100644 --- a/badhouseplants/values/values.bitwarden.yaml +++ b/badhouseplants/values/values.bitwarden.yaml @@ -17,21 +17,24 @@ istio: pathType: Prefix env: - SIGNUPS_ALLOWED: false DOMAIN: "https://bitwarden.badhouseplants.net" - # YUBICO_CLIENT_ID - # YUBICO_SECRET_KEY - # DATA_FOLDER - # DATABASE_URL - # ATTACHMENTS_FOLDER - # ICON_CACHE_FOLDER - # ROCKET_LIMITS - # ROCKET_WORKERS WEB_VAULT_ENABLED: true persistence: enabled: true accessMode: ReadWriteOnce size: 800Mi - storageClass: longhorn \ No newline at end of file + storageClass: longhorn + +smtp: + host: badhouseplants.net + security: "starttls" + port: 587 + from: bitwarden@badhouseplants.net + fromName: bitwarden + username: + value: overlord@badhouseplants.net + authMechanism: "Plain" + acceptInvalidHostnames: "false" + acceptInvalidCerts: "false" \ No newline at end of file diff --git a/badhouseplants/values/values.gitea.yaml b/badhouseplants/values/values.gitea.yaml index 88ef536..726fde3 100644 --- a/badhouseplants/values/values.gitea.yaml +++ b/badhouseplants/values/values.gitea.yaml @@ -101,6 +101,13 @@ gitea: ADAPTER: redis queue: TYPE: redis + mailer: + ENABLED: true + FROM: gitea@badhouseplants.net + PROTOCOL: smtp+startls + SMTP_ADDR: badhouseplants.net + SMTP_PORT: 587 + USER: overlord@badhouseplants.net service: ssh: type: ClusterIP diff --git a/badhouseplants/values/values.mailu.yaml b/badhouseplants/values/values.mailu.yaml index c2188b2..0612e49 100644 --- a/badhouseplants/values/values.mailu.yaml +++ b/badhouseplants/values/values.mailu.yaml @@ -21,7 +21,7 @@ istio: kind: http gateway: badhouseplants-net hostname: email.badhouseplants.net - service: mailu-front + service: mailu-fr ont port: 80 # - name: mailu-smpt # kind: tcp