Skip to content

Testcontainer Redis with having ssl:true in application.yml #43977

Open
@Xyaren

Description

@Xyaren

Spring Boot: 3.4.2

I just started using a redis testcontainer and notice that using @ServiceConnection does take the spring.data.redis.ssl.enabled property from application.yml into account.
My expectation would be, that the @ServiceConnection will overrule the default config in this case, like it does for host, port etc.
org.springframework.boot.autoconfigure.data.redis.RedisConnectionDetails has no property to allow enabling/disabling ssl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions