{"action":"created","issue":{"url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/251","repository_url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator","labels_url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/251/comments","events_url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/251/events","html_url":"https://github.com/upmc-enterprises/elasticsearch-operator/issues/251","id":367720038,"node_id":"MDU6SXNzdWUzNjc3MjAwMzg=","number":251,"title":"Syscrtl deployed in default namespace","user":{"login":"kaarolch","id":16565131,"node_id":"MDQ6VXNlcjE2NTY1MTMx","avatar_url":"https://avatars0.githubusercontent.com/u/16565131?v=4","gravatar_id":"","url":"https://api.github.com/users/kaarolch","html_url":"https://github.com/kaarolch","followers_url":"https://api.github.com/users/kaarolch/followers","following_url":"https://api.github.com/users/kaarolch/following{/other_user}","gists_url":"https://api.github.com/users/kaarolch/gists{/gist_id}","starred_url":"https://api.github.com/users/kaarolch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaarolch/subscriptions","organizations_url":"https://api.github.com/users/kaarolch/orgs","repos_url":"https://api.github.com/users/kaarolch/repos","events_url":"https://api.github.com/users/kaarolch/events{/privacy}","received_events_url":"https://api.github.com/users/kaarolch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-08T10:07:55Z","updated_at":"2018-10-15T18:41:06Z","closed_at":null,"author_association":"NONE","body":"I change elasticscrear operator to 0.2.0 version where sysctl daemon set #220 should be deployed in the same namespace where operator was. Unfortunately elasticsearch-operator: 0.2.0 still use `default` namespace: \r\n```\r\n/ # /usr/local/bin/elasticsearch-operator -version\r\nelasticsearch-operator 0.2.0\r\n/ # /usr/local/bin/elasticsearch-operator --help\r\nUsage of /usr/local/bin/elasticsearch-operator:\r\n  -alsologtostderr\r\n    \tlog to standard error as well as files\r\n  -baseImage string\r\n    \tBase image to use when spinning up the elasticsearch components. (default \"upmcenterprises/docker-elasticsearch-kubernetes:6.1.3_0\")\r\n  -kubecfg-file string\r\n    \tLocation of kubecfg file for access to kubernetes master service; --kube_master_url overrides the URL part of this; if neither this nor --kube_master_url are provided, defaults to service account tokens\r\n  -log_backtrace_at value\r\n    \twhen logging hits line file:N, emit a stack trace\r\n  -log_dir string\r\n    \tIf non-empty, write log files in this directory\r\n  -logtostderr\r\n    \tlog to standard error instead of files\r\n  -masterhost string\r\n    \tFull url to k8s api server (default \"http://127.0.0.1:8001\")\r\n  -stderrthreshold value\r\n    \tlogs at or above this threshold go to stderr\r\n  -v value\r\n    \tlog level for V logs\r\n  -version\r\n    \tShow version and quit\r\n  -vmodule value\r\n    \tcomma-separated list of pattern=N settings for file-filtered logging\r\n\r\n```\r\nFlag `initDaemonsetNamespace` added in 0.2.0: [line](https://github.com/upmc-enterprises/elasticsearch-operator/blob/9336d0084572eb24336c12cf3c39bc2fdc708b10/cmd/operator/main.go#L65) \r\n\r\nprintenv result correctly report varaible `NAMESPACE` defined to correct namespace: \r\n```\r\nprintenv\r\n...\r\nKP_PR_PROMETHEUS_PORT_9090_TCP=tcp://10.233.62.242:9090\r\nKP_PR_EXPORTER_NODE_PORT_9100_TCP=tcp://10.233.49.17:9100\r\nNAMESPACE=monitoring\r\n...\r\n```\r\nAs I understand  `initDaemonsetNamespace` the namespace should be also forward as a command line args in dockerFile?"},"comment":{"url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/comments/429968243","html_url":"https://github.com/upmc-enterprises/elasticsearch-operator/issues/251#issuecomment-429968243","issue_url":"https://api.github.com/repos/upmc-enterprises/elasticsearch-operator/issues/251","id":429968243,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTk2ODI0Mw==","user":{"login":"stevesloka","id":1048184,"node_id":"MDQ6VXNlcjEwNDgxODQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1048184?v=4","gravatar_id":"","url":"https://api.github.com/users/stevesloka","html_url":"https://github.com/stevesloka","followers_url":"https://api.github.com/users/stevesloka/followers","following_url":"https://api.github.com/users/stevesloka/following{/other_user}","gists_url":"https://api.github.com/users/stevesloka/gists{/gist_id}","starred_url":"https://api.github.com/users/stevesloka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevesloka/subscriptions","organizations_url":"https://api.github.com/users/stevesloka/orgs","repos_url":"https://api.github.com/users/stevesloka/repos","events_url":"https://api.github.com/users/stevesloka/events{/privacy}","received_events_url":"https://api.github.com/users/stevesloka/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T18:41:06Z","updated_at":"2018-10-15T18:41:06Z","author_association":"MEMBER","body":"So I do have an issue for this: https://github.com/upmc-enterprises/elasticsearch-operator/issues/231\r\n"}}
{"actor":{"display_login":"stevesloka"}}