diff --git a/applications/add-ons/traefik.yaml b/applications/add-ons/traefik.yaml new file mode 100644 index 0000000..414fd43 --- /dev/null +++ b/applications/add-ons/traefik.yaml @@ -0,0 +1,40 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: traefik + namespace: argocd +spec: + project: default + source: + repoURL: https://traefik.github.io/charts + chart: traefik + targetRevision: v39.0.2 + helm: + values: | + providers: + kubernetesGateway: + enabled: true + kubernetesIngress: + enabled: false + service: + type: ClusterIP + gateway: + listeners: + web: + namespacePolicy: + from: All + ports: + web: + hostPort: 80 + websecure: + hostPort: 443 + destination: + server: https://kubernetes.default.svc + namespace: traefik + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true diff --git a/applications/kustomization.yaml b/applications/kustomization.yaml index c36caad..d6acc5e 100644 --- a/applications/kustomization.yaml +++ b/applications/kustomization.yaml @@ -2,4 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - services + # add-ons + - add-ons/traefik.yaml + # services + - services/app-autoregexbot.yaml diff --git a/applications/services/kustomization.yaml b/applications/services/kustomization.yaml deleted file mode 100644 index 48a9922..0000000 --- a/applications/services/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - app-autoregexbot.yaml