add-ons: Install traefik API gateway
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,54 @@
|
||||
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
|
||||
|
||||
additionalArguments:
|
||||
- --entrypoints.web.address=:80
|
||||
- --entrypoints.websecure.address=:443
|
||||
|
||||
ports:
|
||||
web:
|
||||
port: 80
|
||||
expose:
|
||||
default: true
|
||||
exposedPort: 80
|
||||
websecure:
|
||||
port: 443
|
||||
expose:
|
||||
default: true
|
||||
exposedPort: 443
|
||||
traefik:
|
||||
port: 8000
|
||||
expose:
|
||||
default: false
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: traefik
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -2,4 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- services
|
||||
# add-ons
|
||||
- add-ons/gateway-api.yaml
|
||||
- add-ons/traefik.yaml
|
||||
# services
|
||||
- services/app-autoregexbot.yaml
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- app-autoregexbot.yaml
|
||||
Reference in New Issue
Block a user