wasmCloud/wasmcloud-operator

The operator should support using a different set of NATS credentials for communicating with wadm

Closed this issue · 0 comments

Add a configuration option so that we can load a NATS credentials file stored as a secret and use it to configure the client we use to communicate with the NATS cluster. These credentials should only be used to configure the operator's consumer and the stream that we create when bootstrapping. If a WasmCloudHostConfig references a secret that has NATS credentials then the operator should use those credentials when creating a client to manage wasmCloud applications. Otherwise it should fall back to either its own credentials or using unauthenticated calls.