From 441ebb4080c9e1d0b24f4fd9fdf827f4b7b172d8 Mon Sep 17 00:00:00 2001 From: Linus Vogel Date: Sat, 27 Jun 2026 17:17:40 +0200 Subject: [PATCH] argocd virtual server --- helm/argocd/templates/gateway.yaml | 14 -------------- helm/argocd/templates/virtualservice.yaml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 14 deletions(-) delete mode 100644 helm/argocd/templates/gateway.yaml create mode 100644 helm/argocd/templates/virtualservice.yaml diff --git a/helm/argocd/templates/gateway.yaml b/helm/argocd/templates/gateway.yaml deleted file mode 100644 index 910163f..0000000 --- a/helm/argocd/templates/gateway.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: networking.istio.io/v1 -kind: Gateway -metadata: - name: my-ingress -spec: - selector: - app: my-ingressgateway - servers: - - port: - number: 80 - name: http2 - protocol: HTTP2 - hosts: - - "*" diff --git a/helm/argocd/templates/virtualservice.yaml b/helm/argocd/templates/virtualservice.yaml new file mode 100644 index 0000000..97cb4d1 --- /dev/null +++ b/helm/argocd/templates/virtualservice.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.istio.io/v1 +kind: VirtualService +metadata: + name: argocd + namespace: argocd +spec: + hosts: + - "argocd.apps.linvogel.internal" + gateways: + - istio-system/apps-gateway + http: + - match: + - host: "argocd.apps.linvogel.internal" + route: + - destination: + host: argocd-server.argocd.svc.cluster.local + port: + number: 8080 \ No newline at end of file