API 1.0.56.7 Kubernetes does not need built in SSL, because ingress solves it

This commit is contained in:
Tibor Bossanyi (Freelancer)
2022-10-03 19:19:24 +02:00
parent 8e7e8ab4e1
commit c93cb007ff
7 changed files with 13 additions and 6 deletions
@@ -9,7 +9,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.builder.SpringApplicationBuilder
import org.springframework.context.annotation.Bean
@SpringBootApplication
class ApiApplication {
@Bean(name = ["jasyptStringEncryptor"])
@@ -21,4 +21,5 @@ class PropertyServiceForJasyptStarter {
fun getKeyStorePasswordUsingEnvironment(environment: Environment): String? {
return environment.getProperty("server.ssl.key-store-password")
}
}
}
@@ -1,6 +1,8 @@
spring.config.activate.on-profile=prod
spring.config.use-legacy-processing = true
## Spring DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.url = jdbc:mysql://mariadb-galera.db.svc.cluster.local:3307/aitrainer?serverTimezone=CET&useSSL=true&characterEncoding=UTF-8&allowPublicKeyRetrieval=true&allowMultiQueries=true
spring.datasource.username = aitrainer
spring.datasource.password = ENC(WZplPYr8WmrLHshesY4T6oXplK3MlUVJ)
@@ -1,6 +1,6 @@
http.port=8088
server.port=8443
server.ssl.enabled=true
server.ssl.enabled=false
jasypt.encryptor.bean=jasyptStringEncryptor
# The format used for the keystore. It could be set to JKS in case it is a JKS file
+4 -1
View File
@@ -29,7 +29,10 @@
<!-- <logger name="org.springframework" level="DEBUG" />
<logger name="com.github.ulisesbocchio" level="DEBUG" /> -->
<logger name="org.apache.tomcat" level="DEBUG"/>
<logger name="org.apache.coyote" level="DEBUG"/>
<logger name="com.github.ulisesbocchio" level="DEBUG" />
<logger name="javax.net.ssl" level="DEBUG"/> -->
<logger name="com.aitrainer" level="INFO" />
<logger name="org.hibernate" level="INFO" />