Skip to content

Commit

Permalink
[bitcoin-core] revert 8845dc1
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 committed Jul 19, 2024
1 parent 1738427 commit 0788e8a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions hirosystems/bitcoin-core/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 2.19.2
digest: sha256:36ee26c48abc4337e3fbba948307c1f39201ba45f654b6eeeee5d96c664bf049
generated: "2024-05-08T14:20:55.000426-04:00"
version: 2.20.5
digest: sha256:d887f4d52c98e9524f9eb8be04f987acc240288a9c1cf2653cc1b7c221230ee7
generated: "2024-07-19T16:02:01.053627-04:00"
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.1
version: 2.1.2
4 changes: 2 additions & 2 deletions hirosystems/bitcoin-core/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" .) }}
pathType: {{ .Values.ingress.pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "tcp-rpc" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" .) "servicePort" "http-rpc" "context" $) | nindent 14 }}
{{- end }}
{{- range .Values.ingress.extraHosts }}
- host: {{ .name | quote }}
Expand All @@ -44,7 +44,7 @@ spec:
{{- if eq "true" (include "common.ingress.supportsPathType" $) }}
pathType: {{ default "ImplementationSpecific" .pathType }}
{{- end }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "tcp-rpc" "context" $) | nindent 14 }}
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http-rpc" "context" $) | nindent 14 }}
{{- end }}
{{- if .Values.ingress.extraRules }}
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.extraRules "context" $) | nindent 4 }}
Expand Down
2 changes: 1 addition & 1 deletion hirosystems/bitcoin-core/templates/service-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
loadBalancerIP: {{ $.Values.service.loadBalancerIP }}
{{- end }}
ports:
- name: tcp-rpc
- name: http-rpc
port: {{ $.Values.service.ports.rpc }}
{{- if $.Values.service.ports.rpcTargetPort }}
targetPort: {{ $.Values.service.ports.rpcTargetPort }}
Expand Down
2 changes: 1 addition & 1 deletion hirosystems/bitcoin-core/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
ports:
- name: tcp-rpc
- name: http-rpc
port: {{ .Values.service.ports.rpc }}
{{- if .Values.service.ports.rpcTargetPort }}
targetPort: {{ .Values.service.ports.rpcTargetPort }}
Expand Down
8 changes: 4 additions & 4 deletions hirosystems/bitcoin-core/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ spec:
resources: {{- toYaml .Values.resources | nindent 12 }}
{{- end }}
ports:
- name: tcp-rpc
- name: http-rpc
containerPort: {{ .Values.containerPorts.rpc }}
- name: tcp-p2p
containerPort: {{ .Values.containerPorts.p2p }}
Expand All @@ -179,23 +179,23 @@ spec:
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /v2/info
port: tcp-rpc
port: http-rpc
{{- else if .Values.customLivenessProbe }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.readinessProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /v2/info
port: tcp-rpc
port: http-rpc
{{- else if .Values.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
{{- end }}
{{- if .Values.startupProbe.enabled }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.startupProbe "enabled") "context" $) | nindent 12 }}
httpGet:
path: /v2/info
port: tcp-rpc
port: http-rpc
{{- else if .Values.customStartupProbe }}
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 0788e8a

Please sign in to comment.