Add metallb
This commit is contained in:
parent
0160914ad8
commit
e52b110d2e
18
argocd-apps/metallb-base.yaml
Normal file
18
argocd-apps/metallb-base.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: metallb-base
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: infra
|
||||||
|
source:
|
||||||
|
repoURL: https://github.com/metallb/metallb.git
|
||||||
|
targetRevision: v0.13.10
|
||||||
|
path: config/manifests
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: metallb-system
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
@ -1,17 +1,19 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: metallb
|
name: metallb-config
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.dvirlabs.com/dvirlabs/infra.git
|
repoURL: https://git.dvirlabs.com/dvirlabs/infra.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: manifests/metallb
|
path: manifests/metallb/config
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: metallb-system
|
namespace: metallb-system
|
||||||
|
dependsOn:
|
||||||
|
- metallb-base
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
@ -1,5 +0,0 @@
|
|||||||
# התקנת CRDs והרכיבים הרשמיים
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- https://raw.githubusercontent.com/metallb/metallb/v0.13.10/config/manifests/metallb-native.yaml
|
|
||||||
@ -6,10 +6,3 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
addresses:
|
addresses:
|
||||||
- 192.168.10.240-192.168.10.250
|
- 192.168.10.240-192.168.10.250
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: metallb.io/v1beta1
|
|
||||||
kind: L2Advertisement
|
|
||||||
metadata:
|
|
||||||
name: l2
|
|
||||||
namespace: metallb-system
|
|
||||||
5
manifests/metallb/config/l2advertisement.yaml
Normal file
5
manifests/metallb/config/l2advertisement.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: l2
|
||||||
|
namespace: metallb-system
|
||||||
@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: metallb-system
|
|
||||||
Loading…
x
Reference in New Issue
Block a user