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

View File

@@ -41,8 +41,12 @@ resource "kubectl_manifest" "prj_mongo" {
members: 1 members: 1
type: ReplicaSet type: ReplicaSet
version: "4.4.0" version: "4.4.0"
podSpec: statefulSet:
podTemplate: 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: spec:
containers: containers:
- name: mongod - name: mongod
@@ -56,10 +60,6 @@ resource "kubectl_manifest" "prj_mongo" {
secretKeyRef: secretKeyRef:
name: "${var.instance}-${var.component}-mongo" name: "${var.instance}-${var.component}-mongo"
key: password 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: security:
authentication: authentication:
modes: ["SCRAM"] modes: ["SCRAM"]