Skip to content

Commit

Permalink
Minor cleanups (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyoldbear authored Aug 10, 2024
1 parent 0e6a281 commit d0a3ad2
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 19 deletions.
41 changes: 27 additions & 14 deletions charts/document-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,51 @@
# Changelog

- [Changelog](#changelog)
- [2.9.0](#290)
- [2.9.1 (2024-08-10)](#291-2024-08-10)
- [Added](#added)
- [Changed](#changed)
- [Fixed](#fixed)
- [2.8.0](#280)
- [2.9.0 (2024-08-01)](#290-2024-08-01)
- [Added](#added-1)
- [Changed](#changed-1)
- [Fixed](#fixed)
- [2.8.0](#280)
- [Added](#added-2)
- [Changed](#changed-2)
- [Fixed](#fixed-1)
- [2.7.3](#273)
- [Changed](#changed-2)
- [Changed](#changed-3)
- [Fixed](#fixed-2)
- [2.7.2](#272)
- [Fixed](#fixed-3)
- [2.7.0](#270)
- [Changed](#changed-3)
- [2.6.2](#262)
- [Added](#added-2)
- [Changed](#changed-4)
- [2.6.0](#260)
- [2.6.2](#262)
- [Added](#added-3)
- [2.4.0](#240)
- [Changed](#changed-5)
- [2.6.0](#260)
- [Added](#added-4)
- [2.3.0](#230)
- [2.4.0](#240)
- [Added](#added-5)
- [2.2.0](#220)
- [2.3.0](#230)
- [Added](#added-6)
- [2.2.0](#220)
- [Added](#added-7)
- [2.1.0](#210)
- [Changed](#changed-5)
- [2.0.0](#200)
- [Changed](#changed-6)
- [2.0.0](#200)
- [Changed](#changed-7)

## 2.9.1 (2024-08-10)

### Added

* Support for secrets rotation enablement option. Setting `pspdfkit.replaceSecretsFromEnv` to `false` will make Document Engine to ignore `JWT_PUBLIC_KEY`, `SECRET_KEY_BASE` and `DASHBOARD_PASSWORD` environment variables, values (`pspdfkit.auth.api.jwt.publicKey`, `pspdfkit.secretKeyBase` and `pspdfkit.auth.dashboard.password`) and the corresponding secrets.

### Changed

* Minor cleanups

## 2.9.0
## 2.9.0 (2024-08-01)

### Added

Expand Down
2 changes: 1 addition & 1 deletion charts/document-engine/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: document-engine
description: PSPDFKit Document Engine
icon: data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAwIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMzQyLjU2NyA2NTguNjEyTDMyOS40OTYgNjY1LjkxNUwzMzguNzk5IDY1NC4yODZDMzk5LjMxIDU3OS44NDIgNDMzLjAyNiA0ODcuMjExIDQzNC41MjggMzkxLjI4OEw0MzQuNzYgMzc2LjMxTDQ0MC4xMSAzOTAuMjY1QzQ3NC40MDUgNDc5LjkzMiA1MzcuODc4IDU1NS40NDggNjIwLjMxIDYwNC42NTRMNjMzLjE0OCA2MTIuMzI5TDYxOC4zNTYgNjA5Ljk1N0M1MjMuNTcxIDU5NC43NTYgNDI2LjQyOCA2MTEuODk0IDM0Mi41NjcgNjU4LjYxMloiIGZpbGw9IiMxOTBEOTQiLz4KPHBhdGggZD0iTTU1NC41MTkgNTU2LjM2N0M0NzMuMzk2IDQ0Mi4wMzMgNDg3LjMwNCAzNzYuODY1IDUwOS44NjQgMjg5Ljc4OEM1MzYuNjExIDE4Ni41MjQgNDczLjM1IDg0LjA1MDUgMzYyLjU5NyAxMTQuNDI1QzMxMy41MjMgMTI3LjkxNCAyOTYuMTczIDE2MS4zMTIgMjkwLjAzMyAxODQuNzU2QzI1OS45ODQgMjk3Ljc4OSA0MzguMjMxIDQ2Ni4xNzQgNTU0LjUxOSA1NTYuMzY3WiIgZmlsbD0iIzVFNUNFQiIvPgo8cGF0aCBkPSJNMjE3LjEwMyA2NDQuMTg2QzExNC4zMDQgNjcyLjY1NCA1Ny4xODM1IDc3OC43NTUgMTM4Ljg2NSA4NTkuNDEzQzE3NS4wNTMgODk1LjEzNyAyMTIuNjM4IDg5My40NjIgMjM2LjAzNSA4ODcuMzIyQzM0OC45MjggODU2Ljc2MiA0MDUuNjMgNjE4LjE4NCA0MjUuNjMyIDQ3Mi40MDVDMzY3LjE2MiA1OTkuNjI1IDMwMy45OTQgNjIwLjE4NCAyMTcuMTAzIDY0NC4xODZaIiBmaWxsPSIjNUU1Q0VCIi8+CjxwYXRoIGQ9Ik04NzEuNDggNTgyLjY1MUM3ODguNTQzIDUwMC4xNzkgNTUzLjU5NCA1NzAuMzI0IDQxNy4zNSA2MjUuOTFDNTU2Ljg5NiA2MTIuODM5IDYwNi4zODkgNjU3LjQ0OCA2NzAuNTMzIDcyMC41MjJDNzQ2LjU4NiA3OTUuMzE5IDg2Ni45NjggNzkxLjczNyA4OTYuMDQgNjgwLjY1OUM5MDguNjkyIDYzMS40NDUgODg4LjQ1OCA1OTkuNzIyIDg3MS40OCA1ODIuNjUxWiIgZmlsbD0iIzVFNUNFQiIvPgo8L3N2Zz4K
type: application
version: 2.9.0
version: 2.9.1
appVersion: "1.4.1"

maintainers:
Expand Down
3 changes: 3 additions & 0 deletions charts/document-engine/templates/config.ConfigMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ data:
{{- with .Values.pspdfkit.trustedProxies }}
TRUSTED_PROXIES: {{ . | quote }}
{{- end }}
{{- with .Values.pspdfkit.replaceSecretsFromEnv }}
REPLACE_SECRETS_FROM_ENV: {{ . | quote }}
{{- end }}
{{- if .Values.prometheusExporter.enabled }}
STATSD_HOST: localhost
STATSD_PORT: {{ .Values.prometheusExporter.statsdPort | quote }}
Expand Down
2 changes: 0 additions & 2 deletions charts/document-engine/values.simple.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ postgresql:
auth:
enablePostgresUser: true
postgresPassword: postgres
username: pspdfkit
password: pspdfkit
database: pspdfkit
tls:
enabled: false
Expand Down
6 changes: 4 additions & 2 deletions charts/document-engine/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ pspdfkit:
minSearchQueryLength: 3
# `TRUSTED_PROXIES`
trustedProxies: default
# `REPLACE_SECRETS_FROM_ENV` — whether to consider
# environment variables, values and secrets for
# `JWT_PUBLIC_KEY`, `SECRET_KEY_BASE` and `DASHBOARD_PASSWORD`
replaceSecretsFromEnv: true
# Signing certificate trust configuration
signingTrustConfigMaps: {}
# Private certificates to yield `/certificate-stores-custom/private-ca-certificates.pem`
Expand Down Expand Up @@ -561,8 +565,6 @@ postgresql:
auth:
enablePostgresUser: true
postgresPassword: pspdfkit
username: pspdfkit
password: pspdfkit
database: pspdfkit

#
Expand Down

0 comments on commit d0a3ad2

Please sign in to comment.