From 5cf72e40ab5a99c190e066cfe3c08a0e23201dfd Mon Sep 17 00:00:00 2001 From: Katherine Chen Date: Tue, 13 Aug 2024 14:47:21 +1000 Subject: [PATCH] Add steps to Set up kubernetes context --- actions/start_eks_operator/action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/actions/start_eks_operator/action.yaml b/actions/start_eks_operator/action.yaml index 6b7cbe44..59b81f1a 100644 --- a/actions/start_eks_operator/action.yaml +++ b/actions/start_eks_operator/action.yaml @@ -33,6 +33,11 @@ runs: using: "composite" steps: + - name: Set up kubernetes context + shell: bash + run: | + aws eks --region us-east-2 update-kubeconfig --name uid-test-git-us-east-2 + - name: Create secrets in the kubernetes cluster id: create_secrets shell: bash @@ -62,6 +67,5 @@ runs: id: start_eks shell: bash run: | - aws eks --region us-east-2 update-kubeconfig --name uid-test-git-us-east-2 cat ${{ inputs.operator_root }}/scripts/aws/eks/deployment_files/deployment.yaml kubectl apply -f ${{ inputs.operator_root }}/scripts/aws/eks/deployment_files/deployment.yaml