Skip to content

Commit

Permalink
fix(istio): Rename nats client port to tcp to resolve istio protocol …
Browse files Browse the repository at this point in the history
…detection issue (#137)

* rename port 4222 to 'tcp' to resolve an issue with istio istio/istio#28623

* version bump

* require istio testing
  • Loading branch information
jsirianni authored Jul 15, 2024
1 parent 63ab2a0 commit 9c74c52
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ In order for changes to be captured in changelog correctly please add one of the
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
- [ ] CI passes
- [ ] Changes to ports, services, or other networking have been tested with **istio**
2 changes: 1 addition & 1 deletion charts/bindplane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: bindplane
description: BindPlane OP is an observability pipeline.
type: application
# The chart's version
version: 1.13.0
version: 1.13.1
# The BindPlane OP tagged release. If the user does not
# set the `image.tag` values option, this version is used.
appVersion: 1.63.1
Expand Down
2 changes: 1 addition & 1 deletion charts/bindplane/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bindplane

![Version: 1.12.0](https://img.shields.io/badge/Version-1.12.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.63.1](https://img.shields.io/badge/AppVersion-1.63.1-informational?style=flat-square)
![Version: 1.13.1](https://img.shields.io/badge/Version-1.13.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.63.1](https://img.shields.io/badge/AppVersion-1.63.1-informational?style=flat-square)

BindPlane OP is an observability pipeline.

Expand Down
2 changes: 1 addition & 1 deletion charts/bindplane/templates/bindplane-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BINDPLANE_NATS_CLIENT_ENDPOINT
value: nats://{{ include "bindplane.fullname" . }}-nats-client-headless.{{ .Release.Namespace }}.svc.cluster.local:4222
value: nats://{{ include "bindplane.fullname" . }}-nats-headless.{{ .Release.Namespace }}.svc.cluster.local:4222
- name: BINDPLANE_NATS_CLIENT_SUBJECT
value: bindplane-event-bus
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/bindplane/templates/bindplane-nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
- containerPort: 3001
name: http
- containerPort: 4222
name: nats-client
name: tcp
- containerPort: 6222
name: nats-cluster
- containerPort: 8222
Expand Down
2 changes: 1 addition & 1 deletion charts/bindplane/templates/bindplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: BINDPLANE_NATS_CLIENT_ENDPOINT
value: nats://{{ include "bindplane.fullname" . }}-nats-client-headless.{{ .Release.Namespace }}.svc.cluster.local:4222
value: nats://{{ include "bindplane.fullname" . }}-nats-headless.{{ .Release.Namespace }}.svc.cluster.local:4222
- name: BINDPLANE_NATS_CLIENT_SUBJECT
value: bindplane-event-bus
{{- end }}
Expand Down
6 changes: 3 additions & 3 deletions charts/bindplane/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: {{ include "bindplane.fullname" . }}-nats-client-headless
name: {{ include "bindplane.fullname" . }}-nats-headless
namespace: {{ .Release.Namespace }}
annotations:
{{- if .Values.service.annotations }}
Expand All @@ -77,8 +77,8 @@ spec:
ports:
- port: 4222
protocol: TCP
targetPort: nats-client
name: nats-client
targetPort: tcp
name: tcp
selector:
app.kubernetes.io/name: {{ include "bindplane.name" . }}
app.kubernetes.io/stack: bindplane
Expand Down

0 comments on commit 9c74c52

Please sign in to comment.