Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 4 additions & 2 deletions charts/pixelfed/templates/secret_mail.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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 }}
16 changes: 10 additions & 6 deletions charts/pixelfed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ podSecurityContext: {}
# fsGroup: 33

# -- securityContext for the pixelfed container
securityContext: {}
securityContext: {}
# runAsUser: 33
# runAsNonRoot: true
# readOnlyRootFilesystem: true
Expand Down Expand Up @@ -98,7 +98,7 @@ ingress:
# - chart-example.local

# -- set resource limits and requests for cpu, memory, and ephemeral storage
resources: {}
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
Expand All @@ -108,14 +108,14 @@ resources: {}

# -- This is to setup the liveness probe
# more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe: {}
livenessProbe: {}
# httpGet:
# path: /api/service/health-check
# port: http

# -- This is to setup the readiness probe
# more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
readinessProbe: {}
readinessProbe: {}
# httpGet:
# path: /api/service/health-check
# port: http
Expand Down Expand Up @@ -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
Expand All @@ -270,10 +269,15 @@ postgresql:
global:
storageClass: ""

## If you get "mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied"
## error, set these
## (This often happens on setups like minikube)
# volumePermissions:
# enabled: true

# -- PHP Configuration files
# Will be injected in /usr/local/etc/php-fpm.d
phpConfigs: {}
phpConfigs: {}
# www.conf: |-
# [www]
# user = www-data
Expand Down