automatically deploy traefik
This commit is contained in:
@@ -5,10 +5,14 @@ namespace: argocd
|
||||
|
||||
|
||||
resources:
|
||||
# infrastructure
|
||||
- projects.yaml
|
||||
- nfs/
|
||||
- backup/
|
||||
- argocd-imageupdate/
|
||||
- traefik/
|
||||
|
||||
# simple apps
|
||||
- whoami/
|
||||
- journal/
|
||||
- immich/
|
||||
|
19
kluster-deployments/traefik/application.yaml
Normal file
19
kluster-deployments/traefik/application.yaml
Normal 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
|
4
kluster-deployments/traefik/kustomization.yaml
Normal file
4
kluster-deployments/traefik/kustomization.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- application.yaml
|
Reference in New Issue
Block a user