parent
c7bc2736de
commit
73bb74ece2
3 changed files with 63 additions and 16 deletions
|
@ -31,3 +31,14 @@ helmCharts:
|
|||
valuesFile: config/values.argo-cd.yaml
|
||||
apiVersions:
|
||||
- monitoring.coreos.com/v1
|
||||
|
||||
patches:
|
||||
- target:
|
||||
group: ""
|
||||
version: v1
|
||||
kind: Service
|
||||
name: argo-cd-argocd-server
|
||||
patch: |
|
||||
- op: add
|
||||
path: /spec/ports/0/appProtocol
|
||||
value: kubernetes.io/h2c
|
||||
|
|
|
@ -5,17 +5,17 @@ metadata:
|
|||
name: argo-cd-http
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: http
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: http
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- argocd.icb4dc0.de
|
||||
- argocd.icb4dc0.de
|
||||
rules:
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
- filters:
|
||||
- type: RequestRedirect
|
||||
requestRedirect:
|
||||
scheme: https
|
||||
statusCode: 301
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
|
@ -23,12 +23,33 @@ metadata:
|
|||
name: argo-cd-https
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: contour
|
||||
sectionName: https
|
||||
namespace: projectcontour
|
||||
- name: contour
|
||||
sectionName: argocd
|
||||
namespace: projectcontour
|
||||
hostnames:
|
||||
- argocd.icb4dc0.de
|
||||
- argocd.icb4dc0.de
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: argo-cd-argocd-server
|
||||
port: 443
|
||||
- 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
|
||||
type: RegularExpression
|
||||
value: .*application/grpc.*
|
||||
backendRefs:
|
||||
- name: argo-cd-argocd-server
|
||||
port: 80
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue