File tree Expand file tree Collapse file tree 3 files changed +26
-22
lines changed
Expand file tree Collapse file tree 3 files changed +26
-22
lines changed Original file line number Diff line number Diff line change 88 spring.profiles.active=k8s
99
1010 spring.ssl.bundle.pem.mongodb-ssl-bundle.reload-on-update=true
11- 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/...
11+ spring.ssl.bundle.pem.mongodb-ssl-bundle.truststore.certificate=file:/workspace/config/tls/{{ .Values.mongodb.tlsSecretCaKey }}
1312
1413 spring.data.mongodb.uri={{ .Values.mongodb.uri }}
1514 spring.data.mongodb.ssl.enabled=true
Original file line number Diff line number Diff line change 5757
5858 resources :
5959 {{- toYaml .Values.resources | nindent 12 }}
60- {{- with .Values.volumeMounts }}
60+
6161 volumeMounts :
62+ - name : tls
63+ mountPath : /workspace/config/tls
64+ readOnly : true
65+ - name : config
66+ mountPath : /workspace/config
67+
68+ {{- with .Values.volumeMounts }}
6269 {{- toYaml . | nindent 12 }}
6370 {{- end }}
6471
6774 {{- toYaml . | nindent 12 }}
6875 {{- end }}
6976
70-
71- {{- with .Values.volumes }}
7277 volumes :
78+ - name : tls
79+ secret :
80+ secretName : {{ .Values.mongodb.tlsSecretName }}
81+ optional : false
82+ - name : config
83+ configMap :
84+ name : mongodb-probe-config
85+
86+ {{- with .Values.volumes }}
7387 {{- toYaml . | nindent 8 }}
7488 {{- end }}
7589 {{- with .Values.nodeSelector }}
Original file line number Diff line number Diff line change @@ -79,31 +79,22 @@ autoscaling:
7979 # targetMemoryUtilizationPercentage: 80
8080
8181# Additional volumes on the output Deployment definition.
82- volumes :
83- - name : config
84- configMap :
85- name : mongodb-probe-config
86-
87- - name : tls
88- secret :
89- secretName : {{ .Values.mongodb.tlsSecretname }}
90- optional : false
82+ volumes : []
83+ # - name: config
84+ # configMap:
85+ # name: mongodb-probe-config
9186
9287# Additional volumeMounts on the output Deployment definition.
93- volumeMounts :
94- - name : config
95- mountPath : /workspace/config
88+ volumeMounts : []
89+ # - name: config
90+ # mountPath: /workspace/config
9691
97- - name : tls
98- mountPath : /workspace/config/tls
99- readOnly : true
10092
10193# Additional env vars
10294envs : []
10395# - name: foo
10496# value: "bar"
10597
106-
10798nodeSelector : {}
10899
109100tolerations : []
@@ -112,7 +103,7 @@ affinity: {}
112103
113104# probe specific default values
114105mongodb :
115- tlsSecretname : mysecret
106+ tlsSecretName : mysecret
116107 tlsSecretCaKey : ca.crt
117108
118109 uri : mongodb://admin:password@localhost:27017/mydb
You can’t perform that action at this time.
0 commit comments