-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp 127.0.0.1:8080: connect: connection refused
I'm doing the following to pass kubeconfig
- name: Set Kube Config
run: |
aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }} --region ${{ env.AWS_REGION }}
echo 'KUBE_CONFIG_DATA<<EOF' >> $GITHUB_ENV
echo $(cat ~/.kube/config | base64) >> $GITHUB_ENV
echo $(cat ~/.kube/config)
echo 'EOF' >> $GITHUB_ENV
echo $(cat ~/.kube/config)
confirms the correct details
- name: Deploy DB
uses: koslib/helm-eks-action@v1.25.4
env:
KUBE_CONFIG_DATA: ${{ env.KUBE_CONFIG_DATA }}
with:
command: "helm upgrade --install db --namespace=${{ needs.build.outputs.branch }} --create-namespace ./dbs/mariadb --set tag=${{ needs.build.outputs.branch }} --wait"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working