From 8eb45447fa3096012c4a62742f4dbaf4ae0a1db5 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 8 Jan 2024 11:41:54 +0300 Subject: [PATCH] ninja: add backupset labels to pods --- basic/apps/ninja/invoiceninja-values-configmap.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/basic/apps/ninja/invoiceninja-values-configmap.yaml b/basic/apps/ninja/invoiceninja-values-configmap.yaml index 9404847..5251d4b 100644 --- a/basic/apps/ninja/invoiceninja-values-configmap.yaml +++ b/basic/apps/ninja/invoiceninja-values-configmap.yaml @@ -18,11 +18,17 @@ data: annotations: nginx.ingress.kubernetes.io/configuration-snippet: | more_set_headers "Content-Security-Policy: frame-ancestors 'self' ${nextcloud_domain}"; + commonLabels: + stackspin.net/backupSet: "invoiceninja" + podLabels: + stackspin.net/backupSet: "invoiceninja" persistence: public: existingClaim: invoiceninja-data mariadb: # https://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yaml + commonLabels: + stackspin.net/backupSet: "invoiceninja" auth: password: "${mariadb_password}" rootPassword: "${mariadb_root_password}" @@ -30,6 +36,8 @@ data: persistence: existingClaim: invoiceninja-mariadb redis: + commonLabels: + stackspin.net/backupSet: "invoiceninja" # Redis is only cache, so no pvc needed: https://invoiceninja.github.io/docs/env-variables/ auth: password: "${redis_password}"