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
+9 -2
View File
@@ -35,7 +35,6 @@ Common labels
*/}}
{{- define "pixelfed.labels" -}}
helm.sh/chart: {{ include "pixelfed.chart" . }}
{{ include "pixelfed.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
@@ -45,9 +44,17 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
{{/*
Selector labels
*/}}
{{- define "pixelfed.selectorLabels" -}}
{{- define "pixelfed.web.selectorLabels" -}}
app.kubernetes.io/name: {{ include "pixelfed.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/component: web
{{- end }}
{{/*
Horizon selector labels
*/}}
{{- define "pixelfed.horizon.selectorLabels" -}}
app.kubernetes.io/component: horizon
{{- end }}
{{/*