From 4b65d8a7eb908b373fae6208e6996ddbc16df47c Mon Sep 17 00:00:00 2001 From: Dmitri Fedotov Date: Wed, 4 Sep 2024 17:45:52 +0300 Subject: [PATCH] Set hostNetwork for `default` CCM deployment --- config/capi/deployment_patch.yaml | 6 ------ config/capi/kustomization.yaml | 5 ----- config/manager/manager.yaml | 1 + 3 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 config/capi/deployment_patch.yaml delete mode 100644 config/capi/kustomization.yaml diff --git a/config/capi/deployment_patch.yaml b/config/capi/deployment_patch.yaml deleted file mode 100644 index a811288..0000000 --- a/config/capi/deployment_patch.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: manager -spec: - hostNetwork: true diff --git a/config/capi/kustomization.yaml b/config/capi/kustomization.yaml deleted file mode 100644 index 8c99569..0000000 --- a/config/capi/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -resources: -- ../default - -patches: -- path: deployment_patch.yaml diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index db9deac..8635b13 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -60,6 +60,7 @@ spec: schedulerName: default-scheduler terminationGracePeriodSeconds: 30 serviceAccountName: manager + hostNetwork: true tolerations: - key: node.cloudprovider.kubernetes.io/uninitialized value: "true"