Skip to content

Commit

Permalink
Added support for keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
olof committed Dec 15, 2024
1 parent 7ae15d0 commit 6169762
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/enactor-pdp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ description: Enactor PDP-server

type: application

version: 0.2.23
version: 0.2.24
appVersion: "1.0"

maintainers:
- name: Hans Brinck
email: [email protected]
- name: Olof Spetz
email: [email protected]

home: https://github.com/enactor-customer-oss/enactor-charts

Expand Down
7 changes: 7 additions & 0 deletions charts/enactor-pdp/templates/statefulset-pdp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ spec:
mountPath: /enactor/app/home
- name: truststore
mountPath: /enactor/app/custom/trust
- name: keystore
mountPath: /enactor/app/custom/key

{{ if $root.Values.pdp.extraContainers }}
{{- toYaml $root.Values.pdp.extraContainers | nindent 8 }}
Expand All @@ -163,6 +165,11 @@ spec:
- name: truststore
secret:
secretName: {{ $root.Values.truststore.certSecret }}
- name: keystore
secret:
defaultMode: 420
optional: true
secretName: {{ $root.Values.keystore.certSecret }}
{{- if $root.Values.pdp.extraConfigmapMounts }}
{{- toYaml $root.Values.pdp.extraConfigmapMounts | nindent 8 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions charts/enactor-pdp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ truststore:
certSecret: truststore
pwdSecret: truststore-pwd

keystore:
certSecret: keystore

java:
country: SE
language: en
Expand Down

0 comments on commit 6169762

Please sign in to comment.