[suggestion] Having a Config server ? #48
Replies: 4 comments
-
Mounting a volume or a secret is the simplest possible approach one can use. It does not require additional containers to run and it's the only part in the service bidning story that is solid. I don't see how adding an additonal moving part (the config server) simplifies things. |
Beta Was this translation helpful? Give feedback.
-
This is not so simple as you could imagine as it implies that an |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
We had a discussion with Raffaele Spazzoli yesterday on Assemble google chat. His position is that the way to go should be to use k8s-etcd and configMap/Secret (+ GitOps to deploy on different environments) instead of a SCC server. While I'm not opposite, such approach will bring some limitations as by example:
|
Beta Was this translation helpful? Give feedback.
-
Suggestion/Requirement
As you know Spring Boot projets/customers use intensively a Config server to set up the configurations of the "microservices"(https://spring.io/projects/spring-cloud-config). We don't propose such a config server for the runtime microservices deployed on k8s/ocp but I think that it could help us to better support our strategy and could also offer for the customers an environment they will trust, will use, will help them to manage configs of the microservices against DEV, TEST, PROD, ... environments, to encrypt/decrypt content (https://www.springcloud.io/post/2022-03/spring-cloud-config-server-encryption-and-decryption/#gsc.tab=0), etc.
The reason why I'm thinking about the SCCServer is because it could also help us to simplify the process which has been designed around the Service Binding Operator to push the data (URL and credentials) coming from a claim request (= I want to access mysql/8, I want to access kafka, ....) of a microservice into the SCC instead of having to mount a secret (= base64 string which is not secure at all) to the volume of the pod, to change the RBAC for every new type of service to be access, etc.
The dev/user will have to do 2 things:
Remark: If we develop a Java Application Service, the process to enrich the microservice (= adding and configuring the SCC server lib) could be done bu the platform :-)
WDYT ?
Beta Was this translation helpful? Give feedback.
All reactions