Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions calico/reference/resources/networkset.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coming from (or going to) external, non-$[prodname], networks.

`NetworkSet` is a namespaced resource. A `NetworkSet` in a specific namespace
only applies to [network policies](networkpolicy.mdx)
in that namespace. Two resources are in the same namespace if the `namespace`
in that namespace, unless a policy rule uses a `namespaceSelector`. Rules in global network policies can match network sets in any namespace. Two resources are in the same namespace if the `namespace`
value is set the same on both. (See [GlobalNetworkSet](globalnetworkset.mdx) for non-namespaced network sets.)

For `calicoctl` commands that specify a resource type on the CLI, the following
Expand Down Expand Up @@ -53,9 +53,9 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| --------- | ------------------------------------------------------------------ | ------------------------------------------------- | ------ | --------- |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `_` or `-`. | string | |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `-` or `.`. | string | |
| namespace | Namespace provides an additional qualification to a resource name. | | string | "default" |
| labels | A set of labels to apply to this endpoint. | | map | |
| labels | A set of labels to apply to this network set. | | map | |

### Spec

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coming from (or going to) external, non-$[prodname], networks.

`NetworkSet` is a namespaced resource. A `NetworkSet` in a specific namespace
only applies to [network policies](networkpolicy.mdx)
in that namespace. Two resources are in the same namespace if the `namespace`
in that namespace, unless a policy rule uses a `namespaceSelector`. Rules in global network policies can match network sets in any namespace. Two resources are in the same namespace if the `namespace`
value is set the same on both. (See [GlobalNetworkSet](globalnetworkset.mdx) for non-namespaced network sets.)

For `calicoctl` commands that specify a resource type on the CLI, the following
Expand Down Expand Up @@ -53,9 +53,9 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| --------- | ------------------------------------------------------------------ | ------------------------------------------------- | ------ | --------- |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `_` or `-`. | string | |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `-` or `.`. | string | |
| namespace | Namespace provides an additional qualification to a resource name. | | string | "default" |
| labels | A set of labels to apply to this endpoint. | | map | |
| labels | A set of labels to apply to this network set. | | map | |

### Spec

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coming from (or going to) external, non-$[prodname], networks.

`NetworkSet` is a namespaced resource. A `NetworkSet` in a specific namespace
only applies to [network policies](networkpolicy.mdx)
in that namespace. Two resources are in the same namespace if the `namespace`
in that namespace, unless a policy rule uses a `namespaceSelector`. Rules in global network policies can match network sets in any namespace. Two resources are in the same namespace if the `namespace`
value is set the same on both. (See [GlobalNetworkSet](globalnetworkset.mdx) for non-namespaced network sets.)

For `calicoctl` commands that specify a resource type on the CLI, the following
Expand Down Expand Up @@ -53,9 +53,9 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| --------- | ------------------------------------------------------------------ | ------------------------------------------------- | ------ | --------- |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `_` or `-`. | string | |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `-` or `.`. | string | |
| namespace | Namespace provides an additional qualification to a resource name. | | string | "default" |
| labels | A set of labels to apply to this endpoint. | | map | |
| labels | A set of labels to apply to this network set. | | map | |

### Spec

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coming from (or going to) external, non-$[prodname], networks.

`NetworkSet` is a namespaced resource. A `NetworkSet` in a specific namespace
only applies to [network policies](networkpolicy.mdx)
in that namespace. Two resources are in the same namespace if the `namespace`
in that namespace, unless a policy rule uses a `namespaceSelector`. Rules in global network policies can match network sets in any namespace. Two resources are in the same namespace if the `namespace`
value is set the same on both. (See [GlobalNetworkSet](globalnetworkset.mdx) for non-namespaced network sets.)

For `calicoctl` commands that specify a resource type on the CLI, the following
Expand Down Expand Up @@ -53,9 +53,9 @@ spec:

| Field | Description | Accepted Values | Schema | Default |
| --------- | ------------------------------------------------------------------ | ------------------------------------------------- | ------ | --------- |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `_` or `-`. | string | |
| name | The name of this network set. Required. | Lower-case alphanumeric with optional `-` or `.`. | string | |
| namespace | Namespace provides an additional qualification to a resource name. | | string | "default" |
| labels | A set of labels to apply to this endpoint. | | map | |
| labels | A set of labels to apply to this network set. | | map | |

### Spec

Expand Down
Loading