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