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

Add script to Get IP of the current host and set SELF_ENDPOINT env variable #659

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

seokho-son
Copy link
Member

This PR adds script to Get IP of the current host and set SELF_ENDPOINT env variable.

  • Get IP address which is accessable from outside.
  • Set SELF_ENDPOINT (for CB-TB Swagger API Dashboard)

[Note] To apply $SELF_ENDPOINT, CB-TB restart is required.

@seokho-son seokho-son requested a review from jihoon-seo as a code owner August 4, 2021 01:33
@jihoon-seo
Copy link
Member

[Note] To apply $SELF_ENDPOINT, CB-TB restart is required.

  1. /tumblebug/config API를 이용하여 TB restart 없이 환경변수를 업데이트하고
  2. TB Swagger API Dashboard 도 TB restart 없이 업데이트가 되면 좋을 것 같은데

쉽지 않을 수 있겠네요.. 😊

@jihoon-seo jihoon-seo merged commit 3a95eb4 into cloud-barista:main Aug 4, 2021
@seokho-son
Copy link
Member Author

@jihoon-seo 아.. 이건 일반적인 환경설정이랑 동일한데 자동화만 시켜둔 것입니다..^^

Swagger API Dashboard 에 엔드포인트 지정하는 방법이 없어서, 외부에서도 할 수 있도록 우회 방식을 적용해둔 것이라
다이나믹하게 변경할 수 있는 방법이 아직 없는 것 같아요! (언젠가 업스트림에서 만들어 주겠죠~?^^)

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

Successfully merging this pull request may close these issues.

2 participants