You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently our internal git failed what effected our production as the Config Server was not able to checkout configs for all services.
To resolve it we decided to use S3 bucket as a fallback, however, after I set up the bucket and upload our config files from Git I noticed that it doesn't work... with a bit of reading through the documentation I found that S3 bucket require to have file names in a specific format: <service_name>-<profile>.yml
However, in our Git we have a single file with just the name of the service and multiple profiles inside what perfectly supported by YAML and the config service is able to extract a specific profile from such file.
Additionally, our service name and profile names include dashes eg:
Service name: notification-service.yml
Profile: qa54-nsapce25-docker which refer to: qa65 - QA environment nsapce25 - specific nsapce within EKS / Kubernetes docker - means service run from docker, and not from local code
so having a file with a name like "notification-service-qa54-nsapce25-docker.yml" doesn't work in S3 either
The text was updated successfully, but these errors were encountered:
* Make S3 and Git backends more compatible
Fixes#1829
Signed-off-by: Krzysztof Kurczewski <[email protected]>
* Add docs
Signed-off-by: kkurczewski <[email protected]>
* Use relative link
Signed-off-by: kkurczewski <[email protected]>
* Add explicit note about new flag for S3 backend
Signed-off-by: kkurczewski <[email protected]>
---------
Signed-off-by: Krzysztof Kurczewski <[email protected]>
Signed-off-by: kkurczewski <[email protected]>
Hi
Recently our internal git failed what effected our production as the Config Server was not able to checkout configs for all services.
To resolve it we decided to use S3 bucket as a fallback, however, after I set up the bucket and upload our config files from Git I noticed that it doesn't work... with a bit of reading through the documentation I found that S3 bucket require to have file names in a specific format:
<service_name>-<profile>.yml
However, in our Git we have a single file with just the name of the service and multiple profiles inside what perfectly supported by YAML and the config service is able to extract a specific profile from such file.
Additionally, our service name and profile names include dashes eg:
Service name:
notification-service.yml
Profile:
qa54-nsapce25-docker
which refer to:qa65
- QA environmentnsapce25
- specific nsapce within EKS / Kubernetesdocker
- means service run from docker, and not from local codeso having a file with a name like "
notification-service
-qa54-nsapce25-docker
.yml" doesn't work in S3 eitherThe text was updated successfully, but these errors were encountered: