Skip to content

Commit 94d270c

Browse files
Fix - Workflows native UI via internal router (#153)
* native ui routing - rewrite target * native ui routing - rewrite target * native ui routing - rewrite target
1 parent 42a29ce commit 94d270c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/gitops-runtime/Chart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ annotations:
3636
description: Update argo-cd chart to 5.51.6-8-cap-2.9-2024.1.24-ccd7124b3. Includes: window rate limiter for the event reporter; support of apps in non-contoller namespaces for non-GRPC reporting mode; critical vuln fixes for argocd;
3737
- kind: changed
3838
description: Update argo-rollouts chart to 2.32.5-3-analysis-fix
39+
- kind: fixed
40+
description: fix routing to workflows native UI
3941
dependencies:
4042
- name: argo-cd
4143
repository: https://codefresh-io.github.io/argo-helm

charts/gitops-runtime/templates/_components/internal-router/_configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ data:
1010
listen [::]:8080 default_server;
1111
access_log /dev/stdout main;
1212
error_log /dev/stdout;
13+
port_in_redirect off;
1314
1415
{{- if .Values.resolver }}
1516
resolver {{ .Values.resolver }} valid=10s;
@@ -33,6 +34,7 @@ data:
3334
proxy_set_header Connection '';
3435
proxy_http_version 1.1;
3536
chunked_transfer_encoding off;
37+
rewrite /workflows(/|$)(.*) /$2 break;
3638
3739
proxy_pass {{ .Values.routing.workflows.internalUrl }};
3840
}

0 commit comments

Comments
 (0)