deploy flux helm-operator to cluster

This commit is contained in:
Julian Tölle 2020-05-20 01:21:44 +02:00
parent 0f007bfea3
commit 36b4fe6a6e
4 changed files with 48 additions and 4 deletions

View 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

View 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