Skip to content

Commit 8c86b96

Browse files
committed
0.0.5, add support for tls cert (not just ca)
1 parent d6e2539 commit 8c86b96

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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.4
59-
docker push ${DOCKER_IMAGE}:0.0.4
58+
docker tag ${DOCKER_IMAGE}:${{ github.sha }} ${DOCKER_IMAGE}:0.0.5
59+
docker push ${DOCKER_IMAGE}:0.0.5
6060
6161
- name: Chart | Push
6262
uses: appany/[email protected]
6363
with:
6464
name: mongodb-probe
6565
repository: ${{ github.repository }}
66-
tag: 0.0.4
66+
tag: 0.0.5
6767
path: chart/mongodb-probe # Default charts/{name}
6868
registry: ghcr.io
6969
registry_username: ${{ github.actor }}

chart/mongodb-probe/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.4
18+
version: 0.0.5
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

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/tls/{{ .Values.mongodb.tlsSecretCaKey }}
12-
12+
spring.ssl.bundle.pem.mongodb-ssl-bundle.keystore.certificate=file:/workspace/config/tls/{{ .Values.mongodb.tlsSecretCertificate }}
1313
1414
spring.data.mongodb.ssl.enabled=true
1515
spring.data.mongodb.ssl.bundle=mongodb-ssl-bundle

chart/mongodb-probe/values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ image:
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.4"
11+
tag: "0.0.5"
1212

1313
imagePullSecrets: []
1414
nameOverride: ""
@@ -105,6 +105,7 @@ affinity: {}
105105
mongodb:
106106
tlsSecretName: mysecret
107107
tlsSecretCaKey: ca.crt
108+
tlsSecretCertificate: tls.crt
108109
database: mydb
109110
host: localhost
110111
port: '27017'

0 commit comments

Comments
 (0)