add-ons: Install traefik API gateway

This commit is contained in:
2026-02-20 23:49:47 +05:30
parent 0f158d8f8f
commit c28c0cff49
4 changed files with 68 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
+45
View File
@@ -0,0 +1,45 @@
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: |
# Disable load balancer
service:
enabled: false
# Enable the gateway API
providers:
kubernetesGateway:
enabled: true
ports:
web:
hostPort: 80
websecure:
hostPort: 443
securityContext:
runAsNonRoot: false
runAsUser: 0
capabilities:
add:
- NET_BIND_SERVICE
destination:
server: https://kubernetes.default.svc
namespace: traefik
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true