Skip to content

Commit 4b4bf21

Browse files
committed
Variabilize the hostport
1 parent 4c3991d commit 4b4bf21

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

deploy/helm/door-data-plane/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: v2.4.19
18+
version: v2.4.20
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v2.4.19"
24+
appVersion: "v2.4.20"
2525

2626
dependencies:
2727
- name: metrics-server

deploy/helm/door-data-plane/templates/gateway/contour.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,11 +881,11 @@ spec:
881881
fieldPath: metadata.name
882882
ports:
883883
- containerPort: 8080
884-
hostPort: 80
884+
hostPort: {{ .Values.doorApiGateway.external.unsecureHostPort | default 8080 }}
885885
name: http
886886
protocol: TCP
887887
- containerPort: 8443
888-
hostPort: 443
888+
hostPort: {{ .Values.doorApiGateway.external.secureHostPort | default 8443 }}
889889
name: https
890890
protocol: TCP
891891
livenessProbe:

deploy/helm/door-data-plane/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ doorApiGateway:
138138
type: loadBalancer
139139
nodeSelector: node-role.kubernetes.io/ingress-door
140140
tolerationsKey: ingress-door
141+
unsecureHostPort: 8080
142+
secureHostPort: 8443
141143
# annotations:
142144
# service.beta.kubernetes.io/load-balancer-type: "Internal"
143145
# service.beta.kubernetes.io/external-traffic-policy: "Local"

docs/index.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,22 @@ entries:
102102
- https://beopencloud.github.io/cno/cno-1.0.0.tgz
103103
version: 1.0.0
104104
door-agent:
105+
- apiVersion: v2
106+
appVersion: v2.4.20
107+
created: "2025-04-22T11:07:25.331514Z"
108+
dependencies:
109+
- alias: metrics-server
110+
condition: doorAgent.metricServer
111+
name: metrics-server
112+
repository: https://kubernetes-sigs.github.io/metrics-server
113+
version: 3.8.2
114+
description: Chart for DOOR agent
115+
digest: 39de3190f07b68f9ea960b266ea5e176fac2ca24cb8ea38cedc67f465c884d74
116+
name: door-agent
117+
type: application
118+
urls:
119+
- https://beopencloud.github.io/cno/door-agent-v2.4.20.tgz
120+
version: v2.4.20
105121
- apiVersion: v2
106122
appVersion: v2.4.19
107123
created: "2025-04-17T17:29:14.757232Z"

0 commit comments

Comments
 (0)