Closed toddbaert closed 4 months ago
is this really a bug? If the port != than the default, do we really need to specify it? I'd see it as a chore/improvement more than a bug. In case, we would need to adapt this line here: https://github.com/open-feature/open-feature-operator/blob/main/apis/core/v1beta1/inprocessconfiguration_types.go#L162
The provider by default uses the RPC port (8013). If we don't inject a different FLAGD_PORT
it will try to connect on that which doesn't work. We could alter all the providers to default to 8015 if the resolver is in-process
, but as is, things don't line up, and the provider will try to use 8013 which is the RPC endpoint.
If I set an InProcessConfiguration like this:
the resulting container looks like this (note
FLAGD_PORT
is missing):If I change the port to something other than
8015
like this:Then the var is set (note
FLAGD_PORT
is now set to8033
as expected):