Skip to content

Commit

Permalink
[bitcoin-core] fix service target ports
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed May 9, 2024
1 parent 0822485 commit 23cd896
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion hirosystems/bitcoin-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 4 additions & 4 deletions hirosystems/bitcoin-core/templates/service-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }}
Expand All @@ -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)) }}
Expand Down
8 changes: 4 additions & 4 deletions hirosystems/bitcoin-core/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }}
Expand All @@ -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)) }}
Expand Down

0 comments on commit 23cd896

Please sign in to comment.