Spring Cloud Config provides server-side and client-side support for externalized configuration in a distributed system. More appropriate tag: spring-cloud-config.
Questions tagged [spring-cloud-config-server]
211 questions
0
votes
0 answers
Problem reading profile settings and config in Spring Boot
I have created a project with Spring Boot 3.My docker file is as follows
FROM amazoncorretto:17.0.3-alpine
ENV APP_HOME=/usr/app
WORKDIR $APP_HOME
COPY ./build/libs/*.jar ./app.jar
RUN chmod +x ./app.jar
RUN touch /app.jar
CMD…

Soheil Babadi
- 562
- 2
- 4
- 15
0
votes
0 answers
Why is my Java 17 Spring Boot app not reaching my ConfigServer through EurekaServer?
`Hi everyone,
I have an application, Java 17, spring boot 2.6.6.
To register this application and all other we decide to use EurekaServer.
To have differente configuration file, one for each environment, we decided to build a ConfigServer.
So…
0
votes
0 answers
Spring Cloud Config Server allow to access only one profile
I am attempting to setup a Spring Cloud Config Server to provide the configurations for multiple applications.
We have a repository with all the configurations of our applications in all the environments. So, for example
.
├──…

Giulio
- 1
- 1
- 1
0
votes
1 answer
I can't get secret when I use Spring Cloud Config Server with Hashicorp Vault backend repository
First, I set the bootstrap.yml file of my Spring Cloud Config Server, then start it in my IDEA.
bootstrap.yml:
spring:
application:
name: config-server
profiles:
active:
# this value set can refer to :…

Flamer
- 5
- 4
0
votes
0 answers
Handling Spring Cloud Config Server when its underlying remote git server is unreliable
I noticed config server crashes whenever the underlying git server is either down or its performance is degraded (slow response).
The config server is deployed on a CloudFoundry-based platform which means the baseDir, which the config server is…

supertonsky
- 2,563
- 6
- 38
- 68
0
votes
0 answers
How to set values from java config server(git repo) using @Value annotation for Constant variable
I have some application.properties variables in my config repo and I want to fetch that to my application into a constatnt variable and further the same constatnt variable needs to use at
@Schedued(corn=Myclass.MY_CONSTANT)
I have tried many ways…

kannan
- 1
- 2
0
votes
0 answers
Spring cloud config server unable to Authenticate vault using Kubernetes service account name
I have implemented spring cloud config server with composite setup of git and vault. I am trying to authenticate vault using Kubernetes service account. It works fine when I authenticate using TOKEN but when I authenticate using KUBERNETES it fails…
0
votes
2 answers
Failed (NoSuchProviderException) to execute: JCE cannot authenticate the provider BC
Following is the pom.xml file of my Spring Cloud Server:

Keshavram Kuduwa
- 942
- 10
- 40
0
votes
0 answers
Spring-Boot refresh endpoint is not working, spring cloud v2021.0.5 springboot v2.7.8
I have set up spring-cloud-config client and server and trying to pull properties from external git repository, my config-server is able to fetch the changes but config-client refresh endpoint doesn't show any change and do not pull changes which is…

Suman Singh
- 1
- 2
0
votes
0 answers
Integration HashiCorp Vault and Spring Cloud Config Server for few client-services
I need to integrate Vault with spring cloud config server. For example, I have two client services, spring cloud config server and Vault. I need that my clients will go to the spring cloud config server and he will back settings (from git for…

Sergey Korotaev
- 1
- 2
0
votes
0 answers
Is Spring Cloud Config Server intended to serve application logic configuration?
When I mean application logic, I mean business logic that drives how application behaves.
Our application deployed on DEV will always use the configuration from develop branch and PROD will always use the configuration from the master branch. We…

supertonsky
- 2,563
- 6
- 38
- 68
0
votes
0 answers
Is it possible to make auto-refresh properties for Spring Cloud clients in a **multi-pod** environment
Is it possible to make auto-refresh properties for Spring Cloud clients in a multi-pod environment (Google Kubernetes Engine)?
I found several work arounds:
Using Spring Cloud Bus (too heavy solution).
Running refresh inside code using RefreshEvent…
0
votes
0 answers
How to load the configs value from zookeeper's znode
I have a @Configuration class like below. I need to initialize configs from zookeeper znode's values on start of spring boot application and update config variables dynamically whenever their value gets updated in…

tusharRawat
- 719
- 10
- 24
0
votes
0 answers
Configure SSH key with Config Server
I am doing a POC on Config Server wherein I will connect to BitBucket repo and if any checkin happen in that repo, my Config Service will pick those changes. In the below code if I am providing bitbucket credentials (hardcoding username and…

Eager
- 23
- 5
0
votes
0 answers
How to externalize spring.cloud.vault.* properties to a spring cloud config server
I am using spring boot 2.7.8
I am following this https://docs.spring.io/spring-cloud-vault/docs/current/reference/html/#client-side-usage and https://docs.spring.io/spring-cloud-config/docs/current/reference/html/#_client_side_usage
I have a spring…

Vishal
- 549
- 3
- 13