ytproxy bug and resources

fixed missing .ytproxy in pod template and fixed resources
This commit is contained in:
Aleksa Siriški 2023-05-02 22:03:27 +02:00
parent 646872cedb
commit 5f7c2bb26b
7 changed files with 19 additions and 19 deletions

View file

@ -9,7 +9,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 2.3.0
version: 2.4.0
appVersion: latest
kubeVersion: ">=1.22.0-0"
maintainers:

View file

@ -3,6 +3,10 @@
- name: {{ include "backend.names.fullname" . }}
image: {{ printf "%s:%s" .Values.backend.image.repository (default .Chart.AppVersion .Values.backend.image.tag) | quote }}
imagePullPolicy: {{ .Values.backend.image.pullPolicy }}
{{- with .Values.backend.resources }}
resources:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.backend.command }}
command:
{{- if kindIs "string" . }}

View file

@ -102,8 +102,4 @@ topologySpreadConstraints:
tolerations:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.backend.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}

View file

@ -3,6 +3,10 @@
- name: {{ include "frontend.names.fullname" . }}
image: {{ printf "%s:%s" .Values.frontend.image.repository (default .Chart.AppVersion .Values.frontend.image.tag) | quote }}
imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}
{{- with .Values.frontend.resources }}
resources:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.frontend.command }}
command:
{{- if kindIs "string" . }}

View file

@ -98,8 +98,4 @@ topologySpreadConstraints:
tolerations:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.frontend.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}

View file

@ -3,6 +3,10 @@
- name: {{ include "ytproxy.names.fullname" . }}
image: {{ printf "%s:%s" .Values.ytproxy.image.repository (default .Chart.AppVersion .Values.ytproxy.image.tag) | quote }}
imagePullPolicy: {{ .Values.ytproxy.image.pullPolicy }}
{{- with .Values.ytproxy.resources }}
resources:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ytproxy.command }}
command:
{{- if kindIs "string" . }}

View file

@ -82,28 +82,24 @@ containers:
volumes:
{{- nindent 2 . }}
{{- end }}
{{- with .Values.hostAliases }}
{{- with .Values.ytproxy.hostAliases }}
hostAliases:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.nodeSelector }}
{{- with .Values.ytproxy.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.affinity }}
{{- with .Values.ytproxy.affinity }}
affinity:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
{{- with .Values.ytproxy.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.tolerations }}
{{- with .Values.ytproxy.tolerations }}
tolerations:
{{- toYaml . | nindent 2 }}
{{- end -}}
{{- with .Values.resources }}
resources:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end -}}
{{- end -}}