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:
parent
e058372c9f
commit
1c29ec73eb
6 changed files with 31 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue