Skip to content

Commit

Permalink
feat: support specifying BG_HELPER_URL (#129)
Browse files Browse the repository at this point in the history
* feat: support specifying BG_HELPER.
* Fixing up CI as well
  • Loading branch information
samip5 authored Feb 22, 2025
1 parent 980e55f commit 2489c2a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/charts-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
ref: ${{ inputs.checkoutCommit }}

- name: Verify chart version
uses: bjw-s/helm-charts-actions/verify-chart-version@main
uses: bjw-s-labs/helm-charts-actions/verify-chart-version@2025.2.0
id: verify-chart-version
with:
chart: "charts/${{ matrix.chart }}"

- name: Verify chart changelog
uses: bjw-s/helm-charts-actions/verify-chart-changelog@main
uses: bjw-s-labs/helm-charts-actions/verify-chart-changelog@2025.2.0
if: inputs.isRenovatePR != 'true'
id: verify-chart-changelog
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ jobs:
- added|modified: '**'
- name: Collect changed charts
uses: bjw-s/helm-charts-actions/collect-charts@main
uses: bjw-s-labs/helm-charts-actions/collect-charts@2025.2.0
id: changed-charts
6 changes: 3 additions & 3 deletions charts/apps/piped/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 7.0.2
version: 7.1.0
appVersion: latest
kubeVersion: ">=1.26.0-0"
maintainers:
Expand All @@ -27,5 +27,5 @@ dependencies:
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Upgraded `postgresql` chart dependency to version 16.3.5
- kind: added
description: ability to set BG_HELPER_URL.
3 changes: 3 additions & 0 deletions charts/apps/piped/templates/backend/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ data:
{{- else }}
{{- fail "API_URL needs to be set in config values or backend ingress must be enabled."}}
{{ end }}
{{- if .Values.backend.config.BG_HELPER_URL }}
BG_HELPER_URL: {{ .Values.backend.config.BG_HELPER_URL }}
{{ end }}
{{- if .Values.backend.config.FRONTEND_URL }}
FRONTEND_URL: {{.Values.backend.config.FRONTEND_URL }}
{{- else if (and .Values.ingress.main.enabled .Values.ingress.main.tls) }}
Expand Down
1 change: 1 addition & 0 deletions charts/apps/piped/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ backend:
# CAPTCHA_BASE_URL: https://api.capmonster.cloud/
# CAPTCHA_API_KEY: INSERT_HERE
# API_URL: https://BACKEND_HOSTNAME
# BG_HELPER_URL: http://BG_HELPER_HOSTNAME
# FRONTEND_URL: https://FRONTEND_HOSTNAME
# Enable haveibeenpwned compromised password API
# COMPROMISED_PASSWORD_CHECK: true
Expand Down

0 comments on commit 2489c2a

Please sign in to comment.