feat: Gitea | enable smtp mail
This commit is contained in:
@@ -128,3 +128,13 @@ metadata:
|
||||
operator.1password.io/auto-restart: "true"
|
||||
spec:
|
||||
itemPath: "vaults/Lab/items/gitea-redis"
|
||||
---
|
||||
apiVersion: onepassword.com/v1
|
||||
kind: OnePasswordItem
|
||||
metadata:
|
||||
name: smtp-token
|
||||
namespace: gitea-system
|
||||
annotations:
|
||||
operator.1password.io/auto-restart: "true"
|
||||
spec:
|
||||
itemPath: "vaults/Lab/items/smtp-token"
|
||||
|
||||
@@ -58,6 +58,11 @@ gitea:
|
||||
DISABLE_REGISTRATION: true
|
||||
oauth2_client:
|
||||
ENABLE_AUTO_REGISTRATION: true
|
||||
mailer:
|
||||
ENABLED: true
|
||||
PROTOCOL: smtp+starttls
|
||||
SMTP_ADDR: smtp.protonmail.ch
|
||||
SMTP_PORT: 587
|
||||
oauth:
|
||||
- name: "authentik"
|
||||
provider: "openidConnect"
|
||||
@@ -76,6 +81,11 @@ gitea:
|
||||
secretKeyRef:
|
||||
name: gitea-redis
|
||||
key: password
|
||||
- name: GITEA__MAILER__PASSWD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: smtp-token
|
||||
key: password
|
||||
persistence:
|
||||
enabled: true
|
||||
accessModes:
|
||||
|
||||
Reference in New Issue
Block a user