Skip to content

Commit

Permalink
add changelog + doc entry
Browse files Browse the repository at this point in the history
  • Loading branch information
tostieme committed May 18, 2024
1 parent a5e7a59 commit 2c9bf71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/2494.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
`resource/resource_kubernetes_network_policy_v1`: add support for `end_port`
```
1 change: 1 addition & 0 deletions docs/resources/network_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ The following arguments are supported:

* `port` - (Optional) The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.
* `protocol` - (Optional) The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.
* `end_port` - (Optional) The end_port indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. Cannot be defined if port is undefined or if port is defined as a named (string) port.

### `to`

Expand Down
1 change: 1 addition & 0 deletions docs/resources/network_policy_v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ The following arguments are supported:

* `port` - (Optional) The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers.
* `protocol` - (Optional) The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.
* `end_port` - (Optional) The end_port indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. Cannot be defined if port is undefined or if port is defined as a named (string) port.

### `to`

Expand Down

0 comments on commit 2c9bf71

Please sign in to comment.