-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 support for dnsConfig
and dnsPolicy
in pod spec
#12897
Add support for dnsConfig
and dnsPolicy
in pod spec
#12897
Conversation
Hi @stevenchen-db. Thanks for your PR. I'm waiting for a knative 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. |
Codecov Report
@@ Coverage Diff @@
## main #12897 +/- ##
==========================================
- Coverage 87.03% 87.01% -0.03%
==========================================
Files 197 197
Lines 14426 14437 +11
==========================================
+ Hits 12556 12562 +6
- Misses 1576 1579 +3
- Partials 294 296 +2
Continue to review full report at Codecov.
|
/ok-to-test |
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.
two quick questions:
- Can we add a test in fieldmask_test.go
- Is there any validation to be added in the k8s_validation.go, for example dnsPolicy allowed values?
I plan to manually test that values get passed through and I previously verified that the dnsPolicy and dnsConfig was masked. For this PR, I was primarily going off of several previous PRs that introduced new pod specs such as https://github.com/knative/serving/pull/9072/files and #12715, which appears to not have added field_mask tests maybe since they're all gated behind a feature flag. I can add validation to dnsPolicy in k8s_validation.go |
Technically the k8s validation test changes covered exercising the field mask code.
I would skip this for pod spec fields guarded by feature flags - it's a black box for us and user beware |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, stevenchen-db 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 |
Makes sense, thanks for the clarification! |
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.
Would you also be able to submit a PR to the docs repo to update the feature flag page?
af9a7c4
to
9f4e17a
Compare
/retest-required |
/lgtm |
/test istio-latest-no-mesh-tls_serving_main |
Fixes #5306
Proposed Changes
Release Note