Argo/apps/templates/metallb.yaml

40 lines
772 B
YAML
Raw Normal View History

2022-12-07 11:09:40 +01:00
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: metallb
namespace: argo-cd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
server: https://kubernetes.default.svc
namespace: metallb-system
project: default
source:
chart: metallb
repoURL: https://metallb.github.io/metallb
targetRevision: 0.13.7
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
2022-12-07 12:38:20 +01:00
- CreateNamespace=true
---
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
2022-12-07 13:22:41 +01:00
- 10.0.2.40-10.0.2.50
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: first-pool-advertisement
namespace: metallb-system