From bb635affa5a350bcb603305d869b5efe286d998f Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 13 May 2024 17:09:25 +0200 Subject: [PATCH] feat(ntfy-sh): add resources --- charts/ntfy-sh/Chart.yaml | 2 +- charts/ntfy-sh/templates/deployment-server.yaml | 4 +--- charts/ntfy-sh/values.yaml | 8 ++++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/charts/ntfy-sh/Chart.yaml b/charts/ntfy-sh/Chart.yaml index 405d81e..f26f343 100644 --- a/charts/ntfy-sh/Chart.yaml +++ b/charts/ntfy-sh/Chart.yaml @@ -4,7 +4,7 @@ description: | ntfy lets you send push notifications to your phone or desktop via scripts from any computer appVersion: 2.10.0 type: application -version: 0.2.4 +version: 0.2.5 maintainers: - name: Tommy Skaug email: tommy@skaug.me diff --git a/charts/ntfy-sh/templates/deployment-server.yaml b/charts/ntfy-sh/templates/deployment-server.yaml index 9762e9e..5009207 100644 --- a/charts/ntfy-sh/templates/deployment-server.yaml +++ b/charts/ntfy-sh/templates/deployment-server.yaml @@ -35,9 +35,7 @@ spec: - name: NTFY_ENABLE_LOGIN value: "true" resources: - limits: - memory: "128Mi" - cpu: "500m" + {{- toYaml .Values.resources | nindent 10 }} ports: - containerPort: 80 name: http diff --git a/charts/ntfy-sh/values.yaml b/charts/ntfy-sh/values.yaml index f8d54a3..e852538 100644 --- a/charts/ntfy-sh/values.yaml +++ b/charts/ntfy-sh/values.yaml @@ -10,3 +10,11 @@ image: prometheus: podmonitor: enabled: true + +resources: + limits: + memory: "2Gi" + cpu: "1000m" + requests: + cpu: 100m + memory: 50Mi