-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
124d68f
to
3536ca1
Compare
envFrom: | ||
- secretRef: | ||
name: "github-tks-mgmt-token" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
지금은 tks-management 지만 변수로 받아야 하지 않을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 토큰에서 orgname 가져오도록 변경하였습니다.
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고정이니 secret mount 하는 방법을 사용하는 것이 더 좋습니다.
다른 flow에서도 그렇게 사용하고 있구요 (일관성측면에서도)
volumeMounts: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 요 부분은 create-client workflow 로 통합할때 같이 작업되면 좋겠습니다.
tks-portal 을 설치하는 workflow 를 추가합니다.
tks-portal 에서 요구하는 파라미터가 대부분 동적인 값들이라서 @robertchoi80 님 변경내역 참고하여 CHANGEME 라는 값을 converting 하는 로직으로 구현하였습니다.