-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing cli options for kube-controller-manager and kube-scheduler #9726
Conversation
Welcome @Evalle! |
Hi @Evalle. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @justinsb |
/ok-to-test |
@Evalle Thanks for taking this. Please run |
Hi @hakman thanks for the review! |
Ah... right. I think there is something broken there. Please run |
It didn't make any changes
JFYI I've forked from the master branch, could it be the issue? |
May be related to Go version (using 1.15rc2 at the moment) or GOPATH. You should get something like this from --- a/pkg/apis/kops/v1alpha2/zz_generated.conversion.go
+++ b/pkg/apis/kops/v1alpha2/zz_generated.conversion.go
@@ -4003,6 +4003,8 @@ func autoConvert_v1alpha2_KubeControllerManagerConfig_To_kops_KubeControllerMana
out.ConcurrentResourceQuotaSyncs = in.ConcurrentResourceQuotaSyncs
out.ConcurrentServiceaccountTokenSyncs = in.ConcurrentServiceaccountTokenSyncs
out.ConcurrentRcSyncs = in.ConcurrentRcSyncs
+ out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
+ out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
out.EnableProfiling = in.EnableProfiling
return nil
}
@@ -4063,6 +4065,8 @@ func autoConvert_kops_KubeControllerManagerConfig_To_v1alpha2_KubeControllerMana
out.ConcurrentResourceQuotaSyncs = in.ConcurrentResourceQuotaSyncs
out.ConcurrentServiceaccountTokenSyncs = in.ConcurrentServiceaccountTokenSyncs
out.ConcurrentRcSyncs = in.ConcurrentRcSyncs
+ out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
+ out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
out.EnableProfiling = in.EnableProfiling
return nil
}
@@ -4212,6 +4216,8 @@ func autoConvert_v1alpha2_KubeSchedulerConfig_To_kops_KubeSchedulerConfig(in *Ku
out.MaxPersistentVolumes = in.MaxPersistentVolumes
out.Qps = in.Qps
out.Burst = in.Burst
+ out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
+ out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
out.EnableProfiling = in.EnableProfiling
return nil
}
@@ -4239,6 +4245,8 @@ func autoConvert_kops_KubeSchedulerConfig_To_v1alpha2_KubeSchedulerConfig(in *ko
out.MaxPersistentVolumes = in.MaxPersistentVolumes
out.Qps = in.Qps
out.Burst = in.Burst
+ out.AuthenticationKubeconfig = in.AuthenticationKubeconfig
+ out.AuthorizationKubeconfig = in.AuthorizationKubeconfig
out.EnableProfiling = in.EnableProfiling
return nil
} |
interesting, I have
Let me try with |
I think I've found the issue :) it was related to GOPATH indeed, I had kops in both |
@Evalle would
|
Hm, I would ask @rifelpet about this |
And also @a8j8i8t8: #9726 (comment). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea it probably makes sense to add --authorization-always-allow-paths
since many users of the original two fields might find themselves wanting to override this field too. While you're at it I left a minor grammatical suggestion in the field comments. Once always-allow-paths is added this lgtm. Thanks for picking this up!
@Evalle Please add also the |
@hakman yes, I'm working on it ATM :) |
Thanks :) |
Should I squash my commits ? |
Looks pretty good to me. Congrats on your first Kops PR :) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Evalle, hakman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Happy to help :) thanks for the review @hakman |
My pleasure! 👍 |
PR Summary: