Skip to content

Profiles programmatically set on the Envionment are no longer merged with active profile properties #26151

@patpatpat123

Description

@patpatpat123

Hello Spring Boot Team,

Many thanks for the release of 2.5.0-RC1.

I was using 2.5.0-M3 fine with spring.profiles.active=mycustomeprofile,vault,kubernetes, nothing wrong, very happy.

INFO [myservice,,] 10 --- [           main] Application  : The following profiles are active: mycustomeprofile,vault,kubernetes

Just upgraded to 2.5.0-RC1, no code change, just a pom bump.

now, I get from the log:

The following profiles are active: kubernetes

It seems there is an issue with the profile.

Thank you

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions