Add yaml config feature to handle different available values for each cloud #1188
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
yaml config 파일의 로드 및 갱신은
https://github.com/spf13/viper (MIT 라이선스) 를 활용하였으며, 이는 cobra 등에서 많이 활용되는 오픈소스이므로, 신뢰할 수 있음.
main에서 로드된 yaml 파일의 정보는
cb-tumblebug/src/core/common pkg에서 전역 변수에 바인딩하여, 전역에서 사용할 수 있도록 되어 있음.
NLB 코드에 적용 필요.