Skip to content

Commit 210691f

Browse files
authored
feat(charts): make cors-proxy target-url configurable (#1591)
1 parent 6e0e302 commit 210691f

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

charts/cors-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 0.4.0
21+
version: 0.4.1
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to

charts/cors-proxy/ci/test-values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
global:
55
dnsDomain: example.com
6+
apiServerFQDN: "kubernetes.default.svc"

charts/cors-proxy/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spec:
5050
imagePullPolicy: {{ .Values.image.pullPolicy }}
5151
command:
5252
- /cors-proxy
53-
- --target-url=https://$(KUBERNETES_SERVICE_HOST):$(KUBERNETES_SERVICE_PORT)
53+
- --target-url={{ default "https://$(KUBERNETES_SERVICE_HOST):$(KUBERNETES_SERVICE_PORT)" .Values.apiServerFQDN | quote }}
5454
- --target-ca=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt
5555
ports:
5656
- name: http

charts/greenhouse/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
version: 0.5.0
55
- name: cors-proxy
66
repository: file://../cors-proxy
7-
version: 0.4.0
7+
version: 0.4.1
88
- name: manager
99
repository: file://../manager
1010
version: 0.7.0
@@ -17,5 +17,5 @@ dependencies:
1717
- name: postgresql-ng
1818
repository: oci://ghcr.io/sapcc/helm-charts
1919
version: 1.3.0
20-
digest: sha256:94bc24e3ef11324038d4acbe78b151f689d9f3ac9d6784c697d205d0802e64b5
21-
generated: "2025-10-30T10:56:00.904798+01:00"
20+
digest: sha256:fd0b11bdc51e6887a88c2242b25501b3e468cff3535b22c3e13f08b519ab9757
21+
generated: "2025-11-03T17:16:33.366534+01:00"

charts/greenhouse/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: greenhouse
66
description: A Helm chart for deploying greenhouse
77
type: application
8-
version: 0.13.0
8+
version: 0.13.1
99
appVersion: "0.7.0"
1010

1111
dependencies:
@@ -16,7 +16,7 @@ dependencies:
1616
- condition: cors-proxy.enabled
1717
name: cors-proxy
1818
repository: "file://../cors-proxy"
19-
version: 0.4.0
19+
version: 0.4.1
2020
- name: manager
2121
version: 0.7.0
2222
repository: "file://../manager"

0 commit comments

Comments
 (0)