automatically deploy traefik

This commit is contained in:
2023-12-06 19:46:20 +01:00
parent 8d381d8b93
commit ab3dba75c5
12 changed files with 67 additions and 72 deletions

View File

@@ -5,10 +5,14 @@ namespace: argocd
resources:
# infrastructure
- projects.yaml
- nfs/
- backup/
- argocd-imageupdate/
- traefik/
# simple apps
- whoami/
- journal/
- immich/

View File

@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: traefik-application
namespace: argocd
spec:
project: infrastructure
source:
repoURL: https://github.com/moll-re/k3s-infra.git
targetRevision: main
path: infrastructure/traefik-system
destination:
server: https://kubernetes.default.svc
namespace: traefik-system
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml