mirror of
https://github.com/apricote/home-cloud.git
synced 2026-02-07 10:17:01 +00:00
deploy flux helm-operator to cluster
This commit is contained in:
parent
0f007bfea3
commit
36b4fe6a6e
4 changed files with 48 additions and 4 deletions
5
k3s_cluster/files/k8s-apps/helm-operator-crds.sh
Normal file
5
k3s_cluster/files/k8s-apps/helm-operator-crds.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
MANIFEST_FILE=https://raw.githubusercontent.com/fluxcd/helm-operator/${version}/deploy/crds.yaml
|
||||
K3S_MANIFEST_FOLDER=${k3s_manifest_folder}
|
||||
|
||||
curl -sfL $MANIFEST_FILE > $K3S_MANIFEST_FOLDER/helm-operator-crds.yml
|
||||
13
k3s_cluster/files/k8s-apps/helm-operator.yaml
Normal file
13
k3s_cluster/files/k8s-apps/helm-operator.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmChart
|
||||
metadata:
|
||||
name: helm-operator
|
||||
namespace: kube-system
|
||||
spec:
|
||||
chart: helm-operator
|
||||
repo: https://charts.fluxcd.io
|
||||
version: ${version}
|
||||
targetNamespace: flux
|
||||
set:
|
||||
helm.versions: v3
|
||||
Loading…
Add table
Add a link
Reference in a new issue