Add support for separate Horizon deployment
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user