33 lines
960 B
YAML
33 lines
960 B
YAML
# ingress-nginx, installed like MetalLB and Longhorn: an Application
|
|||
|
|
# pointing at apps/ingress-nginx, a Helm chart that pulls in the upstream
|
||
|
|
# ingress-nginx chart. Once this syncs, apps can request a hostname-routed
|
||
|
|
# address via an Ingress resource instead of each needing its own MetalLB
|
||
|
|
# LoadBalancer Service. See docs/11-ingress.md.
|
||
|
|
apiVersion: argoproj.io/v1alpha1
|
||
|
|
kind: Application
|
||
|
|
metadata:
|
||
|
|
name: ingress-nginx
|
||
|
|
namespace: argocd
|
||
|
|
# Safe to cascade: ingress-nginx holds no persistent data of its own,
|
||
|
|
# unlike apps/longhorn.yaml.
|
||
|
|
finalizers:
|
||
|
|
- resources-finalizer.argocd.argoproj.io
|
||
|
|
spec:
|
||
|
|
project: default
|
||
|
|
|
||
|
|
source:
|
||
|
|
repoURL: https://tea.ahmza.com/ahmza/k8s-starter-pack.git
|
||
|
|
targetRevision: main
|
||
|
|
path: apps/ingress-nginx
|
||
|
|
|
||
|
|
destination:
|
||
|
|
server: https://kubernetes.default.svc
|
||
|
|
namespace: ingress-nginx
|
||
|
|
|
||
|
|
syncPolicy:
|
||
|
|
automated:
|
||
|
|
prune: true
|
||
|
|
selfHeal: true
|
||
|
|
syncOptions:
|
||
|
|
- CreateNamespace=true
|