File tree Expand file tree Collapse file tree 6 files changed +31
-11
lines changed
Expand file tree Collapse file tree 6 files changed +31
-11
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ jobs:
5555 env :
5656 DOCKER_IMAGE : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-app
5757 run : |
58- docker tag ${DOCKER_IMAGE}:${{ github.sha }} ${DOCKER_IMAGE}:0.0.5
59- docker push ${DOCKER_IMAGE}:0.0.5
58+ docker tag ${DOCKER_IMAGE}:${{ github.sha }} ${DOCKER_IMAGE}:0.0.6
59+ docker push ${DOCKER_IMAGE}:0.0.6
6060
6161 - name : Chart | Push
62626363 with :
6464 name : mongodb-probe
6565 repository : ${{ github.repository }}
66- tag : 0.0.5
66+ tag : 0.0.6
6767 path : chart/mongodb-probe # Default charts/{name}
6868 registry : ghcr.io
6969 registry_username : ${{ github.actor }}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.0.5
18+ version : 0.0.6
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -10,13 +10,25 @@ data:
1010 spring.ssl.bundle.pem.mongodb-ssl-bundle.reload-on-update=false
1111
1212
13- {{- with .Values.mongodb.tlsSecretCaKey }}
13+ {{- with .Values.mongodb.tlsCa }}
1414 spring.ssl.bundle.pem.mongodb-ssl-bundle.truststore.certificate=file:/workspace/config/tls/{{ . }}
1515 {{- end }}
1616
17- {{- with .Values.mongodb.tlsSecretCertificate }}
18- spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore .certificate=file:/workspace/config/tls/{{ . }}
17+ {{- with .Values.mongodb.tlsCert }}
18+ spring.ssl.bundle.pem.mongodb-ssl-bundle.truststore .certificate=file:/workspace/config/tls/{{ . }}
1919 {{- end }}
20+
21+ {{- with .Values.mongodb.tlsKey }}
22+ spring.ssl.bundle.pem.mongodb-ssl-bundle.truststore.private-key=file:/workspace/config/tls/{{ . }}
23+ {{- end }}
24+
25+
26+
27+ #spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore.certificate=file:/workspace/config/tls/tlsCertFile
28+ #spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore.private-key=file:/workspace/config/tls/tlsKeyFile
29+
30+
31+
2032
2133 spring.data.mongodb.ssl.enabled=true
2234 spring.data.mongodb.ssl.bundle=mongodb-ssl-bundle
Original file line number Diff line number Diff line change 88 repository : ghcr.io/orange-cloudfoundry/mongodb-probe-app
99 pullPolicy : IfNotPresent
1010 # Overrides the image tag whose default is the chart appVersion.
11- tag : " 0.0.5 "
11+ tag : " 0.0.6 "
1212
1313imagePullSecrets : []
1414nameOverride : " "
@@ -104,8 +104,11 @@ affinity: {}
104104# probe specific default values
105105mongodb :
106106 tlsSecretName : mysecret
107- tlsSecretCaKey : ca.crt
108- # tlsSecretCertificate: tls.crt
107+ tlsCa : ca.crt
108+ tlsCert : tls.crt
109+ # tlsKey: xx
110+ # tlsCertKey: xxx
111+
109112 database : mydb
110113 host : localhost
111114 port : ' 27017'
Original file line number Diff line number Diff line change 11---
22version : 1
33applications :
4- - name : po- mongodb-probe
4+ - name : mongodb-probe
55 memory : 900M
66 instances : 2
77 buildpacks :
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ logging:
1010 org.springframework.boot.env : DEBUG
1111 org.springframework.context : DEBUG
1212
13+ spring :
14+ data :
15+ mongodb :
16+ ssl-enabled : true
17+
1318---
1419spring :
1520 config :
You can’t perform that action at this time.
0 commit comments