WATCH_NAMESPACE
environment variable doesn't work for the Helm Operator
#6780
Labels
language/helm
Issue is related to a Helm operator project
Bug Report
What did you do?
Cloned the
operator-sdk
repo and tried out the example intestdata/helm/memcached-operator
in a local cluster with theWATCH_NAMESPACE
environment variable set todefault
:default
namespace):What did you expect to see?
A Memcached StatefulSet should be created. It works as expected when I omit the
WATCH_NAMESPACE
variable.What did you see instead? Under which circumstances?
Nothing happens and the log shows no entry after the startup.
Environment
Operator type:
/language helm
Kubernetes cluster type:
vanilla (Kind)
$ operator-sdk version
operator-sdk version: "v1.35.0", commit: "e95abdbd5ccb7ca0fd586e0c6f578e491b0a025b", kubernetes version: "v1.28.0", go version: "go1.21.11", GOOS: "darwin", GOARCH: "amd64"
$ go version
(if language is Go)$ kubectl version
Client Version: v1.29.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.0
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: