Skip to content

Commit

Permalink
Pin the helm action
Browse files Browse the repository at this point in the history
See koslib/helm-eks-action#37 (comment) for more

* We're using the master version of the helm github action
* It recently had an update that featured a kubectl version update
* This has had the knock on effect of causing our helm deploys to fail with

```
invalid apiVersion "client.authentication.k8s.io/v1alpha1"
```
  • Loading branch information
roc committed Oct 19, 2022
1 parent 0d078c7 commit d3d3922
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: ckan deploy
uses: koslib/helm-eks-action@master
uses: koslib/helm-eks-action@v1.25.2
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }}
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: ckan deploy
uses: koslib/helm-eks-action@master
uses: koslib/helm-eks-action@v1.25.2
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }}
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
docker tag $ECR_REPOSITORY:$IMAGE_TAG $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
- name: ckan deploy
uses: koslib/helm-eks-action@master
uses: koslib/helm-eks-action@v1.25.2
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBECONFIG_FILE }}
ECR_REGISTRY: ${{ secrets.ECR_REGISTRY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-deploy-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
docker push ${{ secrets.ecr_registry }}/${{ inputs.ecr_repository }}:$IMAGE_TAG
- name: update helm
uses: koslib/helm-eks-action@master
uses: koslib/helm-eks-action@v1.25.2
env:
KUBE_CONFIG_DATA: ${{ secrets.kubeconfig_file }}
with:
Expand Down

0 comments on commit d3d3922

Please sign in to comment.