Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prefix NATS_PORT and NATS_URL with WASMCLOUD #1631

Merged
merged 1 commit into from Mar 8, 2024

Conversation

protochron
Copy link
Contributor

@protochron protochron commented Mar 7, 2024

Feature or Problem

This adds a WASMCLOUD prefix to both the NATS_PORT and NATS_URL env vars, since there are potentially conficts with those variables in other systems. Specifically this would play badly deploying in Kubernetes with a service named nats running in the same namespace, since a NATS_PORT env var is automatically injected in that case which stops the wasmcloud binary from starting. It is also a good practice to have all of our environment variables using the same prefix.

This is a breaking change to wasmCloud CLI args for the host.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Copy link
Member

@brooksmtownsend brooksmtownsend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pedantic request to just amend the commit message to show that it's a breaking change please 😌

This adds a `WASMCLOUD` prefix to both the `NATS_PORT` and `NATS_URL`
env vars, since there are potentially conficts with those variables in other
systems. Specifically this would play badly deploying in Kubernetes with
a service named `nats` running in the same namespace, since a
`NATS_PORT` env var is automatically injected in that case which stops
the wasmcloud binary from starting. It is also a good practice to have
all of our environment variables using the same prefix.

This is a breaking change to wasmCloud CLI args for the host.

Signed-off-by: Dan Norris <protochron@users.noreply.github.com>
@vados-cosmonic vados-cosmonic merged commit 9014806 into wasmCloud:main Mar 8, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants