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: