Skip to content

Commit

Permalink
Fixing signing certificates configuration (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyoldbear authored Aug 16, 2024
1 parent c13cee7 commit 8ebd654
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
16 changes: 12 additions & 4 deletions charts/document-engine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

- [Changelog](#changelog)
- [2.9.3 (2024-08-16)](#293-2024-08-16)
- [Fixed](#fixed)
- [2.9.2 (2024-08-13)](#292-2024-08-13)
- [Changed](#changed)
- [2.9.1 (2024-08-10)](#291-2024-08-10)
Expand All @@ -9,16 +11,16 @@
- [2.9.0 (2024-08-01)](#290-2024-08-01)
- [Added](#added-1)
- [Changed](#changed-2)
- [Fixed](#fixed)
- [Fixed](#fixed-1)
- [2.8.0](#280)
- [Added](#added-2)
- [Changed](#changed-3)
- [Fixed](#fixed-1)
- [Fixed](#fixed-2)
- [2.7.3](#273)
- [Changed](#changed-4)
- [Fixed](#fixed-2)
- [2.7.2](#272)
- [Fixed](#fixed-3)
- [2.7.2](#272)
- [Fixed](#fixed-4)
- [2.7.0](#270)
- [Changed](#changed-5)
- [2.6.2](#262)
Expand All @@ -37,6 +39,12 @@
- [2.0.0](#200)
- [Changed](#changed-8)

## 2.9.3 (2024-08-16)

### Fixed

* Signing trust certificates configuration.

## 2.9.2 (2024-08-13)

### Changed
Expand Down
4 changes: 2 additions & 2 deletions charts/document-engine/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
name: document-engine
description: PSPDFKit Document Engine
description: Document Engine
icon: data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwMCIgaGVpZ2h0PSIxMDAwIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMzQyLjU2NyA2NTguNjEyTDMy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NSA2MjUuOTFDNTU2Ljg5NiA2MTIuODM5IDYwNi4zODkgNjU3LjQ0OCA2NzAuNTMzIDcyMC41MjJDNzQ2LjU4NiA3OTUuMzE5IDg2Ni45NjggNzkxLjczNyA4OTYuMDQgNjgwLjY1OUM5MDguNjkyIDYzMS40NDUgODg4LjQ1OCA1OTkuNzIyIDg3MS40OCA1ODIuNjUxWiIgZmlsbD0iIzVFNUNFQiIvPgo8L3N2Zz4K
type: application
version: 2.9.2
version: 2.9.3
appVersion: "1.4.1"

maintainers:
Expand Down
26 changes: 24 additions & 2 deletions charts/document-engine/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if or .Values.extraVolumeMounts .Values.pspdfkit.trustConfigMaps }}
{{- if or .Values.extraVolumeMounts
.Values.pspdfkit.trustConfigMaps
.Values.pspdfkit.signingTrustConfigMaps }}
volumeMounts:
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
Expand All @@ -188,6 +190,14 @@ spec:
readOnly: true
{{- end }}
{{- end }}
{{- with .Values.pspdfkit.signingTrustConfigMaps }}
{{- range $cmName, $cmProperties := . }}
- name: trust-{{ $cmName }}
mountPath: /certificate-stores/{{ $cmProperties.path }}
subPath: {{ $cmProperties.path }}
readOnly: true
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.lifecycle }}
lifecycle:
Expand All @@ -213,7 +223,9 @@ spec:
{{- if .Values.sidecars }}
{{ toYaml .Values.sidecars | nindent 8 }}
{{- end }}
{{- if or .Values.extraVolumeMounts .Values.pspdfkit.trustConfigMaps }}
{{- if or .Values.extraVolumeMounts
.Values.pspdfkit.trustConfigMaps
.Values.pspdfkit.signingTrustConfigMaps }}
volumes:
{{- with .Values.extraVolumes }}
{{ toYaml . | nindent 8 }}
Expand All @@ -228,6 +240,16 @@ spec:
path: {{ .path }}
{{- end }}
{{- end }}
{{- with .Values.pspdfkit.signingTrustConfigMaps }}
{{- range $cmName, $cmProperties := . }}
- name: trust-{{ $cmName }}
configMap:
name: {{ $cmName}}
items:
- key: {{ $cmProperties.key }}
path: {{ .path }}
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down

0 comments on commit 8ebd654

Please sign in to comment.