From cd64116eecc15dd12eab35ead5aeb121ad2b0e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Mon, 3 Nov 2025 14:53:13 +0100 Subject: [PATCH] docs: Fix yaml indentation in Calico guide MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joakim NohlgÄrd Signed-off-by: Amarachi Iheanacho --- .../kubernetes-guides/cni/deploy-calico.mdx | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/public/kubernetes-guides/cni/deploy-calico.mdx b/public/kubernetes-guides/cni/deploy-calico.mdx index 8de34d9..6d7394c 100644 --- a/public/kubernetes-guides/cni/deploy-calico.mdx +++ b/public/kubernetes-guides/cni/deploy-calico.mdx @@ -55,9 +55,9 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin apiVersion: crd.projectcalico.org/v1 kind: FelixConfiguration metadata: - name: default + name: default spec: - cgroupV2Path: "/sys/fs/cgroup" + cgroupV2Path: "/sys/fs/cgroup" EOF ``` @@ -72,11 +72,11 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin kind: ConfigMap apiVersion: v1 metadata: - name: kubernetes-services-endpoint - namespace: tigera-operator + name: kubernetes-services-endpoint + namespace: tigera-operator data: - KUBERNETES_SERVICE_HOST: '' - KUBERNETES_SERVICE_PORT: '' + KUBERNETES_SERVICE_HOST: '' + KUBERNETES_SERVICE_PORT: '' ``` After editing the file, apply it using: @@ -99,22 +99,22 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin apiVersion: operator.tigera.io/v1 kind: Installation metadata: - name: default + name: default spec: - calicoNetwork: + calicoNetwork: bgp: Disabled linuxDataplane: BPF - cni: + cni: ipam: type: HostLocal type: Calico - kubeletVolumePluginPath: None + kubeletVolumePluginPath: None --- # Kubectl integration for Calico unique resources. apiVersion: operator.tigera.io/v1 kind: APIServer metadata: - name: default + name: default spec: {} EOF ``` @@ -130,22 +130,22 @@ Calico has a pluggable dataplane architecture that lets you choose the networkin apiVersion: operator.tigera.io/v1 kind: Installation metadata: - name: default + name: default spec: - calicoNetwork: + calicoNetwork: bgp: Disabled linuxDataplane: Nftables - cni: + cni: ipam: type: HostLocal type: Calico - kubeletVolumePluginPath: None + kubeletVolumePluginPath: None --- # Kubectl integration for Calico unique resources. apiVersion: operator.tigera.io/v1 kind: APIServer metadata: - name: default + name: default spec: {} EOF ``` @@ -192,4 +192,4 @@ This can be done with kubectl as follows: ```bash kubectl patch felixconfiguration default --patch='{"spec": {"bpfKubeProxyIptablesCleanupEnabled": false}}' -``` \ No newline at end of file +```