Merge pull request #31 from small-hack/fix/only-create-banned-names-if-exists

only create banned user name env var if it was provided
This commit is contained in:
Jesse Hitch
2025-01-19 19:37:12 +01:00
committed by GitHub
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.14.0
version: 0.14.1
# This is the version number of the application being deployed.
# renovate:image=ghcr.io/mattlqx/docker-pixelfed
+1 -1
View File
@@ -1,6 +1,6 @@
# pixelfed
![Version: 0.14.0](https://img.shields.io/badge/Version-0.14.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.4-nginx](https://img.shields.io/badge/AppVersion-v0.12.4--nginx-informational?style=flat-square)
![Version: 0.14.1](https://img.shields.io/badge/Version-0.14.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.4-nginx](https://img.shields.io/badge/AppVersion-v0.12.4--nginx-informational?style=flat-square)
A Helm chart for deploying Pixelfed on Kubernetes
+4 -2
View File
@@ -91,14 +91,16 @@ data:
# filesystem
FILESYSTEM_DRIVER: {{ .Values.pixelfed.filesystem.driver }}
FILESYSTEM_CLOUD: {{ .Values.pixelfed.filesystem.cloud }}
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud }}
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud | quote }}
# covid
ENABLE_COVID_LABEL: {{ .Values.pixelfed.covid.enable_label }}
COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }}
COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }}
BANNED_USERNAMES: {{ .Values.pixelfed.banned_usernames }}
{{- with .Values.pixelfed.banned_usernames }}
BANNED_USERNAMES: {{ . }}
{{- end }}
# activity pub
ACTIVITY_PUB: {{ .Values.pixelfed.activity_pub.enabled | quote }}