Skip to content

Commit eeb4a71

Browse files
authored
Merge pull request #11 from small-hack/fix-pixelfed-templating-issues
fix valkey templating issues, add more docs
2 parents 8ba545e + 995a83c commit eeb4a71

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
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.3.2
18+
version: 0.3.3
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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pixelfed
22

3-
![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
3+
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
44

55
A Helm chart for deploying Pixelfed on Kubernetes
66

@@ -66,7 +66,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
6666
| nameOverride | string | `""` | This is to override the chart name. |
6767
| nodeSelector | object | `{}` | |
6868
| pixelfed.account_deletion | bool | `true` | Enable account deletion (may be a requirement in some jurisdictions) |
69-
| pixelfed.activity_pub.enabled | bool | `false` | |
69+
| pixelfed.activity_pub.enabled | bool | `false` | enable ActivityPub |
7070
| pixelfed.activity_pub.inbox | bool | `false` | |
7171
| pixelfed.activity_pub.outbox | bool | `false` | |
7272
| pixelfed.activity_pub.remote_follow | bool | `false` | |
@@ -99,18 +99,18 @@ A Helm chart for deploying Pixelfed on Kubernetes
9999
| pixelfed.instance.reports.email_enabled | bool | `false` | Send a report email to the admin account for new autospam/reports |
100100
| pixelfed.instance.show_peers | bool | `false` | Enable the api/v1/peers API endpoint |
101101
| pixelfed.mail.driver | string | `"smtp"` | options: "smtp" (default), "sendmail", "mailgun", "mandrill", "ses" "sparkpost", "log", "array" |
102-
| pixelfed.mail.encryption | string | `"tls"` | |
102+
| pixelfed.mail.encryption | string | `"tls"` | mail server encryption type |
103103
| pixelfed.mail.existingSecret | string | `""` | name of an existing Kubernetes Secret for mail credentials |
104104
| pixelfed.mail.existingSecretKeys.host | string | `""` | key in existing Kubernetes Secret for host. If set, ignores mail.host |
105105
| pixelfed.mail.existingSecretKeys.password | string | `""` | key in existing Kubernetes Secret for password. If set, ignores mail.password |
106106
| pixelfed.mail.existingSecretKeys.port | string | `""` | key in existing Kubernetes Secret for port. If set, ignores mail.port |
107107
| pixelfed.mail.existingSecretKeys.username | string | `""` | key in existing Kubernetes Secret for username. If set, ignores mail.username |
108-
| pixelfed.mail.from_address | string | `"pixelfed@example.com"` | |
109-
| pixelfed.mail.from_name | string | `"Pixelfed"` | |
108+
| pixelfed.mail.from_address | string | `"pixelfed@example.com"` | address to use for sending emails |
109+
| pixelfed.mail.from_name | string | `"Pixelfed"` | name to use for sending emails |
110110
| pixelfed.mail.host | string | `"smtp.mailtrap.io"` | |
111-
| pixelfed.mail.password | string | `""` | |
112-
| pixelfed.mail.port | int | `2525` | |
113-
| pixelfed.mail.username | string | `""` | |
111+
| pixelfed.mail.password | string | `""` | mail server password |
112+
| pixelfed.mail.port | int | `2525` | mail server port |
113+
| pixelfed.mail.username | string | `""` | mail server username |
114114
| pixelfed.max_account_size | int | `1000000` | The max allowed account size in KB |
115115
| pixelfed.max_album_length | int | `6` | The max number of media per post album |
116116
| pixelfed.max_avatar_size | int | `2000` | The max user avatar size in KB |
@@ -192,4 +192,4 @@ A Helm chart for deploying Pixelfed on Kubernetes
192192
| volumes | list | `[]` | Additional volumes on the output Deployment definition. |
193193

194194
----------------------------------------------
195-
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
195+
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

charts/pixelfed/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,16 @@ spec:
190190
value: {{ printf "%s-primary" (.Values.valkey.fullnameOverride) }}
191191
{{- end }}
192192
- name: REDIS_PORT
193+
{{- if .Values.externalValkey }}
193194
{{- if .Values.externalValkey.existingSecret }}
194195
valueFrom:
195196
secretKeyRef:
196197
name: {{ .Values.externalValkey.existingSecret }}
197198
key: {{ .Values.externalValkey.existingSecretKeys.port }}
198199
{{- else }}
200+
value: {{ .Values.externalValkey.port }}
201+
{{- end }}
202+
{{- else }}
199203
value: {{ .Values.valkey.primary.service.ports.valkey | quote }}
200204
{{- end }}
201205
- name: REDIS_PASSWORD

charts/pixelfed/values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ valkey:
187187
enabled: true
188188
existingSecret: ""
189189
existingSecretPasswordKey: "password"
190-
190+
191191
# TLS settings
192192
tls:
193193
enabled: false
@@ -375,6 +375,7 @@ pixelfed:
375375

376376
# ActivityPub Configuration
377377
activity_pub:
378+
# -- enable ActivityPub
378379
enabled: false
379380
remote_follow: false
380381
inbox: false
@@ -399,11 +400,17 @@ pixelfed:
399400
# "sparkpost", "log", "array"
400401
driver: smtp
401402
host: smtp.mailtrap.io
403+
# -- mail server port
402404
port: 2525
405+
# -- mail server username
403406
username: ""
407+
# -- mail server password
404408
password: ""
409+
# -- mail server encryption type
405410
encryption: "tls"
411+
# -- address to use for sending emails
406412
from_address: "pixelfed@example.com"
413+
# -- name to use for sending emails
407414
from_name: "Pixelfed"
408415
# -- name of an existing Kubernetes Secret for mail credentials
409416
existingSecret: ""

0 commit comments

Comments
 (0)