apps/argocd/resources/http_routes.yaml

34 lines
630 B
YAML
Raw Normal View History

2024-04-26 07:19:52 +00:00
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: argo-cd-http
spec:
parentRefs:
- name: contour
sectionName: http
namespace: projectcontour
hostnames:
- argocd.icb4dc0.de
rules:
- filters:
- type: RequestRedirect
requestRedirect:
scheme: https
statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: argo-cd-https
spec:
parentRefs:
- name: contour
sectionName: https
namespace: projectcontour
hostnames:
- argocd.icb4dc0.de
rules:
- backendRefs:
- name: argo-cd-argocd-server
port: 443