From f0317568935739c34b1a3249cfab5ae9a7ca9fb7 Mon Sep 17 00:00:00 2001 From: Bing Steup Date: Wed, 1 May 2024 16:41:29 +0200 Subject: [PATCH] Feat: apply nodeSelector, affinity and tolerations from values.yaml in deployment.yaml and bump version. Signed-off-by: Bing Steup --- Chart.yaml | 2 +- templates/deployment.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Chart.yaml b/Chart.yaml index c0b23db..11391de 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 name: plausible-analytics description: A Helm Chart for Plausible Analytics - Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics. type: application -version: 0.2.4 +version: 0.2.5 appVersion: 2.0.0 keywords: - web analytics diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3d92fb4..5879854 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -238,3 +238,15 @@ spec: port: http resources: {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }}