cherry-picking NetworkPolicy fix, chart bump for FLPATH-2615#217
Merged
nickboldt merged 2 commits intoredhat-developer:release-1.7from Aug 13, 2025
Merged
cherry-picking NetworkPolicy fix, chart bump for FLPATH-2615#217nickboldt merged 2 commits intoredhat-developer:release-1.7from
nickboldt merged 2 commits intoredhat-developer:release-1.7from
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideBackports a missing network policy fix into the backstage Helm chart by renaming the policy and adding a namespace selector for the openshift-serverless-logic namespace, and updates chart metadata with a version bump to 4.4.4 and corresponding README badge update. Class diagram for updated NetworkPolicy templateclassDiagram
class NetworkPolicy {
+name: string
+namespace: string
+spec: Spec
}
class Spec {
+podSelector: PodSelector
+ingress: Ingress[]
}
class Ingress {
+from: NamespaceSelector[]
}
class NamespaceSelector {
+matchLabels: map
}
NetworkPolicy --> Spec
Spec --> PodSelector
Spec --> Ingress
Ingress --> NamespaceSelector
%% Updated: NamespaceSelector now includes matchLabels for "openshift-serverless-logic"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @elai-shalev - I've reviewed your changes - here's some feedback:
- Include explicit
podSelectorandpolicyTypesin the new NetworkPolicy template to maintain consistency with existing policies and prevent unintended scope. - Consider moving the
openshift-serverless-logicnamespace label intovalues.yamlso teams can customize the selector per environment without editing the template.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Include explicit `podSelector` and `policyTypes` in the new NetworkPolicy template to maintain consistency with existing policies and prevent unintended scope.
- Consider moving the `openshift-serverless-logic` namespace label into `values.yaml` so teams can customize the selector per environment without editing the template.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
@gazarenkov, please could you take a look? |
gazarenkov
approved these changes
Aug 13, 2025
|
1b06a23
into
redhat-developer:release-1.7
8 of 10 checks passed
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.



This PR will backport the fix intoduced on main through this PR.
The PR will fix a bug with a missing network policy in Orchestrator related configuration in the backstage chart.
This change is related to a bug captured here
And this PR will relate to this Jira issue.
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.Summary by Sourcery
Backport the network policy fix into the Backstage Helm chart to restore proper orchestration namespace access and bump the chart version accordingly
Bug Fixes:
Documentation:
Chores: