Skip to content

Commit 9218d8c

Browse files
committed
Change hardoded ca.crt to values.yaml property api.tlsTruststore.secretKey
1 parent 0cdb597 commit 9218d8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

api/kubernetes/helm-chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
secret:
5757
secretName: {{ .Values.api.tlsTruststore.secretName }}
5858
items:
59-
- key: ca.crt
59+
- key: {{ .Values.api.tlsTruststore.secretKey }}
6060
path: {{ .Values.api.tlsTruststore.fileName }}
6161
{{end}}
6262
containers:

api/kubernetes/helm-chart/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ api:
107107
tlsTruststore:
108108
enabled: false
109109
secretName: ""
110+
secretKey: ""
110111
fileName: ""
111112
type: "pem"
112113
jksPassword: ""

0 commit comments

Comments
 (0)