Skip to content

Commit

Permalink
Update docs and clients with latest API versions (#5884)
Browse files Browse the repository at this point in the history
Signed-off-by: Lan Luo <[email protected]>
  • Loading branch information
luolanzone authored Jan 18, 2024
1 parent 913884b commit f131dd7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,13 @@ These are the CRDs currently available in `crd.antrea.io`.
| `ExternalEntity` | v1alpha2 | v1.0.0 | N/A | N/A |
| `ExternalIPPool` | v1alpha2 | v1.2.0 | v1.13.0 | N/A |
| `ExternalIPPool` | v1beta1 | v1.13.0 | N/A | N/A |
| `ExternalNode` | v1alpha1 | v1.8.0 | N/A | N/A |
| `IPPool`| v1alpha2 | v1.4.0 | N/A | N/A |
| `Group` | v1alpha3 | v1.8.0 | v1.13.0 | N/A |
| `Group` | v1beta1 | v1.13.0 | N/A | N/A |
| `NetworkPolicy` | v1alpha1 | v1.0.0 | v1.13.0 | N/A |
| `NetworkPolicy` | v1beta1 | v1.13.0 | N/A | N/A |
| `SupportBundleCollection` | v1alpha1 | v1.10.0 | N/A | N/A |
| `Tier` | v1alpha1 | v1.0.0 | v1.13.0 | v2.0.0 |
| `Tier` | v1beta1 | v1.13.0 | N/A | N/A |
| `Traceflow` | v1alpha1 | v1.0.0 | v1.13.0 | N/A |
Expand Down
2 changes: 1 addition & 1 deletion docs/service-loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ selects the Nodes with label "network-role: ingress-node" to host the external
IPs:

```yaml
apiVersion: crd.antrea.io/v1alpha2
apiVersion: crd.antrea.io/v1beta1
kind: ExternalIPPool
metadata:
name: service-external-ip-pool
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/antreapolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import (
"k8s.io/apimachinery/pkg/util/wait"

"antrea.io/antrea/pkg/agent/apiserver/handlers/podinterface"
crdv1alpha1 "antrea.io/antrea/pkg/apis/crd/v1alpha1"
crdv1beta1 "antrea.io/antrea/pkg/apis/crd/v1beta1"
"antrea.io/antrea/pkg/controller/networkpolicy"
"antrea.io/antrea/pkg/features"
Expand Down Expand Up @@ -3940,7 +3939,7 @@ func testACNPIGMPQuery(t *testing.T, data *TestData, acnpName, caseName, groupAd
SetAppliedToGroup([]ACNPAppliedToSpec{{PodSelector: map[string]string{"antrea-e2e": label}}})

// create acnp with ingress rule for IGMP query
igmpType := crdv1alpha1.IGMPQuery
igmpType := crdv1beta1.IGMPQuery
builder.AddIngress(ProtocolIGMP, nil, nil, nil, nil, nil, &igmpType, &queryGroupAddress, nil, nil, nil, nil,
nil, nil, nil, false, nil, action, "", "", nil)
acnp := builder.Get()
Expand Down

0 comments on commit f131dd7

Please sign in to comment.