File tree Expand file tree Collapse file tree
msa-user-service/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 echo "=== AWS Identity Check ==="
7171 aws sts get-caller-identity
7272
73- echo "=== Update kubeconfig ==="
73+ echo "=== Update kubeconfig (method 1) ==="
7474 aws eks update-kubeconfig --name Groom-EKS-Cluster --region ${{ env.AWS_REGION }}
7575
76+ echo "=== Alternative: Update kubeconfig with explicit role ==="
77+ aws eks update-kubeconfig --name Groom-EKS-Cluster --region ${{ env.AWS_REGION }} --role-arn arn:aws:iam::490913547024:role/gitactionToECR
78+
79+ echo "=== Get fresh token ==="
80+ aws eks get-token --cluster-name Groom-EKS-Cluster --region ${{ env.AWS_REGION }}
81+
82+ echo "=== Test basic kubectl access ==="
83+ kubectl version --short
84+
7685 echo "=== Verify existing aws-auth configmap ==="
7786 kubectl get configmap aws-auth -n kube-system
7887
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ spring:
1414 hikari :
1515 maximum-pool-size : 4
1616 minimum-idle : 2
17- idle-timeout : 300000 # test test test2mmm
17+ idle-timeout : 300000 # test test test2
1818 max-lifetime : 1500000 # 25m
1919 keepalive-time : 1200000 # 20m
2020 connection-timeout : 30000
You can’t perform that action at this time.
0 commit comments