diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ + diff --git a/charts/pixelfed/Chart.yaml b/charts/pixelfed/Chart.yaml index 0766514..e6aca1c 100644 --- a/charts/pixelfed/Chart.yaml +++ b/charts/pixelfed/Chart.yaml @@ -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.3 +version: 0.14.4 # This is the version number of the application being deployed. # renovate:image=ghcr.io/mattlqx/docker-pixelfed diff --git a/charts/pixelfed/README.md b/charts/pixelfed/README.md index 020b49e..5a9bb88 100644 --- a/charts/pixelfed/README.md +++ b/charts/pixelfed/README.md @@ -1,6 +1,6 @@ # pixelfed -![Version: 0.14.3](https://img.shields.io/badge/Version-0.14.3-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.4](https://img.shields.io/badge/Version-0.14.4-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 diff --git a/charts/pixelfed/templates/secret_mail.yaml b/charts/pixelfed/templates/secret_mail.yaml index d91618e..fe329dc 100644 --- a/charts/pixelfed/templates/secret_mail.yaml +++ b/charts/pixelfed/templates/secret_mail.yaml @@ -1,4 +1,6 @@ {{- if not .Values.pixelfed.mail.existingSecret }} +{{- $username := .Values.pixelfed.mail.username | required ".Values.pixelfed.mail.username is required" }} +{{- $password := .Values.pixelfed.mail.password | required ".Values.pixelfed.mail.password is required" }} --- apiVersion: v1 kind: Secret @@ -8,9 +10,9 @@ data: host: {{ .Values.pixelfed.mail.host | b64enc }} port: {{ .Values.pixelfed.mail.port | quote | b64enc}} {{- if .Values.pixelfed.mail.username }} - username: {{ .Values.pixelfed.mail.username | b64enc }} + username: {{ $username | b64enc }} {{- end }} {{- if .Values.pixelfed.mail.password }} - password: {{ .Values.pixelfed.mail.password | b64enc }} + password: {{ $password | b64enc }} {{- end }} {{- end }} diff --git a/charts/pixelfed/values.yaml b/charts/pixelfed/values.yaml index 546c406..a915d03 100644 --- a/charts/pixelfed/values.yaml +++ b/charts/pixelfed/values.yaml @@ -261,7 +261,6 @@ valkey: # default: nano resourcesPreset: "small" - postgresql: # -- enable the bundled [postgresql sub chart from Bitnami](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/README.md#parameters). # Must set to true if externalDatabase.enabled=false @@ -270,6 +269,10 @@ postgresql: global: storageClass: "" + volumePermissions: + # -- If you get "mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied" + # error, set these (This often happens on setups like minikube) + enabled: false # -- PHP Configuration files # Will be injected in /usr/local/etc/php-fpm.d