Skip to content

Commit b7b7e97

Browse files
fix(app-proxy): fix app-proxy prefix (#437)
1 parent a4ec280 commit b7b7e97

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

charts/cf-runtime/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
description: A Helm chart for Codefresh Runner
33
name: cf-runtime
4-
version: 6.3.34
4+
version: 6.3.35
55
keywords:
66
- codefresh
77
- runner
@@ -18,7 +18,7 @@ annotations:
1818
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
1919
artifacthub.io/changes: |
2020
- kind: fixed
21-
description: Fix reconcile-runtime sidecar container drift in runner deployment
21+
description: Fix app-proxy prefix path
2222
dependencies:
2323
- name: cf-common
2424
repository: oci://quay.io/codefresh/charts

charts/cf-runtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Codefresh Runner
22

3-
![Version: 6.3.34](https://img.shields.io/badge/Version-6.3.34-informational?style=flat-square)
3+
![Version: 6.3.35](https://img.shields.io/badge/Version-6.3.35-informational?style=flat-square)
44

55
Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/installation/codefresh-runner/) to Kubernetes.
66

@@ -1016,7 +1016,7 @@ Go to [https://<YOUR_ONPREM_DOMAIN_HERE>/admin/runtime-environments/system](http
10161016
| appProxy.ingress.annotations | object | `{}` | Set extra annotations for ingress object |
10171017
| appProxy.ingress.class | string | `""` | Set ingress class |
10181018
| appProxy.ingress.host | string | `""` | Set DNS hostname the ingress will use |
1019-
| appProxy.ingress.pathPrefix | string | `"/"` | Set path prefix for ingress |
1019+
| appProxy.ingress.pathPrefix | string | `""` | Set path prefix for ingress (keep empty for default `/` path) |
10201020
| appProxy.ingress.tlsSecret | string | `""` | Set k8s tls secret for the ingress object |
10211021
| appProxy.nodeSelector | object | `{}` | Set node selector |
10221022
| appProxy.podAnnotations | object | `{}` | Set pod annotations |

charts/cf-runtime/templates/_components/app-proxy/_ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
- host: {{ .Values.ingress.host }}
2323
http:
2424
paths:
25-
- path: {{ .Values.ingress.pathPrefix }}
25+
- path: {{ .Values.ingress.pathPrefix | default "/" }}
2626
pathType: ImplementationSpecific
2727
backend:
2828
service:

charts/cf-runtime/templates/runtime/runtime-env-spec-tmpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ accounts: {{- toYaml .Values.runtime.accounts | nindent 2 }}
197197
{{- if .Values.appProxy.enabled }}
198198
appProxy:
199199
externalIP: >-
200-
{{ printf "https://%s%s" .Values.appProxy.ingress.host .Values.appProxy.ingress.pathPrefix }}
200+
{{ printf "https://%s%s" .Values.appProxy.ingress.host (.Values.appProxy.ingress.pathPrefix | default "/") }}
201201
{{- end }}
202202
{{- if not .Values.runtime.agent }}
203203
systemHybrid: true

charts/cf-runtime/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,8 +667,8 @@ appProxy:
667667
# Set app-proxy ingress parameters
668668
# @default -- See below
669669
ingress:
670-
# -- Set path prefix for ingress
671-
pathPrefix: "/"
670+
# -- Set path prefix for ingress (keep empty for default `/` path)
671+
pathPrefix: ""
672672
# -- Set ingress class
673673
class: ""
674674
# -- Set DNS hostname the ingress will use
@@ -679,7 +679,7 @@ appProxy:
679679
annotations: {}
680680
# E.g.
681681
# ingress:
682-
# pathPrefix: "/app-proxy"
682+
# pathPrefix: "/cf-app-proxy"
683683
# class: "nginx"
684684
# host: "mydomain.com"
685685
# tlsSecret: "tls-cert-app-proxy"

0 commit comments

Comments
 (0)