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. #27

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

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

name: Update hcloud-csi-driver
on:
pull_request:
paths:
- charts/hcloud-csi-driver/Chart.yaml
- .github/workflows/update-hcloud-csi-driver.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-csi-driver/templates/*
- name: Download new files
run: |
# renovate datasource=github-releases depName=hetznercloud/csi-driver
export VERSION="2.3.2"
curl -Lo charts/hcloud-csi-driver/templates/hcloud-csi.yaml https://github.com/hetznercloud/csi-driver/raw/v${VERSION}/deploy/kubernetes/hcloud-csi.yml
sed -i '/^provisioner: csi.hetzner.cloud/a reclaimPolicy: "{{ .Values.reclaimPolicy }}"' charts/hcloud-csi-driver/templates/hcloud-csi.yaml
- name: Commit updated chart
uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3
with:
message: "chore(deps): update hcloud-csi-driver"
add: "charts/hcloud-csi-driver/*"
pull: "--rebase --autostash"
author_name: Morre's Bot
author_email: morremeyer-bot@maurice-meyer.de