mirror of
https://github.com/holos-run/holos.git
synced 2026-03-19 16:54:58 +00:00
This patch adds a schematic to generate a holos component that wraps a helm chart. The cert-manager chart is the current example. Usage: ```bash set -euo pipefail rm -rf ~/holos/dev/bare mkdir ~/holos/dev/bare cd ~/holos/dev/bare holos generate platform bare holos pull platform config . holos render platform ./platform/ (cd components && holos generate component helm cert-manager) ``` The chart builds: ```bash holos build ./components/cert-manager | yq . ``` And renders: ```bash holos render component ./components/cert-manager --cluster-name k2 find deploy -type f ``` ```txt 9:41PM INF render.go:83 rendered cert-manager version=0.81.1 cluster=k2 status=ok action=rendered name=cert-manager deploy/clusters/k2/holos/components/cert-manager-kustomization.gen.yaml deploy/clusters/k2/components/cert-manager/cert-manager.gen.yaml ```