This commit is contained in:
2023-08-11 18:46:59 +02:00
parent 640104a958
commit 8126e74004
2 changed files with 24 additions and 24 deletions

View File

@@ -6,26 +6,21 @@ metadata:
name: wildduck
description: null
options:
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
additional-domains:
default: []
items:
type: string
type: array
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
redis:
default:
exporter:
@@ -59,6 +54,16 @@ options:
default: 2Gi
type: string
type: object
sub-domain:
default: mail
examples:
- mail
type: string
domain:
default: your-company
examples:
- your-company
type: string
backups:
default:
enable: false
@@ -89,11 +94,6 @@ options:
default: backup-settings
type: string
type: object
domain:
default: your-company
examples:
- your-company
type: string
images:
default:
haraka:
@@ -257,10 +257,10 @@ options:
type: string
type: object
type: object
sub-domain:
default: mail
domain-name:
default: your_company.com
examples:
- mail
- your_company.com
type: string
dependencies:
- dist: null

View File

@@ -41,8 +41,12 @@ resource "kubectl_manifest" "prj_mongo" {
members: 1
type: ReplicaSet
version: "4.4.0"
podSpec:
podTemplate:
statefulSet:
properties
metadata:
annotations:
"k8up.io/backupcommand": "sh -c 'mongodump --username=$MONGODB_USER --password=$MONGODB_PASSWORD mongodb://localhost/$MONGODB_NAME --archive'"
"k8up.io/file-extension": ".archive"
spec:
containers:
- name: mongod
@@ -56,10 +60,6 @@ resource "kubectl_manifest" "prj_mongo" {
secretKeyRef:
name: "${var.instance}-${var.component}-mongo"
key: password
metadata:
annotations:
"k8up.io/backupcommand": "sh -c 'mongodump --username=$MONGODB_USER --password=$MONGODB_PASSWORD mongodb://localhost/$MONGODB_NAME --archive'"
"k8up.io/file-extension": ".archive"
security:
authentication:
modes: ["SCRAM"]