Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disallow override in spring cloud kubernetes config? #650

Open
rublin opened this issue Oct 1, 2020 · 1 comment
Open

How to disallow override in spring cloud kubernetes config? #650

rublin opened this issue Oct 1, 2020 · 1 comment

Comments

@rublin
Copy link

rublin commented Oct 1, 2020

I want the local application.properties file to have a bigger priority than Kubernetes ConfigMap.
Something like spring.cloud.config.allow-override: false in "classic" spring cloud.
Is it possible?

@orsiberton
Copy link

I believe that this can be achieved using spring.cloud.config.overrideNone=true in the config map, which will set the configuration in the configmap with a lower priority than the local application.properties

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

No branches or pull requests

4 participants