diff --git a/infrastructures/metallb-conf/env/k3s-cluster/cluster-ip.yaml b/infrastructures/metallb-conf/env/k3s-cluster/cluster-ip.yaml new file mode 100644 index 0000000..578726c --- /dev/null +++ b/infrastructures/metallb-conf/env/k3s-cluster/cluster-ip.yaml @@ -0,0 +1,12 @@ +apiVersion: metallb.io/v1beta1 +kind: IPAddressPool +metadata: + name: k3s-cluster-ips + namespace: metallb-system +spec: + addresses: + - 192.168.10.100/32 + - 192.168.10.101/32 + - 192.168.10.102/32 + - 192.168.10.103/32 + - 192.168.10.120/32 \ No newline at end of file diff --git a/infrastructures/metallb-conf/env/k3s-cluster/config.json b/infrastructures/metallb-conf/env/k3s-cluster/config.json new file mode 100644 index 0000000..df65c2a --- /dev/null +++ b/infrastructures/metallb-conf/env/k3s-cluster/config.json @@ -0,0 +1,12 @@ +{ + "appName": "metallb-conf", + "userGivenName": "metallb-conf", + "namespace": "metallb", + "destNamespace": "metallb", + "destServer": "https://kubernetes.default.svc", + "srcPath": "infrastructures/metallb-conf/env/k3s-cluster", + "srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git", + "srcTargetRevision": "", + "labels": null, + "annotations": null +} \ No newline at end of file diff --git a/infrastructures/metallb-conf/env/k3s-cluster/kustomization.yaml b/infrastructures/metallb-conf/env/k3s-cluster/kustomization.yaml new file mode 100644 index 0000000..86354d2 --- /dev/null +++ b/infrastructures/metallb-conf/env/k3s-cluster/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./cluster-ip.yaml \ No newline at end of file