[backplane-5.0] Include Hive operator NetworkPolicy in bundle/chart regeneration - #4021
Conversation
Hive's hack/bundle-gen.sh reads config/operator/operator_netpol.yaml only to populate CSV data in OperatorHub mode; it never emits the NetworkPolicy as a standalone manifest in the generated bundle. As a result the Hive operator's NetworkPolicy was never picked up when regenerating the hive-operator Helm chart via 'make regenerate-charts-from-bundles'. Update gen-hive-bundle.sh to copy config/operator/operator_netpol.yaml directly from the cloned Hive repo into the bundle output directory (renamed to hive-operator-networkpolicy.yaml) so it flows through the existing bundle-to-chart tooling like any other manifest, picking up the standard Helm templating (networkPolicies.enabled guard, namespace substitution) automatically. Fails hard if the file is missing so a future rename/removal upstream is caught immediately. Also includes the resulting regenerated chart template. Signed-off-by: dislbenn <dbennett@redhat.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
/lgtm |
|
/retest |
|
All PipelineRuns for this commit have already succeeded. Use |
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dislbenn, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
c0276ee
into
stolostron:backplane-5.0



This is an automated cherry-pick of #4019
/assign dislbenn