From 90076f2dde8a4aeb88412a7e4f7789295570686b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sat, 19 Aug 2023 10:01:09 +0300 Subject: [PATCH] wildduck: Updates --- wildduck/README.md | 15 +++------------ wildduck/webmail.yaml | 1 + wildduck/wildduck-exporter.yaml | 1 + wildduck/wildflock.yaml | 1 + 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/wildduck/README.md b/wildduck/README.md index b42c6b4..8158285 100644 --- a/wildduck/README.md +++ b/wildduck/README.md @@ -1,13 +1,4 @@ -To deploy replace the API secret in configmaps/webmail.yml and: +# Wildduck stack -``` -kubectl -n wildduck apply -f application.yml -kubectl -n wildduck rollout restart deployment/webmail -``` - -To generate secrets: - -``` - kubectl create secret generic -n wildduck wildduck \ - --from-literal=WILDDUCK_API_TOKEN=$(cat /dev/urandom | base64 | head -c 30) -``` +This application is managed by +[ArgoCD](https://argocd.k-space.ee/applications/argocd/wildduck) diff --git a/wildduck/webmail.yaml b/wildduck/webmail.yaml index 2945805..6b38f52 100644 --- a/wildduck/webmail.yaml +++ b/wildduck/webmail.yaml @@ -64,6 +64,7 @@ metadata: name: webmail namespace: wildduck spec: + revisionHistoryLimit: 0 replicas: 2 selector: matchLabels: diff --git a/wildduck/wildduck-exporter.yaml b/wildduck/wildduck-exporter.yaml index bd2f1b5..0ad5d68 100644 --- a/wildduck/wildduck-exporter.yaml +++ b/wildduck/wildduck-exporter.yaml @@ -31,6 +31,7 @@ metadata: name: wildduck-exporter namespace: wildduck spec: + revisionHistoryLimit: 0 replicas: 1 selector: matchLabels: diff --git a/wildduck/wildflock.yaml b/wildduck/wildflock.yaml index 7716ff9..66df0d6 100644 --- a/wildduck/wildflock.yaml +++ b/wildduck/wildflock.yaml @@ -77,6 +77,7 @@ metadata: labels: app: wildflock spec: + revisionHistoryLimit: 0 selector: matchLabels: app: wildflock