79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
#SPDX-License-Identifier: MIT-0
|
|
---
|
|
# tasks file for ansible-role-mailman3
|
|
- name: deploy
|
|
kubernetes.core.helm:
|
|
name: mailman3
|
|
chart_ref: https://gitea.eom.dev/DevOps/helm-mailman3/releases/download/v1.0.8/helm-mailman3-v1.0.8.tar.gz
|
|
release_namespace: mailman3
|
|
create_namespace: true
|
|
values:
|
|
# Default values for mailman3.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
# These are the settings that you MUST change before deploying:
|
|
# Initial Settings for the admin account:
|
|
admin:
|
|
username: mailman_admin
|
|
email: mailman_admin@eom.dev
|
|
password: "{{ mailman_admin_password }}"
|
|
# some keys have to be provided...
|
|
hyperkittyApiKey: "{{ mailman_hyperkitty_api_key }}"
|
|
djangoSecretKey: "{{ mailman_django_secret_key }}"
|
|
hostname: mailman.eom.dev
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
core:
|
|
image:
|
|
repository: maxking/mailman-core
|
|
persistence:
|
|
size: 2Ti
|
|
resources:
|
|
limits:
|
|
memory: 2Gi
|
|
requests:
|
|
memory: 512Mi
|
|
smtp:
|
|
host: postfix.eom.dev
|
|
host_user: mailman_admin@eom.dev
|
|
host_password: "{{ mailman_admin_password }}"
|
|
use_tls: "true"
|
|
port: "587"
|
|
web:
|
|
image:
|
|
repository: maxking/mailman-web
|
|
persistence:
|
|
size: 2Ti
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: ca-issuer
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For"
|
|
hosts:
|
|
- host: mailman.eom.dev
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- mailman.eom.dev
|
|
secretName: mailman3-tls
|
|
postgresql:
|
|
enabled: true
|
|
image:
|
|
pullPolicy: Always
|
|
global:
|
|
postgresql:
|
|
auth:
|
|
username: mailman
|
|
password: "{{ mailman_admin_password }}"
|
|
database: mailman
|
|
primary:
|
|
persistence:
|
|
enabled: true
|
|
size: 2Ti
|