diff --git a/charts/lemmy/Chart.yaml b/charts/lemmy/Chart.yaml index c0b04f6..4fddcda 100644 --- a/charts/lemmy/Chart.yaml +++ b/charts/lemmy/Chart.yaml @@ -3,10 +3,10 @@ apiVersion: v2 name: lemmy description: A link aggregator and forum for the fediverse icon: https://join-lemmy.org/static/assets/images/lemmy.svg -appVersion: 0.17.3 +appVersion: 0.17.4 type: application -version: 0.1.0 +version: 0.1.1 maintainers: - name: Alexander Olofsson diff --git a/charts/lemmy/templates/deployment-backend.yaml b/charts/lemmy/templates/deployment-backend.yaml index 4903d5d..f4dc68f 100644 --- a/charts/lemmy/templates/deployment-backend.yaml +++ b/charts/lemmy/templates/deployment-backend.yaml @@ -8,6 +8,10 @@ metadata: app.kubernetes.io/component: backend spec: replicas: {{ .Values.backend.replicaCount }} + {{- with .Values.backend.strategy }} + strategy: + {{- . | toYaml | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "lemmy.selectorLabels" . | nindent 6 }} diff --git a/charts/lemmy/templates/deployment-frontend.yaml b/charts/lemmy/templates/deployment-frontend.yaml index 6d2b1f8..efee26f 100644 --- a/charts/lemmy/templates/deployment-frontend.yaml +++ b/charts/lemmy/templates/deployment-frontend.yaml @@ -8,6 +8,10 @@ metadata: app.kubernetes.io/component: frontend spec: replicas: {{ .Values.frontend.replicaCount }} + {{- with .Values.frontend.strategy }} + strategy: + {{- . | toYaml | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "lemmy.selectorLabels" . | nindent 6 }} diff --git a/charts/lemmy/templates/deployment-pictrs.yaml b/charts/lemmy/templates/deployment-pictrs.yaml index 8b94f9a..86a9e71 100644 --- a/charts/lemmy/templates/deployment-pictrs.yaml +++ b/charts/lemmy/templates/deployment-pictrs.yaml @@ -8,6 +8,10 @@ metadata: app.kubernetes.io/component: pictrs spec: replicas: {{ .Values.pictrs.replicaCount }} + {{- with .Values.pictrs.strategy }} + strategy: + {{- . | toYaml | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "lemmy.selectorLabels" . | nindent 6 }} diff --git a/charts/lemmy/templates/deployment-proxy.yaml b/charts/lemmy/templates/deployment-proxy.yaml index 133b37e..e5d862a 100644 --- a/charts/lemmy/templates/deployment-proxy.yaml +++ b/charts/lemmy/templates/deployment-proxy.yaml @@ -9,6 +9,10 @@ metadata: app.kubernetes.io/component: proxy spec: replicas: {{ .Values.proxy.replicaCount }} + {{- with .Values.proxy.strategy }} + strategy: + {{- . | toYaml | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "lemmy.selectorLabels" . | nindent 6 }} diff --git a/charts/lemmy/values.yaml b/charts/lemmy/values.yaml index 3f2d4d6..390cb6a 100644 --- a/charts/lemmy/values.yaml +++ b/charts/lemmy/values.yaml @@ -9,7 +9,7 @@ image: serverName: "localhost" smtp: - server: smtp.example.com + server: "smtp.example.com:25" # username: lemmy # password: from: lemmy@example.com @@ -55,6 +55,9 @@ backend: replicaCount: 1 + strategy: + type: RollingUpdate + podAnnotations: {} podSecurityContext: {} @@ -94,6 +97,9 @@ frontend: replicaCount: 1 + strategy: + type: RollingUpdate + env: # LEMMY_UI_DEBUG: true @@ -135,6 +141,9 @@ frontend: pictrs: replicaCount: 1 + strategy: + type: Recreate + ## Generated on first install if left empty # apiKey: @@ -216,6 +225,9 @@ proxy: enabled: true replicaCount: 1 + strategy: + type: RollingUpdate + image: repository: nginx pullPolicy: Always