Skip to content

Commit 5a0c24a

Browse files
committed
fix(ext-proxy): remove hardcoded ports in ext-proxy helm chart
Signed-off-by: Ales Verbic <verbotenj@blinklabs.io>
1 parent 809561a commit 5a0c24a

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

charts/ext-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: ext-proxy
33
description: A Helm chart for managing different proxy configurations for https://github.com/demeter-run
4-
version: 0.0.6
4+
version: 0.0.7
55
appVersion: "0.0.1"
66

77
maintainers:

charts/ext-proxy/templates/proxy.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ spec:
4343
env: {{ toYaml .Values.proxy.env | nindent 8 }}
4444
resources: {{ toYaml .Values.proxy.resources | nindent 10 }}
4545
ports:
46-
- name: metrics
47-
containerPort: {{ .Values.proxy.ports.metrics }}
48-
protocol: TCP
49-
- name: proxy
50-
containerPort: {{ .Values.proxy.ports.proxy }}
46+
{{- range $name, $port := .Values.proxy.ports }}
47+
- name: {{ $name }}
48+
containerPort: {{ $port }}
5149
protocol: TCP
50+
{{- end }}
5251
volumeMounts:
5352
- name: certs
5453
mountPath: /certs

0 commit comments

Comments
 (0)