Skip to content

Commit 5d73625

Browse files
authored
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
2 parents 58586a9 + e98ec80 commit 5d73625

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

charts/pixelfed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.14.0
18+
version: 0.14.1
1919

2020
# This is the version number of the application being deployed.
2121
# renovate:image=ghcr.io/mattlqx/docker-pixelfed

charts/pixelfed/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pixelfed
22

3-
![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)
3+
![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)
44

55
A Helm chart for deploying Pixelfed on Kubernetes
66

charts/pixelfed/templates/configmap_env.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,16 @@ data:
9191
# filesystem
9292
FILESYSTEM_DRIVER: {{ .Values.pixelfed.filesystem.driver }}
9393
FILESYSTEM_CLOUD: {{ .Values.pixelfed.filesystem.cloud }}
94-
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud }}
94+
MEDIA_DELETE_LOCAL_AFTER_CLOUD: {{ .Values.pixelfed.media_delete_local_after_cloud | quote }}
9595

9696
# covid
9797
ENABLE_COVID_LABEL: {{ .Values.pixelfed.covid.enable_label }}
9898
COVID_LABEL_URL: {{ .Values.pixelfed.covid.label_url }}
9999
COVID_LABEL_ORG: {{ .Values.pixelfed.covid.label_org }}
100100

101-
BANNED_USERNAMES: {{ .Values.pixelfed.banned_usernames }}
101+
{{- with .Values.pixelfed.banned_usernames }}
102+
BANNED_USERNAMES: {{ . }}
103+
{{- end }}
102104

103105
# activity pub
104106
ACTIVITY_PUB: {{ .Values.pixelfed.activity_pub.enabled | quote }}

0 commit comments

Comments
 (0)