add-ons: Install traefik API gateway

This commit is contained in:
2026-02-15 10:47:25 +05:30
parent 0f158d8f8f
commit dfc8e28ba4
4 changed files with 67 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gateway-api
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/kubernetes-sigs/gateway-api
targetRevision: v1.4.1
path: config/crd/standard
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
+44
View File
@@ -0,0 +1,44 @@
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.1
helm:
values: |
providers:
kubernetesGateway:
enabled: true
deployment:
replicas: 1
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
service:
enabled: false
ports:
web:
port: 80
expose: true
exposedPort: 80
websecure:
port: 443
expose: true
exposedPort: 443
destination:
server: https://kubernetes.default.svc
namespace: traefik
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
+5 -1
View File
@@ -2,4 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- services # add-ons
- add-ons/gateway-api.yaml
- add-ons/traefik.yaml
# services
- services/app-autoregexbot.yaml
-5
View File
@@ -1,5 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app-autoregexbot.yaml