Skip to content

Commit 16436f7

Browse files
authored
feat(tx-submit-api): enhance tx-submit-api service with loadBalancerSourceRanges (#236)
Signed-off-by: Ales Verbic <[email protected]>
1 parent 4c00bf3 commit 16436f7

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

charts/tx-submit-api/Chart.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
apiVersion: v2
22
name: tx-submit-api
33
description: Creates a Cardano Tx Submit API deployment
4-
version: 0.1.17
4+
version: 0.1.18
55
appVersion: 0.20.9
66
maintainers:
77
- name: aurora
88
9+
- name: overcookedpanda
10+
911
- name: verbotenj
1012
1113
- name: wolf31o2

charts/tx-submit-api/templates/service.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ apiVersion: v1
44
kind: Service
55
metadata:
66
labels: {{ include "tx-submit-api.selectorLabels" . | nindent 4 }}
7+
{{- if .Values.service.labels }}{{ .Values.service.labels | toYaml | nindent 4 }}{{- end }}
8+
{{- if .Values.service.annotations }}
9+
annotations: {{ .Values.service.annotations | toYaml | nindent 4 }}
10+
{{- end }}
711
name: {{ include "tx-submit-api.fullname" . }}
812
spec:
13+
{{- if .Values.service.loadBalancerSourceRanges }}
14+
loadBalancerSourceRanges: {{ .Values.service.loadBalancerSourceRanges | toYaml | nindent 4 }}
15+
{{- end }}
916
ports:
1017
- name: api
1118
port: {{ .Values.service.apiPort }}

charts/tx-submit-api/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ cardano_node:
44
host: preview-node.play.dev.cardano.org:3001
55
port: 3001
66
skip_check: true
7+
78
image:
89
repository: ghcr.io/blinklabs-io/tx-submit-api
910
tag: 0.20.9
11+
1012
replicaCount: 1
13+
1114
resources: {}
1215

1316
affinity: {}
@@ -25,5 +28,7 @@ service:
2528
apiPort: 8090
2629
metricsPort: 8081
2730
annotations: {}
28-
type: LoadBalancer
31+
labels: {}
32+
loadBalancerSourceRanges: []
2933
externalTrafficPolicy: Cluster
34+
type: LoadBalancer

0 commit comments

Comments
 (0)