https://rancher.com/ logo
m

microscopic-knife-52274

02/21/2023, 6:34 AM
Hello everyone, we installed Rancher 2.7 on our RKE2 Cluster and we are trying to automate the installation of apps from the "Apps -> Charts" menu. I know that there is the possibility to use Rancher CLI Tools, but is there a way to do that via a .yml file? I found out that there are the some api-resources that seem suitable: helmcharts helm.cattle.io/v1 <- cannot find the helm chart in /home/shell/helm/metallb-0.13.7.tgz apps catalog.cattle.io/v1 <- only creates metadata in "installed apps but there is no deployment" So is there a way to install apps from the "Apps -> Charts" menu via a yml file? Thank you in advance 🙂
c

careful-mouse-48712

02/21/2023, 8:00 AM
Hi, all of the Apps are just Helm-Charts. You can clone the chart-repository and install with helm or use the Helmchart-CRD that is documented somewhere in the k3s-docs.
PS: when using the Helmchart-crd you need to add the repository-url 😉
m

microscopic-knife-52274

02/21/2023, 8:31 AM
Hi @careful-mouse-48712 thank you for answering 🙂 I forgot to add that we are in a air-gapped environment, so cloning is unfortunately not an Option 😕 That is why we are considering installing them automatically via the "App Charts".
c

careful-mouse-48712

02/21/2023, 8:53 AM
Ah okay. Well without maintaining a local repository containing the charts, i guess you would have to "helm template" them into manifests. And somehow get the images into the air-gapped enviromnent.
18 Views