2023-09-28 18:16:36 +00:00
|
|
|
{{- define "vikunja.frontend.hardcodedValues" -}}
|
2023-09-29 01:22:04 +00:00
|
|
|
global:
|
2023-09-29 01:49:17 +00:00
|
|
|
nameOverride: frontend
|
2023-09-29 01:22:04 +00:00
|
|
|
|
2023-09-29 01:49:17 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
{{- if not .Values.backend.enabled -}}
|
|
|
|
primary: true
|
|
|
|
{{- end }}
|
|
|
|
type: ClusterIP
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
enabled: true
|
|
|
|
{{- if not .Values.backend.enabled -}}
|
|
|
|
primary: true
|
|
|
|
{{- end }}
|
|
|
|
port: 80
|
|
|
|
protocol: HTTP
|
2023-09-29 01:22:04 +00:00
|
|
|
|
|
|
|
|
2023-09-28 18:16:36 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if .Values.frontend.enabled }}
|
|
|
|
{{- $ctx := deepCopy . -}}
|
|
|
|
{{- $_ := get .Values "frontend" | mergeOverwrite $ctx.Values -}}
|
|
|
|
{{- $_ = include "vikunja.frontend.hardcodedValues" . | fromYaml | merge $ctx.Values -}}
|
|
|
|
{{- include "bjw-s.common.loader.all" $ctx }}
|
|
|
|
{{ end }}
|