From 9205e44f4c5540edc51507ff32c345d45301868f Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 12 May 2024 10:31:21 -0400 Subject: [PATCH] feat: delete unused calico resources --- cluster/core/networking/calico/calico-helm.yaml | 15 --------------- cluster/core/networking/calico/helm-repo.yaml | 8 -------- cluster/core/networking/calico/kustomization.yaml | 7 ------- cluster/core/networking/calico/namespace.yaml | 9 --------- cluster/core/networking/calico/tigera-helm.yaml | 15 --------------- cluster/core/networking/kustomization.yaml | 4 +--- 6 files changed, 1 insertion(+), 57 deletions(-) delete mode 100644 cluster/core/networking/calico/calico-helm.yaml delete mode 100644 cluster/core/networking/calico/helm-repo.yaml delete mode 100644 cluster/core/networking/calico/kustomization.yaml delete mode 100644 cluster/core/networking/calico/namespace.yaml delete mode 100644 cluster/core/networking/calico/tigera-helm.yaml diff --git a/cluster/core/networking/calico/calico-helm.yaml b/cluster/core/networking/calico/calico-helm.yaml deleted file mode 100644 index 3d6f74c..0000000 --- a/cluster/core/networking/calico/calico-helm.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: calico - namespace: calico-system -spec: - interval: 5m - chart: - spec: - chart: calico - version: 3.25.x - sourceRef: - kind: HelmRepository - name: calico-charts - namespace: flux-system diff --git a/cluster/core/networking/calico/helm-repo.yaml b/cluster/core/networking/calico/helm-repo.yaml deleted file mode 100644 index 773492d..0000000 --- a/cluster/core/networking/calico/helm-repo.yaml +++ /dev/null @@ -1,8 +0,0 @@ -apiVersion: source.toolkit.fluxcd.io/v1beta2 -kind: HelmRepository -metadata: - name: calico-charts - namespace: flux-system -spec: - interval: 1m - url: https://docs.tigera.io/calico/charts \ No newline at end of file diff --git a/cluster/core/networking/calico/kustomization.yaml b/cluster/core/networking/calico/kustomization.yaml deleted file mode 100644 index c53868a..0000000 --- a/cluster/core/networking/calico/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- ./namespace.yaml -- ./helm-repo.yaml -- ./calico-helm.yaml -- ./tigera-helm.yaml \ No newline at end of file diff --git a/cluster/core/networking/calico/namespace.yaml b/cluster/core/networking/calico/namespace.yaml deleted file mode 100644 index 9b34994..0000000 --- a/cluster/core/networking/calico/namespace.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: calico-system ---- -apiVersion: v1 -kind: Namespace -metadata: - name: tigera-operator \ No newline at end of file diff --git a/cluster/core/networking/calico/tigera-helm.yaml b/cluster/core/networking/calico/tigera-helm.yaml deleted file mode 100644 index 0c6f452..0000000 --- a/cluster/core/networking/calico/tigera-helm.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: tigera-operator - namespace: tigera-operator -spec: - interval: 5m - chart: - spec: - chart: tigera-operator - version: 3.27.x - sourceRef: - kind: HelmRepository - name: calico-charts - namespace: flux-system diff --git a/cluster/core/networking/kustomization.yaml b/cluster/core/networking/kustomization.yaml index 8ee541a..37a9b9a 100644 --- a/cluster/core/networking/kustomization.yaml +++ b/cluster/core/networking/kustomization.yaml @@ -2,6 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./traefik -#- ./calico -- ./metallb -#- ./vpn-gateway \ No newline at end of file +- ./metallb \ No newline at end of file