suse-edge / charts

SUSE Edge engineering Helm charts
https://suse-edge.github.io/charts/
Apache License 2.0
5 stars 18 forks source link

[RFE] Add docs to install the charts using the HelmChart CRD instead of the helm binaries #100

Open e-minguez opened 5 months ago

e-minguez commented 5 months ago

Instead of using helm install, it would be nice to document examples on the charts on how to create the HelmChart objects directly if using rke2/k3s https://github.com/k3s-io/helm-controller

For example for metal3:

cat <<-EOF | ${KUBECTL} apply -f -
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
  name: ${METAL3CHART}
  namespace: kube-system
spec:
  repo: ${METAL3REPOURL}
  chart: ${METAL3CHART}
  targetNamespace: ${METAL3NAMESPACE}
  version: ${METAL3VERSION}
  createNamespace: true
  set:
    global.ironicIP: ${IRONICIP}
  valuesContent: |-
${VALUES}
EOF