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

docs/content: Updated the apis and responses in kubernetes tutorial #3910

Closed
wants to merge 19 commits into from

Conversation

olamiko
Copy link
Contributor

@olamiko olamiko commented Oct 22, 2021

No description provided.

Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

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

Looks great! One suggestion to use the v1 admission review format.

I take it you tested this manually?

@@ -416,6 +416,8 @@ webhooks:
service:
namespace: opa
name: opa
admissionReviewVersions: ["v1beta1"]
Copy link
Member

Choose a reason for hiding this comment

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

Since this is deprecated since 1.16, I'd suggest going with v1 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whenever I included the v1, the api server rejected it. It only accepts v1beta1 as an allowed version. I will try to figure out why later

Copy link
Member

Choose a reason for hiding this comment

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

Interesting. You mean it rejected the actual configuration, or it rejected a v1 admissionreview response back from the webhook? Great that you tested it either way!

@olamiko
Copy link
Contributor Author

olamiko commented Oct 26, 2021

@anderseknert, I updated the admissionReviewVersions

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
anderseknert
anderseknert previously approved these changes Oct 26, 2021
Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

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

Changes looks good to me. Please squash the commits and we can have this merged 👍

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
olamiko and others added 13 commits October 26, 2021 15:35
Fixes: #3821

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
And reference it from the `some` keyword section.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
The statement is no longer generated by the planner so it is unused
at this point. Remove it.

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Tests started failing because the 1000 days had run out.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
This broke with #3907.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
LLVM 13, latest wabt and binaryen.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
…anger` shortcode (#3922)

Fixes #3893.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
Fixes #3910

docs/content: Added v1 to admissionReviewVersion in kubernetes tutorial

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>

docs/content: Updated kube-mgmt tags and admissionReview api

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>

docs/content: updated kubernetes tutorial

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
@olamiko olamiko closed this Oct 26, 2021
olamiko added a commit to olamiko/opa that referenced this pull request Oct 26, 2021
Fixes open-policy-agent#3910 and open-policy-agent#3911

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>

docs/content: Updated envoy tutorials

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
anderseknert pushed a commit that referenced this pull request Oct 26, 2021
Fixes #3910 and #3911

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
dolevf pushed a commit to dolevf/opa that referenced this pull request Nov 4, 2021
…licy-agent#3931)

Fixes open-policy-agent#3910 and open-policy-agent#3911

Signed-off-by: Olamide Omolola <omololaolamidex@gmail.com>
Signed-off-by: Dolev Farhi <farhi.dolev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants