Merge pull request #56425 from cmluciano/cml/deprecatev1beta1
Automatic merge from submit-queue (batch tested with PRs 56497, 56500, 55018, 56544, 56425). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Mark v1beta1 NetworkPolicy types as deprecated **What this PR does / why we need it**: Deprecates v1beta1 NetworkPolicy in favor of v1. The default storage is now set to v1 in 1.9. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Related #56423 **Special notes for your reviewer**: **Release note**: ``` deprecate NetworkPolicy v1beta1 API in extensions ```
This commit is contained in:
@@ -1395,7 +1395,7 @@ Examples: <code>/foo</code> would allow <code>/foo</code>, <code>/foo/</code> an
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicylist">v1beta1.NetworkPolicyList</h3>
|
||||
<div class="paragraph">
|
||||
<p>Network Policy List is a list of NetworkPolicy objects.</p>
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
@@ -3280,7 +3280,7 @@ When an object is created, the system will populate this list with the current s
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_ipblock">v1beta1.IPBlock</h3>
|
||||
<div class="paragraph">
|
||||
<p>IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec’s podSelector. The except entry describes CIDRs that should not be included within this rule.</p>
|
||||
<p>DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec’s podSelector. The except entry describes CIDRs that should not be included within this rule.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
@@ -5329,7 +5329,7 @@ Examples:<br>
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicy">v1beta1.NetworkPolicy</h3>
|
||||
<div class="paragraph">
|
||||
<p>NetworkPolicy describes what network traffic is allowed for a set of Pods</p>
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
@@ -5611,6 +5611,9 @@ Examples:<br>
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicyspec">v1beta1.NetworkPolicySpec</h3>
|
||||
<div class="paragraph">
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
<col style="width:20%;">
|
||||
@@ -6104,6 +6107,9 @@ Both these may change in the future. Incoming requests are matched against the h
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicypeer">v1beta1.NetworkPolicyPeer</h3>
|
||||
<div class="paragraph">
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
<col style="width:20%;">
|
||||
@@ -6553,7 +6559,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicyingressrule">v1beta1.NetworkPolicyIngressRule</h3>
|
||||
<div class="paragraph">
|
||||
<p>This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.</p>
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
@@ -7007,7 +7013,7 @@ Both these may change in the future. Incoming requests are matched against the h
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicyegressrule">v1beta1.NetworkPolicyEgressRule</h3>
|
||||
<div class="paragraph">
|
||||
<p>NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec’s podSelector. The traffic must match both ports and to. This type is beta-level in 1.8</p>
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec’s podSelector. The traffic must match both ports and to. This type is beta-level in 1.8</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
@@ -7822,6 +7828,9 @@ Both these may change in the future. Incoming requests are matched against the h
|
||||
</div>
|
||||
<div class="sect2">
|
||||
<h3 id="_v1beta1_networkpolicyport">v1beta1.NetworkPolicyPort</h3>
|
||||
<div class="paragraph">
|
||||
<p>DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.</p>
|
||||
</div>
|
||||
<table class="tableblock frame-all grid-all" style="width:100%; ">
|
||||
<colgroup>
|
||||
<col style="width:20%;">
|
||||
|
Reference in New Issue
Block a user