Add support for separate Horizon deployment

This commit is contained in:
holysoles
2025-01-22 20:06:21 -06:00
parent cf128bf9d4
commit 5fb13fe030
7 changed files with 288 additions and 6 deletions
+6 -1
View File
@@ -10,7 +10,7 @@ spec:
{{- end }}
selector:
matchLabels:
{{- include "pixelfed.selectorLabels" . | nindent 6 }}
{{- include "pixelfed.web.selectorLabels" . | nindent 6 }}
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
template:
metadata:
@@ -22,6 +22,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "pixelfed.web.selectorLabels" . | nindent 8 }}
{{- include "pixelfed.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
@@ -67,6 +68,10 @@ spec:
{{- toYaml . | nindent 12 }}
{{- end }}
# Run horizon inside this pod dependent upon the separate_deployment flag
- name: ENABLE_HORIZON
value: "{{ not .Values.pixelfed.horizon.separate_deployment }}"
# pixelfed app key
- name: APP_KEY
valueFrom: