Skip to content

Instantly share code, notes, and snippets.

@curx
curx / create-helmchart.sh
Last active July 28, 2025 13:13
create CRD rancher helm chart the easy
#!/usr/bin/env bash
## desc: create k3s/rke2 crd helmChart from a default helmChart
## author: Thorsten Schifferdecker https://github.com/curx
## license: Apache 2.0
## vars
helmrepo="${1:?error no helm repository given, abort.}"
helmchart_name="${2:?error no helm name given, abort.}"
helmchart_namespace="${3:-${helmchart_name}-system}"