Add support for dnsConfig and dnsPolicy in pod spec#12897
Add support for dnsConfig and dnsPolicy in pod spec#12897knative-prow[bot] merged 2 commits intoknative:mainfrom
dnsConfig and dnsPolicy in pod spec#12897Conversation
|
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. DetailsInstructions 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 |
nader-ziada
left a comment
There was a problem hiding this comment.
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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Makes sense, thanks for the clarification! |
psschwei
left a comment
There was a problem hiding this comment.
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