feat(argo): add individual listener

This commit is contained in:
Peter 2025-03-26 08:03:25 +01:00
parent c7bc2736de
commit b8790e0051
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 51 additions and 16 deletions
argocd/resources
contour/resources

View file

@ -24,7 +24,7 @@ metadata:
spec:
parentRefs:
- name: contour
sectionName: https
sectionName: argocd
namespace: projectcontour
hostnames:
- argocd.icb4dc0.de
@ -32,3 +32,23 @@ spec:
- backendRefs:
- name: argo-cd-argocd-server
port: 443
---
apiVersion: gateway.networking.k8s.io/v1
kind: GRPCRoute
metadata:
name: argo-cd-grpc
spec:
parentRefs:
- name: contour
sectionName: argocd
namespace: projectcontour
hostnames:
- argocd.icb4dc0.de
rules:
- matches:
- headers:
- name: Content-Type
value: application/grpc
backendRefs:
- name: argo-cd-argocd-server
port: 443

View file

@ -52,6 +52,21 @@ spec:
certificateRefs:
- name: forgejo-tls
- name: argocd
hostname: "argocd.icb4dc0.de"
port: 443
protocol: HTTPS
allowedRoutes:
namespaces:
from: Selector
selector:
matchLabels:
kubernetes.io/metadata.name: argo-system
tls:
mode: Terminate
certificateRefs:
- name: argocd-tls
- name: ssh
protocol: TCP
port: 22