UNCLASSIFIED - NO CUI

Remove stale networkPolicies CIDR values from umbrella schema

Summary

Removes networkPolicies.controlPlaneCidr, vpcCidr and nodeCidr from the values schema. The #3484 (closed) post-cleanup removed the first two from values.yaml. It also drops the unused nodeCidr from values.yaml.

The networkPolicies schema now sets additionalProperties: false, allowing only enabled, egress and ingress. Nested keys are left for bb-common's schema to validate.

Relevant logs/screenshots

  • helm lint passes, and all 687 unit tests pass.
  • helm template with tests/test-values.yaml renders.
  • --set networkPolicies.nodeCidr=... (or vpcCidr, controlPlaneCidr) now fails schema validation.

Linked Issue

Closes #3507 (closed)

Upgrade Notices

networkPolicies.controlPlaneCidr, networkPolicies.vpcCidr and networkPolicies.nodeCidr have been removed. These values had no effect, and setting them now fails schema validation, as does any other unknown top-level key under networkPolicies. Remove them from your values; use networkPolicies.ingress.definitions / networkPolicies.egress.definitions for custom CIDR rules.

Edited by Rob Ferguson

Merge request reports

Loading
Loading