Skip to content

Commit b608e58

Browse files
committed
only use ca in trustore
1 parent 75b4182 commit b608e58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chart/mongodb-probe/templates/configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ data:
99
1010
spring.ssl.bundle.pem.mongodb-ssl-bundle.reload-on-update=true
1111
spring.ssl.bundle.pem.mongodb-ssl-bundle.truststore.certificate=file:/workspace/config/{{ .Values.mongodb.tlsSecretCaKey }}
12-
spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore.private-key=file:/workspace/config/{{ .Values.mongodb.tlsCertKey }}
12+
#spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore.private-key=file:/workspace/config/...
1313
1414
spring.data.mongodb.uri={{ .Values.mongodb.uri }}
1515
spring.data.mongodb.ssl.enabled=true

chart/mongodb-probe/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ affinity: {}
114114
mongodb:
115115
tlsSecretname: mysecret
116116
tlsSecretCaKey: ca.crt
117-
tlsCertKey: tls.crt
117+
118118
uri: mongodb://admin:password@localhost:27017/mydb
119119

120120
otlp:

0 commit comments

Comments
 (0)