From e9078e02fcea82d8785d38da86cc1d808e053528 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Thu, 8 Feb 2024 16:28:21 -0500 Subject: [PATCH] split out the cilium helmchartproxy --- templates/addons/cilium-helm.yaml | 21 +++++++++++++++++++++ templates/cluster-template.yaml | 23 ----------------------- 2 files changed, 21 insertions(+), 23 deletions(-) create mode 100644 templates/addons/cilium-helm.yaml diff --git a/templates/addons/cilium-helm.yaml b/templates/addons/cilium-helm.yaml new file mode 100644 index 000000000..575a9e031 --- /dev/null +++ b/templates/addons/cilium-helm.yaml @@ -0,0 +1,21 @@ +apiVersion: addons.cluster.x-k8s.io/v1alpha1 +kind: HelmChartProxy +metadata: + name: cilium +spec: + clusterSelector: + matchLabels: + cni: cilium + repoURL: https://helm.cilium.io/ + chartName: cilium + options: + waitForJobs: true + wait: true + timeout: 5m + valuesTemplate: | + hubble: + relay: + enabled: true + ui: + enabled: true +--- diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 3436f78f3..5ee45c807 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -26,29 +26,6 @@ metadata: spec: region: ${LINODE_REGION} --- -apiVersion: addons.cluster.x-k8s.io/v1alpha1 -kind: HelmChartProxy -metadata: - name: cilium -spec: - clusterSelector: - matchLabels: - cni: cilium - repoURL: https://helm.cilium.io/ - chartName: cilium - options: - waitForJobs: true - wait: true - timeout: 5m - valuesTemplate: | - operator: - replicas: 1 - hubble: - relay: - enabled: true - ui: - enabled: true ---- kind: KubeadmControlPlane apiVersion: controlplane.cluster.x-k8s.io/v1beta1 metadata: