Closed joaodias14 closed 2 years ago
@joaodias14 Java CFEnv sets Boot properties in a property source. Any properties like spring.redis.ssl
can be overridden in another property source that has higher precedence.
Hi @joaodias14, revisiting this issue, has @scottfrederick's suggestion to use a source with higher precedence helped with your case?
Closing this out for now, workaround shared
Currently we get from our Cloud Foundry platform the Redis TLS Port property, this means that
RedisCfEnvProcessor.java
will set "spring.redis.ssl" property to true. The issue is that we want to disable this because of its huge performance penalty but we can't remove TLS Port from Cloud Foundry environment variables. How can we achieve this?