lemmy: Update to 0.17.4

Also adds upgrade strategies to ensure pictrs updates correctly, as the
sled database locks to one instance
This commit is contained in:
Alexander Olofsson 2023-06-13 00:01:06 +02:00
parent e058372c9f
commit 1c29ec73eb
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
6 changed files with 31 additions and 3 deletions

View file

@ -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

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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 }}

View file

@ -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