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

Updating API version of admissionregistration.k8s.io #1401

Merged
merged 9 commits into from
Nov 30, 2021

Conversation

sairamankumar2
Copy link
Contributor

@sairamankumar2 sairamankumar2 commented Nov 20, 2021

This PR upgrades API version of admission registration objects of kind MutatingWebhook and ValidatingWebhook to v1 from v1beta1. v1beta1 version of admission registration is not supported in 1.22+ version of Kubernetes cluster.

The PR closes #1265 and #1375
With some additional work can fix #1339

@sairamankumar2
Copy link
Contributor Author

As this version of operator contains breaking changes, should we also modify the operator version and make other changes to docs?

@liyinan926
Copy link
Collaborator

Thanks for the PR! I think we should also modify the operator version and make relevant doc changes. I can cut a new release afterwards.

@sairamankumar2
Copy link
Contributor Author

Thanks @liyinan926,
Can you please list the files/docs that we need to modify for this release. Can i take this PR as reference #1153 for making the initial changes?

@sairamankumar2
Copy link
Contributor Author

Hi @liyinan926,
Have updated the operator version to v1beta2-1.3.0-3.1.1. Kindly let me know if I have missed something.

README.md Outdated Show resolved Hide resolved
README.md Outdated
@@ -22,6 +22,8 @@ Customization of Spark pods, e.g., mounting arbitrary volumes and setting pod af

* Version >= 1.13 of Kubernetes to use the [`subresource` support for CustomResourceDefinitions](https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#subresources), which became beta in 1.13 and is enabled by default in 1.13 and higher.

* Version >= 1.16 of Kubernetes to use the MutatingWebhook and ValidatingWebhook of admissionregistration.k8s.io/v1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: please add a period at the end, and use "`" around the k8s resources.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrapped k8s resources in code block and also added apiVersion: before admissionregistration.k8s.io/v1.

Copy link
Collaborator

@liyinan926 liyinan926 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@liyinan926 liyinan926 merged commit 3a0e804 into kubeflow:master Nov 30, 2021
@sp-matrix
Copy link

@liyinan926 @sairamankumar2 : It would be great, if you can update the OperatorHub with the latest version. I have been asked to update the operator from version 2.4 to the version that will be supported by openshift 4.9

jbhalodia-slack pushed a commit to jbhalodia-slack/spark-operator that referenced this pull request Oct 4, 2024
* Added webhook timeout variable

* made timeout variable to be private

* Fixed chart version

* Bumped admission & admissionregistration ver to v1

* Bumped operator version to v1beta2-1.3.0-3.1.1

* Fixed typo in README.md

* Fixed typos in README.md

Co-authored-by: Sairaman Kumar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants