From 48136fdc142bd9cc23ea7f261a5660141e254537 Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 6 Jan 2023 09:45:09 +0100 Subject: [PATCH] Remove metallb namespace file This is already included in the manifest --- .../provs/server/infrastructure/K3s.kt | 1 - .../provs/server/infrastructure/k3s/metallb-namespace.yaml | 6 ------ 2 files changed, 7 deletions(-) delete mode 100644 src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/metallb-namespace.yaml diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt index b973265..e1f0d96 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/server/infrastructure/K3s.kt @@ -90,7 +90,6 @@ fun Prov.installK3s(k3sConfig: K3sConfig): ProvResult { cmd("INSTALL_K3S_VERSION=$K3S_VERSION k3s-install.sh") // metallb - applyK3sFileFromResource(File(k3sManualManifestsDir, "metallb-namespace.yaml")) applyK3sFileFromResource(File(k3sManualManifestsDir, "metallb-0.13.7-native-manifest.yaml")) applyK3sFileFromResourceTemplate( File(k3sManualManifestsDir, "metallb-config.yaml"), diff --git a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/metallb-namespace.yaml b/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/metallb-namespace.yaml deleted file mode 100644 index 003269b..0000000 --- a/src/main/resources/org/domaindrivenarchitecture/provs/server/infrastructure/k3s/metallb-namespace.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: metallb-system - labels: - app: metallb