Merge pull request #38 from huang-jy/main
- add postgresql volumePermissions parameter and docs - require mail user and password if no existing Secret is provided
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pixelfed
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for deploying Pixelfed on Kubernetes
|
||||
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user