Skip to content

Commit ed2515b

Browse files
fix(tx-submit-api): only render externalTrafficPolicy for external Service types (#395)
Signed-off-by: Tripura Repalle <tripura@blinklabs.io>
1 parent 37fead1 commit ed2515b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

charts/tx-submit-api/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: tx-submit-api
33
description: Creates a Cardano Tx Submit API deployment
4-
version: 0.1.20
4+
version: 0.1.21
55
appVersion: 0.20.9
66
maintainers:
77
- name: aurora

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ spec:
2525
selector: {{ include "tx-submit-api.selectorLabels" . | nindent 4 }}
2626
sessionAffinity: ClientIP
2727
type: {{ .Values.service.type }}
28+
{{- if or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") }}
2829
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
30+
{{- end }}
2931
{{- end }}

0 commit comments

Comments
 (0)