From 4501bc66b29b91609b08deaacc88a31631d6c3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Mon, 10 Feb 2025 18:47:51 +0100 Subject: [PATCH] chore: update CHANGELOG --- charts/penpot/Chart.yaml | 17 ++++++++++++++++- charts/penpot/templates/backend-deployment.yml | 11 ++++++----- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/charts/penpot/Chart.yaml b/charts/penpot/Chart.yaml index c1fdfa1..bd3e317 100644 --- a/charts/penpot/Chart.yaml +++ b/charts/penpot/Chart.yaml @@ -42,10 +42,25 @@ annotations: - kind: added description: Allow to use secrets to define PENPOT_SECRET_KEY, PENPOT_DATABASE_URI and PENPOT_REDIS_URI links: - - name: GitHub Issue #16 + - name: GitHub Issue 16 url: https://github.com/penpot/penpot-helm/issues/16 + - kind: added + description: Allow to use secrets to define PENPOT_LDAP_BIND_PASSWORD. Thanks to @jdollar + links: + - name: GitHub PR 18 + url: https://github.com/penpot/penpot-helm/pull/18 - kind: added description: Allow to set the url of Privacy Policy and Terms of Service + - kind: added + description: Allow to set extra environments to the backend deployment. Thanks to @jdollar + links: + - name: GitHub PR 18 + url: https://github.com/penpot/penpot-helm/pull/18 + - kind: fixed + description: Fix issue with default value for PENPOT_LDAP_BIND_DN. Thanks to @jdollar + links: + - name: GitHub PR 18 + url: https://github.com/penpot/penpot-helm/pull/18 dependencies: - name: postgresql version: 15.x.x # appVersion >= 16.2.0 diff --git a/charts/penpot/templates/backend-deployment.yml b/charts/penpot/templates/backend-deployment.yml index d940de8..68e2398 100644 --- a/charts/penpot/templates/backend-deployment.yml +++ b/charts/penpot/templates/backend-deployment.yml @@ -153,8 +153,8 @@ spec: key: {{ .Values.config.assets.s3.secretKeys.endpointURIKey }} {{- end }} {{- end }} - # SMTP settings {{- if .Values.config.smtp.enabled }} + # SMTP settings {{- if .Values.config.smtp.defaultFrom }} - name: PENPOT_SMTP_DEFAULT_FROM value: {{ .Values.config.smtp.defaultFrom | quote }} @@ -200,8 +200,8 @@ spec: value: {{ .Values.config.smtp.ssl | quote }} {{- end }} {{- end }} - # Google Auth provider settings {{- if .Values.config.providers.google.enabled }} + # Google Auth provider settings {{- if not .Values.config.providers.secretKeys.googleClientIDKey }} - name: PENPOT_GOOGLE_CLIENT_ID value: {{ .Values.config.providers.google.clientID | quote }} @@ -223,8 +223,8 @@ spec: key: {{ .Values.config.providers.secretKeys.googleClientSecretKey }} {{- end }} {{- end }} - # Github Auth provider settings {{- if .Values.config.providers.github.enabled }} + # Github Auth provider settings {{- if not .Values.config.providers.secretKeys.githubClientIDKey }} - name: PENPOT_GITHUB_CLIENT_ID value: {{ .Values.config.providers.github.clientID | quote }} @@ -246,8 +246,8 @@ spec: key: {{ .Values.config.providers.secretKeys.githubClientSecretKey }} {{- end }} {{- end }} - # Gitlab Auth provider settings {{- if .Values.config.providers.gitlab.enabled }} + # Gitlab Auth provider settings {{- if .Values.config.providers.gitlab.baseURI }} - name: PENPOT_GITLAB_BASE_URI value: {{ .Values.config.providers.gitlab.baseURI | quote }} @@ -273,8 +273,8 @@ spec: key: {{ .Values.config.providers.secretKeys.gitlabClientSecretKey }} {{- end }} {{- end }} - # OIDC provider settings {{- if .Values.config.providers.oidc.enabled }} + # OIDC provider settings {{- if .Values.config.providers.oidc.baseURI }} - name: PENPOT_OIDC_BASE_URI value: {{ .Values.config.providers.oidc.baseURI | quote }} @@ -398,6 +398,7 @@ spec: value: {{ .Values.config.autoFileSnapshot.every | quote }} - name: PENPOT_AUTO_FILE_SNAPSHOT_TIMEOUT value: {{ .Values.config.autoFileSnapshot.timeout | quote }} + # Extra environments {{- with .Values.backend.extraEnvs }} {{- toYaml . | nindent 12 }} {{- end }}