diff --git a/helm/Chart.yaml b/helm/Chart.yaml new file mode 100644 index 0000000..dafb546 --- /dev/null +++ b/helm/Chart.yaml @@ -0,0 +1,11 @@ +apiVersion: v2 +name: metallb +description: A Helm chart for deploying MetalLB +type: application +version: 0.1.0 +appVersion: "0.14.5" + +dependencies: + - name: metallb + version: "0.14.5" + repository: "https://metallb.github.io/metallb" diff --git a/kustomize/metallb/kustomization.yaml b/kustomize/metallb/kustomization.yaml deleted file mode 100644 index 3caae97..0000000 --- a/kustomize/metallb/kustomization.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -helmCharts: -- name: metallb - repo: https://metallb.github.io/metallb - version: 0.14.5 # Use a specific version for reproducibility - releaseName: metallb - namespace: metallb-system - # You can add Helm values here if needed, e.g.: - # valuesInline: - # controller: - # logLevel: debug - -resources: -- metallb-config.yaml diff --git a/kustomize/metallb/metallb-config.yaml b/kustomize/metallb/metallb-config.yaml deleted file mode 100644 index 34d41d3..0000000 --- a/kustomize/metallb/metallb-config.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -apiVersion: metallb.io/v1beta1 -kind: IPAddressPool -metadata: - name: primary-pool - namespace: metallb-system -spec: - addresses: - - 192.168.178.200-192.168.178.250 ---- -apiVersion: metallb.io/v1beta1 -kind: L2Advertisement -metadata: - name: default - namespace: i-metallb -spec: - ipAddressPools: - - primary-pool