Skip to content

Commit 178ee27

Browse files
authored
Merge pull request #35 from wasmCloud/fix_port_spec
fix: allow nats address to include a port
2 parents 7a38f50 + 8ccdbb7 commit 178ee27

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

hack/run-kind-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fi
1818
# https://github.com/kubernetes-sigs/kind/issues/2875
1919
# https://github.com/containerd/containerd/blob/main/docs/cri/config.md#registry-configuration
2020
# See: https://github.com/containerd/containerd/blob/main/docs/hosts.md
21-
cat <<EOF | kind create cluster --image kindest/node:v1.29.2 --config=-
21+
cat <<EOF | kind create cluster --image kindest/node:v1.29.4 --config=-
2222
kind: Cluster
2323
apiVersion: kind.x-k8s.io/v1alpha4
2424
containerdConfigPatches:

sample.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
# The name of a secret in the same namespace that provides the required secrets.
1818
secretName: cluster-secrets
1919
logLevel: INFO
20-
natsAddress: nats://nats-cluster.default.svc.cluster.local
20+
natsAddress: nats://nats-cluster.default.svc.cluster.local:7422
2121
################################################
2222
# Additional options that can be set for hosts:
2323
################################################
@@ -27,9 +27,9 @@ spec:
2727
# - "kind-registry:5000"
2828
# Policy service configuration
2929
# policyService:
30-
# topic: "wasmcloud.policy"
31-
# #changesTopic: "bar"
32-
# timeoutMs: 10000
30+
# topic: "wasmcloud.policy"
31+
# changesTopic: "bar"
32+
# timeoutMs: 10000
3333
# Additional options to control how the underlying wasmCloud hosts are scheduled in Kubernetes.
3434
# This includes setting resource requirements for the nats and wasmCloud host
3535
# containers along with any additional pot template settings.

src/controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ jetstream {
835835
leafnodes {
836836
remotes: [
837837
{
838-
url: "{{cluster_url}}:7422"
838+
url: "{{cluster_url}}"
839839
{{#if use_credentials}}
840840
credentials: "/nats/nats.creds"
841841
{{/if}}

0 commit comments

Comments
 (0)