-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add CONTROLLERS environment variable to e2e-k8s.sh #4017
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
Conversation
This allows overriding kube-controller-manager's --controllers flag.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: danwinship The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@danwinship: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
for ad-hoc jobs we use to make a copy of this script and parametrize it accordenly , see https://github.com/kubernetes/test-infra/tree/master/experiment , specifically
then setting the job is something like This avoid growing the surface of this script and end in a situation like we had in-tree with the cluster-up scripts. Let's see what @BenTheElder thinks about this too, |
Ah, I should have looked more carefully at the various jobs... Does e2e-k8s.sh ever get bugfixes? It seems like this approach would lead to divergence between the different jobs. At least, maybe there should only be one fork of e2e-k8s.sh in test-infra, that handles all the variants? Anyway, I'm happy to move this to test-infra. I doubt it would turn out to be that generically useful in the future. |
this script is a wrapper to launch a kind cluster and run the ginkgo tests, the only changes it had was to add some new env variables to parametrize it. |
This allows overriding kube-controller-manager's
--controllers
flag, which will be used by the new periodic e2e test for KEP-4974, which doesn't exist yet.I thought about naming the variable
KCM_CONTROLLERS
or something instead, but having it be just the name of the CLI arg was consistent withFEATURE_GATES
andRUNTIME_CONFIG
...