Repository navigation
DOCS-3097: Fix inaccuracies on the StagedNetworkPolicy reference - #3116
Merged
ctauchen merged 8 commits intoOct 19, 2026
Merged
Conversation
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Resolve the documented naming constraints and the inaccurate HTTPMatch content exposed by the new imports.
2 open findings
What changed in this PR
Updates StagedNetworkPolicy references across current and versioned Calico documentation.
Changes:
- Clarifies tier prerequisites and naming rules.
- Documents
stagedActionwhere verified. - Adds HTTPMatch reference content.
| File | Summary |
|---|---|
calico/reference/resources/stagednetworkpolicy.mdx |
Updates the current reference. |
calico_versioned_docs/version-3.33/reference/resources/stagednetworkpolicy.mdx |
Updates the 3.33 reference. |
calico_versioned_docs/version-3.32/reference/resources/stagednetworkpolicy.mdx |
Updates the 3.32 reference. |
calico_versioned_docs/version-3.31/reference/resources/stagednetworkpolicy.mdx |
Updates the 3.31 reference with version-specific naming. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| | Field | Description | Accepted Values | Schema | Default | | ||
| | --------- | ------------------------------------------------------------------ | --------------------------------------------------- | ------ | --------- | | ||
| | name | The name of the network policy. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string | | | ||
| | name | The name of the network policy. Required. | Lowercase alphanumeric string with optional `-` and `.`. | string | | |
| | Field | Description | Accepted Values | Schema | Default | | ||
| | --------- | ------------------------------------------------------------------ | --------------------------------------------------- | ------ | --------- | | ||
| | name | The name of the network policy. Required. | Alphanumeric string with optional `.`, `_`, or `-`. | string | | | ||
| | name | The name of the network policy. Required. | Lowercase alphanumeric string with optional `-` and `.`. | string | | |
…Ds in the next StagedNetworkPolicy reference
…Ds in the 3.33 StagedNetworkPolicy reference
The one-period limit comes from the Calico validator, which runs in calicoctl and in the Calico API server. Write it as a plain rule, as the 3.32 page does.
Every version says the name is lowercase alphanumeric with optional hyphens and at most one period.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fixes statements on the StagedNetworkPolicy reference that a test cluster showed to be wrong.
Jira: https://tigera.atlassian.net/browse/DOCS-3097
internal-accesstier exists. The page now says so._and uppercase. The validator rejects both.stagedActionfield. It now lists the values and theDeleteconstraint.defaulttier must be named<tier>.<name>.Changes next, 3.33 and 3.32, reproduced on v3.33.0 and v3.32.2, and 3.31, reproduced on v3.31.7.
., because calicoctl rejects more. With native v3 CRDs, kubectl accepts names with more dots.in. Upper-caseINfails to parse.Next and 3.33 were verified in both API server mode and native v3 CRD mode.
Not changed:
stagedActionrow was not verified on a 3.31 cluster, so it is left out of that tree.exactpaths match after normalization andprefixmatches only at path-segment boundaries. kind runs no Dikastes, so the cluster could not show this.#selectors, but its heading isSelector, so those links are dead.actionas required is in DOCS-3095: Fix inaccuracies on the StagedGlobalNetworkPolicy reference #3118. The other trees get it from DOCS-3085: Fix inaccuracies on the GlobalNetworkPolicy reference #3115.Preview: