added infrastructure
This commit is contained in:
@@ -994,3 +994,27 @@ spec:
|
|||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ServerSideApply=true
|
- ServerSideApply=true
|
||||||
---
|
---
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: infrastructure
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: homelab
|
||||||
|
source:
|
||||||
|
repoURL: https://gitea.dooplex.hu/admin/homelab-manifests.git
|
||||||
|
targetRevision: main
|
||||||
|
path: infra
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: infra
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
---
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# MetalLB IP Address Pool for Public Services
|
||||||
|
# This creates a dedicated pool for the public-facing ingress controller
|
||||||
|
#
|
||||||
|
# IMPORTANT: Adjust the IP address based on your network!
|
||||||
|
# This assumes your existing pool is 192.168.0.200-192.168.0.220
|
||||||
|
# We're using 192.168.0.221 as a dedicated public IP
|
||||||
|
#
|
||||||
|
# Apply with: kubectl apply -f metallb-public-pool.yaml
|
||||||
|
---
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: IPAddressPool
|
||||||
|
metadata:
|
||||||
|
name: public-pool
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
addresses:
|
||||||
|
# Single IP dedicated to public ingress
|
||||||
|
# Adjust this to an available IP in your network!
|
||||||
|
- 192.168.0.221/32
|
||||||
|
# Prevent auto-assignment - only explicit requests get this IP
|
||||||
|
autoAssign: false
|
||||||
|
---
|
||||||
|
apiVersion: metallb.io/v1beta1
|
||||||
|
kind: L2Advertisement
|
||||||
|
metadata:
|
||||||
|
name: public-l2-advertisement
|
||||||
|
namespace: metallb-system
|
||||||
|
spec:
|
||||||
|
ipAddressPools:
|
||||||
|
- public-pool
|
||||||
Reference in New Issue
Block a user