From 23cd8968da184ab34f1eadd3b0e2ede2930ca2dc Mon Sep 17 00:00:00 2001 From: CharlieC3 <2747302+CharlieC3@users.noreply.github.com> Date: Thu, 9 May 2024 10:37:12 -0400 Subject: [PATCH] [bitcoin-core] fix service target ports --- hirosystems/bitcoin-core/Chart.yaml | 2 +- hirosystems/bitcoin-core/templates/service-set.yaml | 8 ++++---- hirosystems/bitcoin-core/templates/service.yaml | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hirosystems/bitcoin-core/Chart.yaml b/hirosystems/bitcoin-core/Chart.yaml index 2187c59..a806094 100644 --- a/hirosystems/bitcoin-core/Chart.yaml +++ b/hirosystems/bitcoin-core/Chart.yaml @@ -25,4 +25,4 @@ sources: - https://github.com/bitcoin/bitcoin - https://github.com/ruimarinho/docker-bitcoin-core - https://bitcoin.org -version: 2.1.0 +version: 2.1.1 diff --git a/hirosystems/bitcoin-core/templates/service-set.yaml b/hirosystems/bitcoin-core/templates/service-set.yaml index 181b68e..e490bf3 100644 --- a/hirosystems/bitcoin-core/templates/service-set.yaml +++ b/hirosystems/bitcoin-core/templates/service-set.yaml @@ -47,8 +47,8 @@ spec: ports: - name: tcp-rpc port: {{ $.Values.service.ports.rpc }} - {{- if $.Values.service.rpcTargetPort }} - targetPort: {{ $.Values.service.rpcTargetPort }} + {{- if $.Values.service.ports.rpcTargetPort }} + targetPort: {{ $.Values.service.ports.rpcTargetPort }} {{- end }} protocol: TCP {{- if and (or (eq $.Values.service.type "NodePort") (eq $.Values.service.type "LoadBalancer")) (not (empty $.Values.service.nodePorts.rpc)) }} @@ -58,8 +58,8 @@ spec: {{- end }} - name: tcp-p2p port: {{ $.Values.service.ports.p2p }} - {{- if $.Values.service.p2pTargetPort }} - targetPort: {{ $.Values.service.p2pTargetPort }} + {{- if $.Values.service.ports.p2pTargetPort }} + targetPort: {{ $.Values.service.ports.p2pTargetPort }} {{- end }} protocol: TCP {{- if and (or (eq $.Values.service.type "NodePort") (eq $.Values.service.type "LoadBalancer")) (not (empty $.Values.service.nodePorts.p2p)) }} diff --git a/hirosystems/bitcoin-core/templates/service.yaml b/hirosystems/bitcoin-core/templates/service.yaml index 7a14006..58463db 100644 --- a/hirosystems/bitcoin-core/templates/service.yaml +++ b/hirosystems/bitcoin-core/templates/service.yaml @@ -41,8 +41,8 @@ spec: ports: - name: tcp-rpc port: {{ .Values.service.ports.rpc }} - {{- if .Values.service.rpcTargetPort }} - targetPort: {{ .Values.service.rpcTargetPort }} + {{- if .Values.service.ports.rpcTargetPort }} + targetPort: {{ .Values.service.ports.rpcTargetPort }} {{- end }} protocol: TCP {{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.rpc)) }} @@ -52,8 +52,8 @@ spec: {{- end }} - name: tcp-p2p port: {{ .Values.service.ports.p2p }} - {{- if .Values.service.p2pTargetPort }} - targetPort: {{ .Values.service.p2pTargetPort }} + {{- if .Values.service.ports.p2pTargetPort }} + targetPort: {{ .Values.service.ports.p2pTargetPort }} {{- end }} protocol: TCP {{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.p2p)) }}