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
|
name: lemmy
|
||||||
description: A link aggregator and forum for the fediverse
|
description: A link aggregator and forum for the fediverse
|
||||||
icon: https://join-lemmy.org/static/assets/images/lemmy.svg
|
icon: https://join-lemmy.org/static/assets/images/lemmy.svg
|
||||||
appVersion: 0.17.3
|
appVersion: 0.17.4
|
||||||
|
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
|
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Alexander Olofsson
|
- name: Alexander Olofsson
|
||||||
|
|
|
@ -8,6 +8,10 @@ metadata:
|
||||||
app.kubernetes.io/component: backend
|
app.kubernetes.io/component: backend
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.backend.replicaCount }}
|
replicas: {{ .Values.backend.replicaCount }}
|
||||||
|
{{- with .Values.backend.strategy }}
|
||||||
|
strategy:
|
||||||
|
{{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -8,6 +8,10 @@ metadata:
|
||||||
app.kubernetes.io/component: frontend
|
app.kubernetes.io/component: frontend
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.frontend.replicaCount }}
|
replicas: {{ .Values.frontend.replicaCount }}
|
||||||
|
{{- with .Values.frontend.strategy }}
|
||||||
|
strategy:
|
||||||
|
{{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -8,6 +8,10 @@ metadata:
|
||||||
app.kubernetes.io/component: pictrs
|
app.kubernetes.io/component: pictrs
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.pictrs.replicaCount }}
|
replicas: {{ .Values.pictrs.replicaCount }}
|
||||||
|
{{- with .Values.pictrs.strategy }}
|
||||||
|
strategy:
|
||||||
|
{{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -9,6 +9,10 @@ metadata:
|
||||||
app.kubernetes.io/component: proxy
|
app.kubernetes.io/component: proxy
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.proxy.replicaCount }}
|
replicas: {{ .Values.proxy.replicaCount }}
|
||||||
|
{{- with .Values.proxy.strategy }}
|
||||||
|
strategy:
|
||||||
|
{{- . | toYaml | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
{{- include "lemmy.selectorLabels" . | nindent 6 }}
|
||||||
|
|
|
@ -9,7 +9,7 @@ image:
|
||||||
serverName: "localhost"
|
serverName: "localhost"
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
server: smtp.example.com
|
server: "smtp.example.com:25"
|
||||||
# username: lemmy
|
# username: lemmy
|
||||||
# password:
|
# password:
|
||||||
from: lemmy@example.com
|
from: lemmy@example.com
|
||||||
|
@ -55,6 +55,9 @@ backend:
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
|
||||||
podSecurityContext: {}
|
podSecurityContext: {}
|
||||||
|
@ -94,6 +97,9 @@ frontend:
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# LEMMY_UI_DEBUG: true
|
# LEMMY_UI_DEBUG: true
|
||||||
|
|
||||||
|
@ -135,6 +141,9 @@ frontend:
|
||||||
pictrs:
|
pictrs:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
## Generated on first install if left empty
|
## Generated on first install if left empty
|
||||||
# apiKey:
|
# apiKey:
|
||||||
|
|
||||||
|
@ -216,6 +225,9 @@ proxy:
|
||||||
enabled: true
|
enabled: true
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: nginx
|
repository: nginx
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
Loading…
Reference in a new issue