File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: CD Pipeline
22
33on :
44 workflow_run :
5- workflows : ["CI pipeline"]
5+ workflows : [ "CI pipeline" ]
66 types :
77 - completed
88
@@ -19,22 +19,20 @@ jobs:
1919 )/bin/linux/amd64/kubectl"
2020 chmod +x kubectl
2121 sudo mv kubectl /usr/local/bin/
22-
23- - name : Debug KUBE_CONFIG_DATA length
24- run : |
25- echo "---- begin secret preview -----"
26- # 맨 앞 100자를 찍고, 전체 문자열 길이를 출력
27- echo "${{ secrets.KUBE_CONFIG_DATA }}" | head -c 100
28- echo ""; echo "… (중략) …"
29- echo "전체 길이: $(echo "${{ secrets.KUBE_CONFIG_DATA }}" | wc -c)"
30- echo "---- end secret preview -------"
3122
3223 - name : Setup kubeconfig
3324 run : |
3425 mkdir -p $HOME/.kube
3526 echo "${{ secrets.KUBE_CONFIG_DATA }}" | base64 --decode > $HOME/.kube/config
3627 chmod 600 $HOME/.kube/config
3728
29+ - name : Install kic-iam-auth plugin
30+ run : |
31+ curl -L "https://objectstorage.kr-central-2.kakaocloud.com/v1/c11fcba415bd4314b595db954e4d4422/public/docs/binaries-kic-iam-auth/Linux%20x86_64%2064Bit/kic-iam-auth" \
32+ -o kic-iam-auth
33+ chmod +x kic-iam-auth
34+ sudo cp kic-iam-auth /usr/local/bin/
35+
3836 - name : Test kubectl 연결
3937 run : kubectl get nodes -n trendist
4038
You can’t perform that action at this time.
0 commit comments