Skip to content

Commit

Permalink
Remove setting the actual watched namespace as env var (os.Setenv won…
Browse files Browse the repository at this point in the history
…'t work)
  • Loading branch information
Sergey Dudoladov committed Feb 6, 2018
1 parent 8b7bbde commit 74a1e96
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/controller/controller.go
Expand Up @@ -109,9 +109,6 @@ func (c *Controller) initOperatorConfig() {
configMapData["watched_namespace"] = v1.NamespaceDefault
}

// display the actual namespace in case someone checks the value manually
os.Setenv("WATCHED_NAMESPACE", configMapData["watched_namespace"])

if c.config.NoDatabaseAccess {
configMapData["enable_database_access"] = "false"
}
Expand Down

0 comments on commit 74a1e96

Please sign in to comment.