mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2025-04-27 23:30:34 +05:30
common: Bring the fullname definition here, and not depend on Postgre… (#32)
* common: Bring the fullname definition here, and not depend on Postgresql chart to bring it. * Fix lint * Fix changelog checker * Fix values linting * Trying to fix the charts-changelog. * Trying to fix the charts-changelog, part two * values: fix lint * It seems k8s-at-home repo is went poof, so use upstream helm-docs.
This commit is contained in:
parent
db7f5a2877
commit
e8170c0c8d
8
.github/workflows/charts-changelog.yaml
vendored
8
.github/workflows/charts-changelog.yaml
vendored
@ -27,12 +27,14 @@ jobs:
|
|||||||
- name: Check changelog annotations
|
- name: Check changelog annotations
|
||||||
if: inputs.isRenovatePR != 'true'
|
if: inputs.isRenovatePR != 'true'
|
||||||
run: |
|
run: |
|
||||||
|
UP_CHARTS_DIR="charts"
|
||||||
IN_CHARTS=(${{ inputs.modifiedCharts }})
|
IN_CHARTS=(${{ inputs.modifiedCharts }})
|
||||||
CHARTS=($(python -c 'import sys;a=sys.argv[1].translate(str.maketrans("","","[]")).split(",");print(" ".join(a))' $IN_CHARTS))
|
CHARTS=($(python -c 'import sys;a=sys.argv[1].translate(str.maketrans("","","[]")).split(",");print(" ".join(a))' $IN_CHARTS))
|
||||||
for i in "${CHARTS[@]}"
|
for i in "${CHARTS[@]}"
|
||||||
do
|
do
|
||||||
IFS='/' read -r -a chart_parts <<< "$i"
|
IFS='/' read -r -a chart_parts <<< "$i"
|
||||||
./.github/scripts/check-releasenotes.sh "${chart_parts[0]}/${chart_parts[1]}"
|
chart_path="$UP_CHARTS_DIR/${chart_parts[0]}/${chart_parts[1]}"
|
||||||
|
./.github/scripts/check-releasenotes.sh "$chart_path"
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
generate-changelog:
|
generate-changelog:
|
||||||
@ -56,8 +58,8 @@ jobs:
|
|||||||
- name: Install helm-docs
|
- name: Install helm-docs
|
||||||
run: |
|
run: |
|
||||||
cd /tmp
|
cd /tmp
|
||||||
wget https://github.com/k8s-at-home/helm-docs/releases/download/v0.1.1/helm-docs_0.1.1_Linux_x86_64.tar.gz
|
wget https://github.com/norwoodj/helm-docs/releases/download/v1.11.0/helm-docs_1.11.0_Linux_x86_64.tar.gz
|
||||||
tar -xvf helm-docs_0.1.1_Linux_x86_64.tar.gz
|
tar -xvf helm-docs_1.11.0_Linux_x86_64.tar.gz
|
||||||
sudo mv helm-docs /usr/local/sbin
|
sudo mv helm-docs /usr/local/sbin
|
||||||
sudo chmod +x /usr/local/sbin/helm-docs
|
sudo chmod +x /usr/local/sbin/helm-docs
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ sources:
|
|||||||
- https://github.com/TeamPiped/piped-proxy
|
- https://github.com/TeamPiped/piped-proxy
|
||||||
keywords:
|
keywords:
|
||||||
- streaming
|
- streaming
|
||||||
version: 2.6.1
|
version: 2.6.2
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
maintainers:
|
maintainers:
|
||||||
@ -26,6 +26,5 @@ dependencies:
|
|||||||
condition: postgresql.enabled
|
condition: postgresql.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Upgraded `common` chart dependency to version 1.5.1
|
description: ytproxy ingress, GH issue 29
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# piped
|
# piped
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
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.6.1
|
### Version 2.6.2
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
||||||
@ -168,11 +168,11 @@ N/A
|
|||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
||||||
* Upgraded `common` chart dependency to version 1.5.1
|
N/A
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
N/A
|
* ytproxy ingress, GH issue 29
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
|
@ -8,6 +8,19 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "common.names.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride -}}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||||
|
{{- if contains $name .Release.Name -}}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "app-template.hardcodedValues" -}}
|
{{- define "app-template.hardcodedValues" -}}
|
||||||
|
|
||||||
# Set the nameOverride based on the release name if no override has been set
|
# Set the nameOverride based on the release name if no override has been set
|
||||||
|
@ -244,6 +244,3 @@ probes:
|
|||||||
|
|
||||||
termination:
|
termination:
|
||||||
gracePeriodSeconds:
|
gracePeriodSeconds:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user