Skip to content

Commit e3b842b

Browse files
authored
Merge pull request #158 from jacekn/ports
core: improve port and runStandalone support
2 parents 78f1381 + 2cb7696 commit e3b842b

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

charts/core/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: core
33
description: This chart will deploy Stellar Core node
4-
version: 0.6.0
5-
appVersion: "25.2.0-3058.bb195c49d.jammy"
4+
version: 0.6.1
5+
appVersion: "26.0.1-3109.e78c97ed0.jammy"
66
maintainers:
77
- name: Stellar Development Foundation
88
sources:

charts/core/templates/core-cm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ data:
116116
AUTOMATIC_MAINTENANCE_COUNT={{ .Values.core.config.automaticMaintenanceCount }}
117117
{{ end -}}
118118
{{ if (.Values.core.config).runStandalone -}}
119-
RUN_STANDALONE={{ .Values.core.config.runStandalone | quote }}
119+
RUN_STANDALONE={{ .Values.core.config.runStandalone }}
120120
{{ end -}}
121121
{{ if (.Values.core.config).invariantChecks -}}
122122
INVARIANT_CHECKS=["{{- join "\",\"" .Values.core.config.invariantChecks }}"]

charts/core/templates/core-sts.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ spec:
7474
{{- end }}
7575
imagePullPolicy: {{ .Values.global.image.core.pullPolicy }}
7676
ports:
77-
- containerPort: 11626
77+
- containerPort: {{ int (.Values.core.config).httpPort | default 11626 }}
7878
name: core
79+
- containerPort: {{ int (.Values.core.config).peerPort | default 11625 }}
80+
name: core-peer
7981
{{- if (.Values.core).resources }}
8082
resources:
8183
{{ toYaml .Values.core.resources | indent 10 }}
@@ -161,8 +163,11 @@ spec:
161163
publishNotReadyAddresses: true
162164
ports:
163165
- name: core
164-
port: 11626
165-
targetPort: 11626
166+
port: {{ int (.Values.core.config).httpPort | default 11626 }}
167+
targetPort: {{ int (.Values.core.config).httpPort | default 11626 }}
168+
- name: core-peer
169+
port: {{ int (.Values.core.config).peerPort | default 11625 }}
170+
targetPort: {{ int (.Values.core.config).peerPort | default 11625 }}
166171
{{- if (.Values.core.historyProxy).enabled }}
167172
- name: http
168173
port: 80

0 commit comments

Comments
 (0)