Skip to content

Commit 79f4cab

Browse files
authored
Merge pull request eugenp#5618 from corneil/BAEL-2106
BAEL-2106: Spring Boot deployment to Openshift
2 parents 339da80 + c09e6d4 commit 79f4cab

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎spring-boot-bootstrap/openshift/configmap.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: spring-boot-bootstrap
55
data:
66
application.properties: |-
7-
spring.datasource.url=jdbc:mysql://baeldung-demo-db:3306/
7+
spring.datasource.url=jdbc:mysql://baeldung-db:3306/baeldung_db

‎spring-boot-bootstrap/src/main/fabric8/deployment.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ spec:
44
containers:
55
- env:
66
- name: SPRING_PROFILES_ACTIVE
7-
value: mysql,openshift
7+
value: mysql
88
- name: SPRING_DATASOURCE_USER
99
valueFrom:
1010
secretKeyRef:
11-
name: baeldung-demo-db
11+
name: baeldung-db
1212
key: database-user
1313
- name: SPRING_DATASOURCE_PASSWORD
1414
valueFrom:
1515
secretKeyRef:
16-
name: baeldung-demo-db
16+
name: baeldung-db
1717
key: database-password
1818
livenessProbe:
1919
httpGet:

0 commit comments

Comments
 (0)