mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-12-14 14:20:39 +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
|
||||||
|
|
||||||
![Version: 2.6.1](https://img.shields.io/badge/Version-2.6.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
|
![Version: 2.6.2](https://img.shields.io/badge/Version-2.6.2-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.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
|
||||||
|
@ -5,9 +5,9 @@ global:
|
|||||||
# -- Set the entire name definition
|
# -- Set the entire name definition
|
||||||
fullnameOverride:
|
fullnameOverride:
|
||||||
# -- Set additional global labels. Helm templates can be used.
|
# -- Set additional global labels. Helm templates can be used.
|
||||||
labels: { }
|
labels: {}
|
||||||
# -- Set additional global annotations. Helm templates can be used.
|
# -- Set additional global annotations. Helm templates can be used.
|
||||||
annotations: { }
|
annotations: {}
|
||||||
|
|
||||||
controller:
|
controller:
|
||||||
# -- enable the controller.
|
# -- enable the controller.
|
||||||
@ -40,7 +40,7 @@ frontend:
|
|||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
#env:
|
# env:
|
||||||
# BACKEND_HOSTNAME: pipedapi.example.org
|
# BACKEND_HOSTNAME: pipedapi.example.org
|
||||||
|
|
||||||
command: "/bin/ash"
|
command: "/bin/ash"
|
||||||
@ -48,7 +48,7 @@ frontend:
|
|||||||
- -c
|
- -c
|
||||||
- "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g 'daemon off;'"
|
- "sed -i s/pipedapi.kavin.rocks/$BACKEND_HOSTNAME/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g 'daemon off;'"
|
||||||
|
|
||||||
#resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
# memory: 32Mi
|
# memory: 32Mi
|
||||||
# limits:
|
# limits:
|
||||||
@ -68,30 +68,30 @@ backend:
|
|||||||
port: 8080
|
port: 8080
|
||||||
protocol: HTTP
|
protocol: HTTP
|
||||||
|
|
||||||
# command: "/bin/sh"
|
# command: "/bin/sh"
|
||||||
# args:
|
# args:
|
||||||
# - -c
|
# - -c
|
||||||
# - sleep infinity
|
# - sleep infinity
|
||||||
|
|
||||||
# If the hostnames are not set for backend, proxy and API, they will be automatically fetched from their ingresses.
|
# If the hostnames are not set for backend, proxy and API, they will be automatically fetched from their ingresses.
|
||||||
config:
|
config:
|
||||||
PORT: 8080
|
PORT: 8080
|
||||||
HTTP_WORKERS: 2
|
HTTP_WORKERS: 2
|
||||||
#PROXY_PART: https://PROXY_HOSTNAME
|
# PROXY_PART: https://PROXY_HOSTNAME
|
||||||
# Outgoing HTTP Proxy - eg: 127.0.0.1:8118
|
# Outgoing HTTP Proxy - eg: 127.0.0.1:8118
|
||||||
#HTTP_PROXY: 127.0.0.1:8118
|
# HTTP_PROXY: 127.0.0.1:8118
|
||||||
# Captcha Parameters
|
# Captcha Parameters
|
||||||
#CAPTCHA_BASE_URL: https://api.capmonster.cloud/
|
# CAPTCHA_BASE_URL: https://api.capmonster.cloud/
|
||||||
#CAPTCHA_API_KEY: INSERT_HERE
|
# CAPTCHA_API_KEY: INSERT_HERE
|
||||||
#API_URL: https://BACKEND_HOSTNAME
|
# API_URL: https://BACKEND_HOSTNAME
|
||||||
#FRONTEND_URL: https://FRONTEND_HOSTNAME
|
# FRONTEND_URL: https://FRONTEND_HOSTNAME
|
||||||
# Enable haveibeenpwned compromised password API
|
# Enable haveibeenpwned compromised password API
|
||||||
#COMPROMISED_PASSWORD_CHECK: true
|
# COMPROMISED_PASSWORD_CHECK: true
|
||||||
# Disable Registration
|
# Disable Registration
|
||||||
#DISABLE_REGISTRATION: false
|
# DISABLE_REGISTRATION: false
|
||||||
# Feed Retention Time in Days
|
# Feed Retention Time in Days
|
||||||
#FEED_RETENTION: 30
|
# FEED_RETENTION: 30
|
||||||
#database:
|
# database:
|
||||||
# connection_url: jdbc:postgresql://postgres:5432/piped
|
# connection_url: jdbc:postgresql://postgres:5432/piped
|
||||||
# driver_class: org.postgresql.Driver
|
# driver_class: org.postgresql.Driver
|
||||||
# dialect: org.hibernate.dialect.PostgreSQLDialect
|
# dialect: org.hibernate.dialect.PostgreSQLDialect
|
||||||
@ -111,7 +111,7 @@ backend:
|
|||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
#resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
# memory: 500Mi
|
# memory: 500Mi
|
||||||
# limits:
|
# limits:
|
||||||
@ -143,7 +143,7 @@ ytproxy:
|
|||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
#resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
# memory: 32Mi
|
# memory: 32Mi
|
||||||
# limits:
|
# limits:
|
||||||
@ -244,6 +244,3 @@ probes:
|
|||||||
|
|
||||||
termination:
|
termination:
|
||||||
gracePeriodSeconds:
|
gracePeriodSeconds:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user