Skip to content
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

Fix IstioOperator CustomResourceDefinition for istio-provisioner addon #13024

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

pedrothome1
Copy link
Contributor

@pedrothome1 pedrothome1 commented Nov 25, 2021

This PR fixes a bug that prevents enabling the istio-provisioner addon.
The following error was occurring:
error: error validating "/etc/kubernetes/addons/istio-operator.yaml": error validating data: ValidationError(CustomResourceDefinition.spec): unknown field "subresources" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec; if you choose to ignore these errors, turn validation off with --validate=false

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 25, 2021

CLA Signed

The committers are authorized under a signed CLA.

@k8s-ci-robot
Copy link
Contributor

Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please sign in with your organization's credentials at https://identity.linuxfoundation.org/projects/cncf to be authorized.
  • If you have done the above and are still having issues with the CLA being reported as unsigned, please log a ticket with the Linux Foundation Helpdesk: https://support.linuxfoundation.org/
  • Should you encounter any issues with the Linux Foundation Helpdesk, send a message to the backup e-mail support address at: [email protected]

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. I understand the commands that are listed here.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Nov 25, 2021
@k8s-ci-robot
Copy link
Contributor

Welcome @pedrothome1!

It looks like this is your first PR to kubernetes/minikube 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/minikube has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot
Copy link
Contributor

Hi @pedrothome1. 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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 25, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pedrothome1
To complete the pull request process, please assign prezha after the PR has been reviewed.
You can assign the PR to them by writing /assign @prezha in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@minikube-bot
Copy link
Collaborator

Can one of the admins verify this patch?

@pedrothome1
Copy link
Contributor Author

/check-cla

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Nov 26, 2021
@medyagh
Copy link
Member

medyagh commented Dec 7, 2021

@pedrothome1 do u mind sharing the output of minikube addon enable before and after this PR ?

@medyagh
Copy link
Member

medyagh commented Dec 7, 2021

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 7, 2021
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13024) |
+----------------+----------+---------------------+
| minikube start | 46.9s    | 47.1s               |
| enable ingress | 30.8s    | 30.8s               |
+----------------+----------+---------------------+

Times for minikube start: 46.9s 46.3s 46.6s 47.0s 48.0s
Times for minikube (PR 13024) start: 46.2s 47.3s 48.1s 46.1s 47.7s

Times for minikube ingress: 32.3s 30.2s 30.7s 30.7s 30.2s
Times for minikube (PR 13024) ingress: 30.8s 31.2s 29.7s 31.7s 30.8s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13024) |
+----------------+----------+---------------------+
| minikube start | 22.5s    | 22.4s               |
| enable ingress | 27.6s    | 29.3s               |
+----------------+----------+---------------------+

Times for minikube (PR 13024) start: 22.7s 21.8s 22.0s 22.5s 23.1s
Times for minikube start: 23.3s 21.7s 21.8s 21.7s 23.9s

Times for minikube ingress: 35.4s 25.9s 25.4s 25.4s 25.9s
Times for minikube (PR 13024) ingress: 33.9s 26.4s 26.4s 32.9s 26.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 13024) |
+----------------+----------+---------------------+
| minikube start | 36.4s    | 41.0s               |
| enable ingress | 28.6s    | 30.1s               |
+----------------+----------+---------------------+

Times for minikube start: 27.4s 41.1s 29.3s 42.3s 42.0s
Times for minikube (PR 13024) start: 42.5s 42.2s 42.4s 41.8s 36.2s

Times for minikube ingress: 35.4s 16.9s 28.9s 29.4s 32.4s
Times for minikube (PR 13024) ingress: 28.9s 32.4s 32.4s 32.4s 24.4s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux_containerd TestForceSystemdFlag (gopogh) 0.00 (chart)
Docker_Linux TestCertOptions (gopogh) 0.00 (chart)
Docker_Windows TestCertExpiration (gopogh) 0.00 (chart)
KVM_Linux TestErrorSpam/setup (gopogh) 0.00 (chart)
KVM_Linux TestNetworkPlugins/group/enable-default-cni/Start (gopogh) 0.00 (chart)
KVM_Linux TestNetworkPlugins/group/false/Start (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/newest-cni/serial/EnableAddonWhileActive (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/newest-cni/serial/FirstStart (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/AddonExistsAfterStop (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/DeployApp (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/EnableAddonWhileActive (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/FirstStart (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/Pause (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/SecondStart (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/UserAppExistsAfterStop (gopogh) 0.00 (chart)
KVM_Linux TestStartStop/group/old-k8s-version/serial/VerifyKubernetesImages (gopogh) 0.00 (chart)
KVM_Linux TestGvisorAddon (gopogh) 1.89 (chart)
KVM_Linux_containerd TestRunningBinaryUpgrade (gopogh) 3.19 (chart)
Docker_Linux TestStartStop/group/embed-certs/serial/Pause (gopogh) 4.49 (chart)
Docker_Linux_containerd TestPause/serial/PauseAgain (gopogh) 6.37 (chart)
Hyperkit_macOS TestStartStop/group/embed-certs/serial/DeployApp (gopogh) 8.40 (chart)
Docker_Windows TestNetworkPlugins/group/auto/DNS (gopogh) 9.28 (chart)
Hyperkit_macOS TestStartStop/group/no-preload/serial/DeployApp (gopogh) 10.08 (chart)
Hyperkit_macOS TestStartStop/group/no-preload/serial/UserAppExistsAfterStop (gopogh) 10.08 (chart)
Hyperkit_macOS TestStartStop/group/old-k8s-version/serial/DeployApp (gopogh) 10.92 (chart)
Docker_Windows TestKubernetesUpgrade (gopogh) 14.29 (chart)
Docker_Windows TestStartStop/group/no-preload/serial/Pause (gopogh) 15.31 (chart)
Docker_Windows TestStartStop/group/old-k8s-version/serial/Pause (gopogh) 15.31 (chart)
Docker_Cloud_Shell TestFunctional/parallel/TunnelCmd/serial/WaitService/IngressIP (gopogh) 24.00 (chart)
Docker_Cloud_Shell TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 24.60 (chart)
More tests... Continued...

Too many tests failed - See test logs for more details.

To see the flake rates of all tests by environment, click here.

@medyagh medyagh merged commit 0cfafd1 into kubernetes:master Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants