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

feature. add tks-portal flow. #52

Merged
merged 2 commits into from
Mar 22, 2022
Merged

feature. add tks-portal flow. #52

merged 2 commits into from
Mar 22, 2022

Conversation

ktkfree
Copy link
Contributor

@ktkfree ktkfree commented Mar 21, 2022

tks-portal 을 설치하는 workflow 를 추가합니다.

tks-portal 에서 요구하는 파라미터가 대부분 동적인 값들이라서 @robertchoi80 님 변경내역 참고하여 CHANGEME 라는 값을 converting 하는 로직으로 구현하였습니다.

@ktkfree ktkfree requested a review from seungkyua March 21, 2022 15:39
@ktkfree ktkfree force-pushed the add_tks_portal branch 4 times, most recently from 124d68f to 3536ca1 Compare March 22, 2022 02:52
Comment on lines +1074 to +1076
envFrom:
- secretRef:
name: "github-tks-mgmt-token"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

지금은 tks-management 지만 변수로 받아야 하지 않을까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 토큰에서 orgname 가져오도록 변경하였습니다.

Copy link
Contributor

@intelliguy intelliguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앞 커맨트 적용해서 머지하면 좋겠습니다.

CLIENT_ID={{inputs.parameters.client_id}}
ADD_MAPPER={{inputs.parameters.add_mapper}}
kube_params=""
kube_secret=$(kubectl get secret -n argo tks-admin-kubeconfig-secret -o jsonpath="{.data.value}" | base64 -d)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고정이니 secret mount 하는 방법을 사용하는 것이 더 좋습니다.

다른 flow에서도 그렇게 사용하고 있구요 (일관성측면에서도)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 요 부분은 create-client workflow 로 통합할때 같이 작업되면 좋겠습니다.

@ktkfree ktkfree merged commit 4c14ae0 into main Mar 22, 2022
@ktkfree ktkfree deleted the add_tks_portal branch March 22, 2022 08:07
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.

3 participants