Skip to content

chore(deps): update helmrelease to helm.toolkit.fluxcd.io/v2beta2 #3325

chore(deps): update helmrelease to helm.toolkit.fluxcd.io/v2beta2

chore(deps): update helmrelease to helm.toolkit.fluxcd.io/v2beta2 #3325

Workflow file for this run

---
name: "Kubeconform"
on:
workflow_dispatch:
pull_request:
branches: ["main"]
paths:
- "kubernetes/kyak/**"
- "kubernetes/sol/**"
env:
DEBCONF_NONINTERACTIVE_SEEN: "true"
DEBIAN_FRONTEND: noninteractive
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE: DontWarn
NIX_FLAKE_PATH: ./.github/workflows/resources/nix
SCHEMA_DIR: /home/runner/crds
jobs:
kubeconform:
name: Kubeconform
runs-on: ubuntu-latest
strategy:
matrix:
path: ["kubernetes/kyak", "kubernetes/sol"]
steps:
- name: Generate Token
uses: actions/create-github-app-token@2986852ad836768dfea7781f31828eb3e17990fa # v1.6.2
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: "${{ steps.app-token.outputs.token }}"
- name: Install OS Deps
shell: bash
run: sudo apt-get update && sudo apt-get install -y curl git xz-utils
- name: Install Nix
uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
with:
github_access_token: "${{ steps.app-token.outputs.token }}"
- name: Switch to Nix devShell
uses: nicknovitski/nix-develop@a2060d116a50b36dfab02280af558e73ab52427d # v1.1.0
with:
arguments: "${{ env.NIX_FLAKE_PATH }}"
- name: Setup QEMU
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
with:
platforms: linux/amd64,linux/arm64
- name: Extract files from container image
shell: bash
run: |
mkdir -p ${{ env.SCHEMA_DIR }}
docker run --rm \
-v ${{ env.SCHEMA_DIR }}:/crds \
-u $(id -u) \
--entrypoint /bin/sh \
ghcr.io/onedr0p/kubernetes-schemas:latest \
-c "cp -r /usr/share/nginx/html/* /crds"
- name: Run kubeconform
shell: bash
run: bash ./.github/scripts/kubeconform.sh ${{ matrix.path }} ${{ env.SCHEMA_DIR }}