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