From 69eb70073ecd7161774b14c2c857020218a2d8bb Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Sat, 14 May 2022 12:43:21 +0200 Subject: [PATCH] feat: update imghost chart --- imghost/Chart.yaml | 4 ++-- imghost/templates/deployment-backend.yaml | 2 +- imghost/templates/deployment-frontend.yaml | 2 +- imghost/templates/deployment-oauth.yaml | 2 +- imghost/values.yaml | 20 ++++++++++++-------- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/imghost/Chart.yaml b/imghost/Chart.yaml index f574c8e..cc19bda 100644 --- a/imghost/Chart.yaml +++ b/imghost/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: imghost description: Helm Chart for imghost type: application -version: 1.0.2 -appVersion: "d7c3db94" +version: 1.0.3 +appVersion: "04828ff3" diff --git a/imghost/templates/deployment-backend.yaml b/imghost/templates/deployment-backend.yaml index c44132a..045227d 100644 --- a/imghost/templates/deployment-backend.yaml +++ b/imghost/templates/deployment-backend.yaml @@ -59,7 +59,7 @@ spec: path: /healthz port: metrics resources: - {{- toYaml .Values.resources | nindent 12 }} + {{- toYaml .Values.backend | nindent 12 }} volumeMounts: - mountPath: "/config.yaml" name: config diff --git a/imghost/templates/deployment-frontend.yaml b/imghost/templates/deployment-frontend.yaml index 93f2b4d..2feb7aa 100644 --- a/imghost/templates/deployment-frontend.yaml +++ b/imghost/templates/deployment-frontend.yaml @@ -59,7 +59,7 @@ spec: path: /healthz port: http resources: - {{- toYaml .Values.resources | nindent 12 }} + {{- toYaml .Values.frontend | nindent 12 }} volumeMounts: - mountPath: "/config.yaml" name: config diff --git a/imghost/templates/deployment-oauth.yaml b/imghost/templates/deployment-oauth.yaml index 5e86e0f..c8d20de 100644 --- a/imghost/templates/deployment-oauth.yaml +++ b/imghost/templates/deployment-oauth.yaml @@ -90,7 +90,7 @@ spec: volumeMounts: - mountPath: "/proxy_config.yaml" name: config - subPath: "proxy-config" + subPath: config {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/imghost/values.yaml b/imghost/values.yaml index cd7bb75..c7be62b 100644 --- a/imghost/values.yaml +++ b/imghost/values.yaml @@ -8,11 +8,23 @@ frontend: repository: k8r.eu/justjanne/imghost pullPolicy: IfNotPresent tag: "" + limits: + cpu: 500m + memory: 512Mi + requests: + cpu: 10m + memory: 64Mi backend: repository: k8r.eu/justjanne/imghost pullPolicy: IfNotPresent tag: "" + limits: + cpu: 4 + memory: 4Gi + requests: + cpu: 10m + memory: 64Mi oauth2: repository: k8r.eu/justjanne/keycloak-proxy @@ -80,14 +92,6 @@ securityContext: runAsNonRoot: true runAsUser: 1000 -resources: - limits: - cpu: 500m - memory: 512Mi - requests: - cpu: 10m - memory: 64Mi - nodeSelector: { } tolerations: [ ] -- GitLab