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:
Aleksa Siriški 2023-05-03 20:41:50 +00:00 committed by GitHub
parent 646872cedb
commit 03c86e5b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 24 deletions

View File

@ -9,7 +9,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy - https://github.com/TeamPiped/piped-proxy
keywords: keywords:
- streaming - streaming
version: 2.3.0 version: 2.4.0
appVersion: latest appVersion: latest
kubeVersion: ">=1.22.0-0" kubeVersion: ">=1.22.0-0"
maintainers: maintainers:
@ -26,5 +26,10 @@ dependencies:
condition: postgresql.enabled condition: postgresql.enabled
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: fixed
description: Missing .ytproxy in pod template
- kind: fixed
description: resource definitions in templates
- kind: changed - kind: changed
description: Upgraded `postgresql` chart dependency to version 12.4.2 description: Added resources limits to container definitions

View File

@ -1,6 +1,6 @@
# piped # piped
![Version: 2.3.0](https://img.shields.io/badge/Version-2.3.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) ![Version: 2.4.0](https://img.shields.io/badge/Version-2.4.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Piped is an alternative privacy-friendly YouTube frontend which is efficient by design. Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.
@ -160,7 +160,7 @@ helm install piped TeamPiped/piped -f values.yaml
## Changelog ## Changelog
### Version 2.3.0 ### Version 2.4.0
#### Added #### Added
@ -168,11 +168,12 @@ N/A
#### Changed #### Changed
* Upgraded `postgresql` chart dependency to version 12.4.2 * Added resources limits to container definitions
#### Fixed #### Fixed
N/A * Missing .ytproxy in pod template
* resource definitions in templates
## Support ## Support

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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