From 8ccdbb784d528d6d775ea4f2e021630d3911c6b2 Mon Sep 17 00:00:00 2001 From: Dan Norris Date: Mon, 27 May 2024 14:33:49 -0400 Subject: [PATCH] fix: allow nats address to include a port This fix omits the preset NATS leaf node port `7422` from being automatically set if the `natsAddress` field is set in the CRD. This allows you to specify the port if it is not using the default at the cost of making it required. Signed-off-by: Dan Norris --- hack/run-kind-cluster.sh | 2 +- sample.yaml | 8 ++++---- src/controller.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hack/run-kind-cluster.sh b/hack/run-kind-cluster.sh index 6d6ded8..515aa30 100755 --- a/hack/run-kind-cluster.sh +++ b/hack/run-kind-cluster.sh @@ -18,7 +18,7 @@ fi # https://github.com/kubernetes-sigs/kind/issues/2875 # https://github.com/containerd/containerd/blob/main/docs/cri/config.md#registry-configuration # See: https://github.com/containerd/containerd/blob/main/docs/hosts.md -cat <