mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
ytproxy bug and resources (#20)
* ytproxy bug and resources fixed missing .ytproxy in pod template and fixed resources * Update Chart.yaml * Changelog and readme --------- Co-authored-by: Skyler Mäntysaari <samip5@users.noreply.github.com>
This commit is contained in:
parent
646872cedb
commit
03c86e5b06
8 changed files with 30 additions and 24 deletions
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -102,8 +102,4 @@ topologySpreadConstraints:
|
|||
tolerations:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- with .Values.backend.resources }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -98,8 +98,4 @@ topologySpreadConstraints:
|
|||
tolerations:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- with .Values.frontend.resources }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
|||
|
|
@ -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" . }}
|
||||
|
|
|
|||
|
|
@ -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 -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue