Skip to content

Commit c93451f

Browse files
committed
feat: add metallb-config
1 parent e96cf24 commit c93451f

File tree

6 files changed

+47
-0
lines changed

6 files changed

+47
-0
lines changed

charts/metallb-config/.helmignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

charts/metallb-config/Chart.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v2
2+
name: metallb-config
3+
description: A chart to deploy metallb-config
4+
type: application
5+
version: 0.0.1
6+
appVersion: "0.0.1"

charts/metallb-config/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# README
2+
This is a Helm chart to deploy the MetalLB configuration.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
apiVersion: metallb.io/v1beta1
3+
kind: IPAddressPool
4+
metadata:
5+
name: metallb-ip-pool
6+
namespace: {{ .Release.Namespace }}
7+
spec:
8+
addresses:
9+
- {{ .Values.ipPoolRange }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
apiVersion: metallb.io/v1beta1
3+
kind: L2Advertisement
4+
metadata:
5+
name: metallb-l2-advertisement
6+
namespace: {{ .Release.Namespace }}

charts/metallb-config/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ipPoolRange: 10.0.0.10-10.0.0.20

0 commit comments

Comments
 (0)