UNCLASSIFIED - NO CUI

Convert bb-common from library chart to subchart

Summary

The chart now uses bb-common as a subchart instead of a library chart. ECK Operator's Istio and network policy settings move under a bb-common key, where the bb-common schema validates them, so a typo or unsupported key now fails at install time instead of being silently ignored.

With the umbrella's default values, the operator renders the same resources as before. The one change is its Kubernetes API egress policy, which now uses Big Bang's global kubeAPI definition (see Upgrade Notices). The webhook PeerAuthentication exception and the OpenShift istio-cni NetworkAttachmentDefinition read their settings from bb-common.istio.

Relevant logs/screenshots

Template comparison against main, using the umbrella's generated values with Istio sidecar mode and with ambient mode:

  • Standalone package defaults render identically.
  • With Istio and network policies enabled, Istio resources and network policies are identical. The only difference is the operator's kubeAPI egress CIDRs, which now come from the global definition.
  • Umbrella helm unit tests: 96 suites and 531 tests pass, including a new ECK Operator values suite.

Local k3d clean install with Istio sidecar mode and network policies enabled, using the paired umbrella branch:

  • The eck-operator HelmRelease is Ready on 3.5.0-bb.3. bb-common, now a subchart, renders the operator network policies (Elasticsearch, Kibana, kubeAPI egress) and the webhook PeerAuthentication exception.
  • The operator reconciled the test Elasticsearch and Kibana to green.
  • The Elasticsearch/Kibana Cypress Helm test (logging-ek-cypress-test) passed: 1/1 specs.

Linked Issue

#171 (closed)

Umbrella Branch

171-eck-operator-bb-common-subchart

Upgrade Notices

ECK Operator now uses bb-common as a subchart. If you override these values under packages.eckOperator.values, move them:

  • istio.* → bb-common.istio.*
  • networkPolicies.* → bb-common.networkPolicies.*
  • istio.injection has been removed. Delete any override that sets it.
  • The operator's Kubernetes API egress no longer comes from networkPolicies.controlPlaneCidr/networkPolicies.vpcCidr. It now uses the global networkPolicies.egress.definitions.kubeAPI definition (defaults to the private RFC1918 ranges). If your API server is reachable only outside those ranges, set that global definition.
Edited by Rob Ferguson

Merge request reports

Loading
Loading