Skip to content

Add support for switching off profile validation#3227

Open
dsyer wants to merge 1 commit into
spring-cloud:mainfrom
dsyer:profile-validator
Open

Add support for switching off profile validation#3227
dsyer wants to merge 1 commit into
spring-cloud:mainfrom
dsyer:profile-validator

Conversation

@dsyer
Copy link
Copy Markdown
Contributor

@dsyer dsyer commented May 13, 2026

Using the already documented spring.profiles.validate flag from
Spring Boot.

Copy link
Copy Markdown
Member

@spencergibb spencergibb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we target 4.3.x?

@dsyer dsyer force-pushed the profile-validator branch from 260da8f to 354667b Compare May 13, 2026 10:33
@dsyer
Copy link
Copy Markdown
Contributor Author

dsyer commented May 13, 2026

Can we target 4.3.x?

I'm not sure I can change the PR. I can test a cherry pick onto 4.3.x locally if you want.

UPDATE: it's green on the cherry pick branch. I can send a separate PR if you like? Let's wait till this one is approved anyway.

@dsyer dsyer force-pushed the profile-validator branch 2 times, most recently from 9468f7e to a8c4a31 Compare May 13, 2026 14:24
Using the already documented spring.profiles.validate flag from
Spring Boot.

Signed-off-by: Dave Syer <david.syer@broadcom.com>
@dsyer dsyer force-pushed the profile-validator branch from a8c4a31 to d189146 Compare May 13, 2026 14:31
Copy link
Copy Markdown
Contributor

@ryanjbaxter ryanjbaxter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, merge it and cherry pick it into 4.3.x, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check For SPRING_PROFILES_VALIDATE Property In PathUtils.isInvalidProfiles

5 participants