mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
parent
51a7f5e226
commit
c26e63c5ba
6 changed files with 27 additions and 6 deletions
|
|
@ -0,0 +1,7 @@
|
|||
{{- if .Values.frontend.env }}
|
||||
{{- $envVar := .Values.frontend.env.BACKEND_HOSTNAME }}
|
||||
{{ else if .Values.ingress.main.enabled }}
|
||||
{{- $envVar := index (index .Values.ingress.main.hosts 0) "host" }}
|
||||
{{- else }}
|
||||
{{- fail "Frontend container environment is missing a required variable BACKEND_HOSTNAME or main ingress is not enabled." .Values.frontend.env }}
|
||||
{{- end }}
|
||||
|
|
@ -98,4 +98,8 @@ topologySpreadConstraints:
|
|||
tolerations:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- with .Values.resources }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue