From 061e67fd8b8a8382683b764470f45b6c4b4bd079 Mon Sep 17 00:00:00 2001 From: jnobrega Date: Sun, 12 May 2024 22:33:14 +0100 Subject: [PATCH] chore: add affinity to paperless --- k8s/apps/documents/paperless/app/helm-release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/k8s/apps/documents/paperless/app/helm-release.yaml b/k8s/apps/documents/paperless/app/helm-release.yaml index 8db48ada..f730ba94 100644 --- a/k8s/apps/documents/paperless/app/helm-release.yaml +++ b/k8s/apps/documents/paperless/app/helm-release.yaml @@ -27,6 +27,14 @@ spec: uninstall: keepHistory: false values: + defaultPodOptions: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: node-role.kubernetes.io/control-plane + operator: DoesNotExist controllers: paperless: strategy: RollingUpdate