Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed documentation updates address the stated inaccuracies across all affected versions.
0 open findings
What changed in this PR
Updates the StagedKubernetesNetworkPolicy reference to correct persistence behavior and document its specification fields across current and v3.31–v3.33 documentation.
Changes:
- Clarifies conversion to a non-enforced Calico policy.
- Documents
stagedAction, selectors, rules, andpolicyTypes. - Applies updates to all reviewed versions.
| File | Description |
|---|---|
calico/reference/resources/stagedkubernetesnetworkpolicy.mdx |
Updated current reference documentation. |
calico_versioned_docs/version-3.33/reference/resources/stagedkubernetesnetworkpolicy.mdx |
Updated v3.33 reference documentation. |
calico_versioned_docs/version-3.32/reference/resources/stagedkubernetesnetworkpolicy.mdx |
Updated v3.32 reference documentation. |
calico_versioned_docs/version-3.31/reference/resources/stagedkubernetesnetworkpolicy.mdx |
Updated v3.31 reference documentation. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
✅ Deploy Preview for calico-docs-preview-next ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
…dKubernetesNetworkPolicy reference
…dKubernetesNetworkPolicy reference
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 StagedKubernetesNetworkPolicy reference that a test cluster showed to be wrong.
Jira: https://tigera.atlassian.net/browse/DOCS-3096
stagedAction,podSelector,ingress,egressandpolicyTypes, including that an omittedpolicyTypesmeans ingress only.Changes next, 3.33 and 3.32, reproduced on v3.33.0 and v3.32.2, and 3.31, reproduced on v3.31.7.
policyTypesrow says what each mode stores when the field is omitted and the policy has egress rules, and thestagedActionrow says to leave other fields empty withDelete, because only calicoctl enforces it.Next and 3.33 were verified in both API server mode and native v3 CRD mode.
Not changed:
policyTypesvalues other thanIngressandEgressand treats them as ingress only. The table does not say so.Preview: