adding secrets for mail valkey and database
This commit is contained in:
@@ -28,6 +28,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
|
||||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
||||
| externalDatabase.connection | string | `"psql"` | options: sqlite mysql pgsql sqlsrv |
|
||||
| externalDatabase.database | string | `"pixelfed"` | |
|
||||
| externalDatabase.enabled | bool | `false` | enable using an external mysql or postgresql cluster |
|
||||
| externalDatabase.existingSecret | string | `""` | get database credentials from an existing Kubernetes Secret |
|
||||
| externalDatabase.existingSecretKeys.database | string | `"pixelfed"` | key in existing Kubernetes Secret for database. If set, ignores externalDatabase.database |
|
||||
| externalDatabase.existingSecretKeys.host | string | `""` | key in existing Kubernetes Secret for host. If set, ignores externalDatabase.host |
|
||||
@@ -39,6 +40,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
|
||||
| externalDatabase.port | int | `3306` | |
|
||||
| externalDatabase.username | string | `""` | |
|
||||
| externalValkey.client | string | `"phpredis"` | |
|
||||
| externalValkey.enabled | bool | `false` | enable using an external valkey or redis cluster |
|
||||
| externalValkey.existingSecret | string | `""` | get valkey credentials from an existing Kubernetes Secret |
|
||||
| externalValkey.existingSecretKeys.host | string | `""` | key in existing Kubernetes Secret for host. If set, ignores externalValkey.host |
|
||||
| externalValkey.existingSecretKeys.password | string | `""` | key in existing Kubernetes Secret for password. If set, ignores externalValkey.password |
|
||||
@@ -188,4 +190,4 @@ A Helm chart for deploying Pixelfed on Kubernetes
|
||||
| volumes | list | `[]` | Additional volumes on the output Deployment definition. |
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
|
||||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{{- if and .Values.externalDatabase.enabled ( not .Values.externalDatabase.existingSecret ) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-database
|
||||
data:
|
||||
host: {{ .Values.externalDatabase.host }}
|
||||
port: {{ .Values.externalDatabase.port }}
|
||||
database: {{ .Values.externalDatabase.database }}
|
||||
username: {{ .Values.externalDatabase.username }}
|
||||
password: {{ .Values.externalDatabase.password }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{- if not .Values.externalDatabase.existingSecret }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-mail
|
||||
data:
|
||||
host: {{ .Values.pixelfed.mail.host }}
|
||||
port: {{ .Values.pixelfed.mail.port }}
|
||||
username: {{ .Values.pixelfed.mail.username }}
|
||||
password: {{ .Values.pixelfed.mail.password }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,11 @@
|
||||
{{- if and .Values.externalValkey.enabled ( not .Values.externalValkey.existingSecret ) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: pixelfed-database
|
||||
data:
|
||||
host: {{ .Values.externalValkey.host }}
|
||||
port: {{ .Values.externalValkey.port }}
|
||||
password: {{ .Values.externalValkey.password }}
|
||||
{{- end }}
|
||||
@@ -123,6 +123,8 @@ tolerations: []
|
||||
affinity: {}
|
||||
|
||||
externalDatabase:
|
||||
# -- enable using an external mysql or postgresql cluster
|
||||
enabled: false
|
||||
# -- options: sqlite mysql pgsql sqlsrv
|
||||
connection: psql
|
||||
host: ""
|
||||
@@ -154,6 +156,8 @@ externalDatabase:
|
||||
|
||||
# External Redis Configuration. Use this if you set valkey.enabled: false
|
||||
externalValkey:
|
||||
# -- enable using an external valkey or redis cluster
|
||||
enabled: false
|
||||
client: "phpredis"
|
||||
scheme: "tcp"
|
||||
host: "valkey"
|
||||
|
||||
Reference in New Issue
Block a user