From 3f1738cf8a155920b02c22512a277a441289d306 Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 10:39:05 -0300 Subject: [PATCH 1/6] feat: upgrade kubectl version to 1.28 --- .github/workflows/ci_k8_base.yml | 2 +- .github/workflows/ci_k8_undeploy_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index f2a6ece..d9ba28e 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -132,7 +132,7 @@ jobs: - name: Setup kubectl run: | - curl -LO "https://dl.k8s.io/release/v1.23.17/bin/linux/amd64/kubectl" + curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator diff --git a/.github/workflows/ci_k8_undeploy_base.yml b/.github/workflows/ci_k8_undeploy_base.yml index 4a753bf..7b749df 100644 --- a/.github/workflows/ci_k8_undeploy_base.yml +++ b/.github/workflows/ci_k8_undeploy_base.yml @@ -84,7 +84,7 @@ jobs: - name: Setup kubectl run: | - curl -LO "https://dl.k8s.io/release/v1.21.0/bin/linux/amd64/kubectl" + curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator From f7d1f064c6629f7b8dd08f9a7c9fc7c620c7f6a6 Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 10:56:43 -0300 Subject: [PATCH 2/6] feat: update aws iam authenticator bin version --- .github/workflows/ci_k8_base.yml | 2 +- .github/workflows/ci_k8_undeploy_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index d9ba28e..10dce3e 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -135,7 +135,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator + curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.27.0/2023-08-30/bin/linux/amd64/aws-iam-authenticator chmod u+x aws-iam-authenticator - name: Defining envs variables for kube diff --git a/.github/workflows/ci_k8_undeploy_base.yml b/.github/workflows/ci_k8_undeploy_base.yml index 7b749df..18d14ee 100644 --- a/.github/workflows/ci_k8_undeploy_base.yml +++ b/.github/workflows/ci_k8_undeploy_base.yml @@ -87,7 +87,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator + curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.27.0/2023-08-30/bin/linux/amd64/aws-iam-authenticator chmod u+x aws-iam-authenticator - name: Kubernetes Undeploy From eea6ee6c03dc0493e69d0fb7303c0e4161ff0938 Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 11:16:09 -0300 Subject: [PATCH 3/6] test: run test with upgrade-authenticator-api-version version of kube folder --- .github/workflows/ci_k8_base.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index 10dce3e..c4d5322 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -92,7 +92,7 @@ jobs: - name: Checkout tools repo uses: actions/checkout@v4 with: - ref: v1.6.0 + ref: upgrade-authenticator-api-version token: ${{ secrets.WF_GITHUB_TOKEN }} repository: QueroDelivery/kube path: .kube From 655e6420d4dea64c5694ff6f71180b0c96d99f4e Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 12:21:42 -0300 Subject: [PATCH 4/6] fix: rollback curl aws-iam-authenticator version --- .github/workflows/ci_k8_base.yml | 2 +- .github/workflows/ci_k8_undeploy_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index c4d5322..b2c161f 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -135,7 +135,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.27.0/2023-08-30/bin/linux/amd64/aws-iam-authenticator + curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator chmod u+x aws-iam-authenticator - name: Defining envs variables for kube diff --git a/.github/workflows/ci_k8_undeploy_base.yml b/.github/workflows/ci_k8_undeploy_base.yml index 18d14ee..7b749df 100644 --- a/.github/workflows/ci_k8_undeploy_base.yml +++ b/.github/workflows/ci_k8_undeploy_base.yml @@ -87,7 +87,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.27.0/2023-08-30/bin/linux/amd64/aws-iam-authenticator + curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator chmod u+x aws-iam-authenticator - name: Kubernetes Undeploy From d99b596e3f990e3927305997bd8829d341c89e61 Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 16:27:55 -0300 Subject: [PATCH 5/6] chore: switch version of aws iam authenticator --- .github/workflows/ci_k8_base.yml | 2 +- .github/workflows/ci_k8_undeploy_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index b2c161f..e8cebba 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -135,7 +135,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator + curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.6.26/aws-iam-authenticator_0.6.26_linux_amd64 chmod u+x aws-iam-authenticator - name: Defining envs variables for kube diff --git a/.github/workflows/ci_k8_undeploy_base.yml b/.github/workflows/ci_k8_undeploy_base.yml index 7b749df..3864a69 100644 --- a/.github/workflows/ci_k8_undeploy_base.yml +++ b/.github/workflows/ci_k8_undeploy_base.yml @@ -87,7 +87,7 @@ jobs: curl -LO "https://dl.k8s.io/release/v1.28.13/bin/linux/amd64/kubectl" chmod u+x kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl - curl -o aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.19.6/2021-01-05/bin/linux/amd64/aws-iam-authenticator + curl -Lo aws-iam-authenticator https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v0.6.26/aws-iam-authenticator_0.6.26_linux_amd64 chmod u+x aws-iam-authenticator - name: Kubernetes Undeploy From 815503857699adbc80ee025560eb7d65126bd09b Mon Sep 17 00:00:00 2001 From: Jennysson Junior Date: Tue, 3 Sep 2024 16:39:31 -0300 Subject: [PATCH 6/6] feat: fixed version of kube folder --- .github/workflows/ci_k8_base.yml | 2 +- .github/workflows/ci_k8_undeploy_base.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_k8_base.yml b/.github/workflows/ci_k8_base.yml index e8cebba..293b53c 100644 --- a/.github/workflows/ci_k8_base.yml +++ b/.github/workflows/ci_k8_base.yml @@ -92,7 +92,7 @@ jobs: - name: Checkout tools repo uses: actions/checkout@v4 with: - ref: upgrade-authenticator-api-version + ref: v1.7.0 token: ${{ secrets.WF_GITHUB_TOKEN }} repository: QueroDelivery/kube path: .kube diff --git a/.github/workflows/ci_k8_undeploy_base.yml b/.github/workflows/ci_k8_undeploy_base.yml index 3864a69..9d38e09 100644 --- a/.github/workflows/ci_k8_undeploy_base.yml +++ b/.github/workflows/ci_k8_undeploy_base.yml @@ -42,7 +42,7 @@ jobs: - name: Checkout tools repo uses: actions/checkout@v4 with: - ref: v1.3.0 + ref: v1.7.0 token: ${{ secrets.WF_GITHUB_TOKEN }} repository: QueroDelivery/kube path: .kube