Conversation
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
| "--logtostderr=" + strconv.FormatBool(cfg.LogDir == "" || cfg.LogAlsotostderr), | ||
| "--alsologtostderr=" + strconv.FormatBool(cfg.LogAlsotostderr), | ||
| "--v=" + strconv.Itoa(cfg.LogVLevel), | ||
| "--vmodule=" + cfg.LogVModule, |
There was a problem hiding this comment.
What is the reason to remove the logging-related params (the one here and the two above)?
There was a problem hiding this comment.
That's right, let me add them again.
| "--requestheader-allowed-names=kube-apiserver-proxy,system:kube-apiserver-proxy,system:openshift-aggregator", | ||
| "--requestheader-username-headers=X-Remote-User", | ||
| "--requestheader-group-headers=X-Remote-Group", | ||
| "--requestheader-extra-headers-prefix=X-Remote-Extra-", |
There was a problem hiding this comment.
For the request headers, did you compare notes with OpenShift whether they are not needed? I’ve noticed we’re still configuring them in kube-apiserver via command line args (incl. CA certs) and (due to the analogy between both API servers) I’m wondering whether we’d want our approach to configuring kube-api and openshift-api in sync?
There was a problem hiding this comment.
I tried to use the bare minimum number of flags in order to use the config file as much as possible.
|
@oglok can you post the results from the following commands? |
Sure! |
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
sallyom
left a comment
There was a problem hiding this comment.
see the naming nit, but other than that lgtm
| if err != nil { | ||
| return err | ||
| } | ||
| caFile, err := ioutil.ReadFile(cfg.DataDir + "/certs/ca-bundle/ca-bundle.crt") |
There was a problem hiding this comment.
nit: instead of caFile, caBytes or caData
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: husky-parul The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Ricardo Noriega rnoriega@redhat.com
Closes #342