Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

chore: bump major version for all charts to alert to repository move. #42

chore: bump major version for all charts to alert to repository move.

chore: bump major version for all charts to alert to repository move. #42

name: Update hcloud-ccm-networks
on:
pull_request:
paths:
- charts/hcloud-ccm-networks/Chart.yaml
- .github/workflows/update-hcloud-cloud-controller-manager.yml
jobs:
update-crds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.REPO_PACKAGES_TOKEN }}
- name: Remove files
run: rm charts/hcloud-ccm-networks/templates/*
- name: Download new files
run: |
# renovate datasource=github-releases depName=hetznercloud/hcloud-cloud-controller-manager
export VERSION="1.16.0"
curl -Lo charts/hcloud-ccm-networks/templates/ccm-networks.yaml https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/download/v${VERSION}/ccm-networks.yaml
sed -i 's/--cluster-cidr=.*"/--cluster-cidr={{ .Values.clusterCidr }}"/g' charts/hcloud-ccm-networks/templates/ccm-networks.yaml
- name: Commit updated chart
uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3
with:
message: "chore(deps): update hcloud-ccm-networks"
add: "charts/hcloud-ccm-networks/*"
pull: "--rebase --autostash"
author_name: Morre's Bot
author_email: [email protected]