From 0f4a6e55308e7fa479d9ee6d551f3dd60acb77e4 Mon Sep 17 00:00:00 2001 From: jessebot Date: Sat, 18 Jan 2025 11:02:32 +0100 Subject: [PATCH 1/2] fix secret templating --- charts/pixelfed/Chart.yaml | 2 +- charts/pixelfed/README.md | 4 ++-- charts/pixelfed/templates/secret_database.yaml | 10 +++++----- charts/pixelfed/templates/secret_mail.yaml | 8 ++++---- charts/pixelfed/templates/secret_valkey.yaml | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/charts/pixelfed/Chart.yaml b/charts/pixelfed/Chart.yaml index 401cb30..c0912a3 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.3.3 +version: 0.3.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 9b70f83..227ba4e 100644 --- a/charts/pixelfed/README.md +++ b/charts/pixelfed/README.md @@ -1,6 +1,6 @@ # pixelfed -![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) +![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-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) A Helm chart for deploying Pixelfed on Kubernetes @@ -192,4 +192,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) diff --git a/charts/pixelfed/templates/secret_database.yaml b/charts/pixelfed/templates/secret_database.yaml index d4767c6..16ee3de 100644 --- a/charts/pixelfed/templates/secret_database.yaml +++ b/charts/pixelfed/templates/secret_database.yaml @@ -5,9 +5,9 @@ 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 }} + host: {{ .Values.externalDatabase.host | b64enc }} + port: {{ .Values.externalDatabase.port | quote | b64enc }} + database: {{ .Values.externalDatabase.database | b64enc }} + username: {{ .Values.externalDatabase.username | b64enc }} + password: {{ .Values.externalDatabase.password | b64enc }} {{- end }} diff --git a/charts/pixelfed/templates/secret_mail.yaml b/charts/pixelfed/templates/secret_mail.yaml index 95253fc..bf8c481 100644 --- a/charts/pixelfed/templates/secret_mail.yaml +++ b/charts/pixelfed/templates/secret_mail.yaml @@ -5,12 +5,12 @@ kind: Secret metadata: name: pixelfed-mail data: - host: {{ .Values.pixelfed.mail.host }} - port: {{ .Values.pixelfed.mail.port }} + host: {{ .Values.pixelfed.mail.host | b64enc }} + port: {{ .Values.pixelfed.mail.port | quote | b64enc}} {{- if .Values.pixelfed.mail.username }} - username: {{ .Values.pixelfed.mail.username }} + username: {{ .Values.pixelfed.mail.username | b64enc }} {{- end }} {{- if .Values.pixelfed.mail.password }} - password: {{ .Values.pixelfed.mail.password }} + password: {{ .Values.pixelfed.mail.password | b64enc }} {{- end }} {{- end }} diff --git a/charts/pixelfed/templates/secret_valkey.yaml b/charts/pixelfed/templates/secret_valkey.yaml index 5e39bc5..cd55d57 100644 --- a/charts/pixelfed/templates/secret_valkey.yaml +++ b/charts/pixelfed/templates/secret_valkey.yaml @@ -5,7 +5,7 @@ kind: Secret metadata: name: pixelfed-valkey data: - host: {{ .Values.externalValkey.host }} - port: {{ .Values.externalValkey.port }} - password: {{ .Values.externalValkey.password }} + host: {{ .Values.externalValkey.host | b64enc }} + port: {{ .Values.externalValkey.port | quote | b64enc }} + password: {{ .Values.externalValkey.password | b64enc }} {{- end }} From ac4ea74ffa1c6031951bd894911eb6edd041b7a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 18 Jan 2025 10:03:38 +0000 Subject: [PATCH 2/2] helm-docs: automated action --- charts/pixelfed/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pixelfed/README.md b/charts/pixelfed/README.md index 227ba4e..0421dac 100644 --- a/charts/pixelfed/README.md +++ b/charts/pixelfed/README.md @@ -192,4 +192,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.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)