forked from janus-idp/helm-backstage
-
Notifications
You must be signed in to change notification settings - Fork 30
Merging Orchestrator with RHDH chart #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
openshift-merge-bot
merged 22 commits into
redhat-developer:main
from
elai-shalev:orchestrator-chart-merge
Apr 27, 2025
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d5af8df
Orchestrator merged with backstage chart
elai-shalev 0f5159c
Readme changes
elai-shalev 25aeda3
changes to chart version and value lint issue
elai-shalev 48f796f
Changes after PR review
elai-shalev ebaf035
chart bump
elai-shalev 3c4bc99
updated plugins to correct versions
elai-shalev 2e87160
correct orchestrator plugins - official
elai-shalev f87de81
network policy pod selection + servicebinding default
elai-shalev a02d6bb
chart version bump
elai-shalev dadda07
orchestrator value flattened
elai-shalev 93f3380
values json update
elai-shalev 119049b
Exist check for sonataflowplatform
elai-shalev 21e6a9e
sonataflow job working for local psql
elai-shalev 211c028
Integrates sonataflowplatform with external DB + readme instructions
elai-shalev d3d4c5a
making job image configurable
elai-shalev 6cd62d8
moved wait to init container
elai-shalev 565e7d3
configurable images and comments
elai-shalev 90975a8
chart bump
elai-shalev fd98ba4
chart bump to 3.5.0
elai-shalev 1c309cd
lint issues
elai-shalev efd1bed
bumped version to 4.0.0
elai-shalev 8053637
conditionals for templates and error messages
elai-shalev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| {{- define "orchestrator.plugins" }} | ||
| {{- $config := include "orchestrator.plugins.config" . | fromYaml }} | ||
| plugins: | ||
| - disabled: false | ||
| package: "{{ $config.orchestratorPlugins.scope }}/{{ $config.orchestratorPlugins.orchestratorBackend.package }}" | ||
| integrity: "{{ $config.orchestratorPlugins.orchestratorBackend.integrity }}" | ||
| pluginConfig: | ||
| orchestrator: | ||
| dataIndexService: | ||
| url: http://sonataflow-platform-data-index-service.{{ .Release.Namespace }} | ||
| - disabled: false | ||
| package: "{{ $config.orchestratorPlugins.scope }}/{{ $config.orchestratorPlugins.orchestrator.package }}" | ||
| integrity: "{{ $config.orchestratorPlugins.orchestrator.integrity }}" | ||
| pluginConfig: | ||
| dynamicPlugins: | ||
| frontend: | ||
| red-hat-developer-hub.backstage-plugin-orchestrator: | ||
| appIcons: | ||
| - importName: OrchestratorIcon | ||
| module: OrchestratorPlugin | ||
| name: orchestratorIcon | ||
| dynamicRoutes: | ||
| - importName: OrchestratorPage | ||
| menuItem: | ||
| icon: orchestratorIcon | ||
| text: Orchestrator | ||
| module: OrchestratorPlugin | ||
| path: /orchestrator | ||
| - disabled: true | ||
| package: "{{ $config.orchestratorPlugins.scope }}/{{ $config.orchestratorPlugins.scaffolderBackendOrchestrator.package }}" | ||
| integrity: "{{ $config.orchestratorPlugins.scaffolderBackendOrchestrator.integrity }}"{{- end }} | ||
| pluginConfig: | ||
| orchestrator: | ||
| dataIndexService: | ||
| url: http://sonataflow-platform-data-index-service.{{ .Release.Namespace }} | ||
|
|
||
| {{- define "orchestrator.plugins.config" }} | ||
| orchestratorPlugins: | ||
|
elai-shalev marked this conversation as resolved.
|
||
| scope: "@redhat" | ||
| orchestrator: | ||
| package: "backstage-plugin-orchestrator@1.5.1" | ||
| integrity: sha512-7VOe+XGTUzrdO/av0DNHbydOjB3Lo+XdCs6fj3JVODLP7Ypd3GXHf/nssYxG5ZYC9F1t9MNeguE2bZOB6ckqTA== | ||
| orchestratorBackend: | ||
| package: "backstage-plugin-orchestrator-backend-dynamic@1.5.1" | ||
| integrity: sha512-VIenFStdq9QvvmgmEMG8O7b2wqIebvEcqNeJ9SWZ8jen9t+efTK6D3Rde74LQ1no1QaHLx8RoxNCOuTUEF8O/g== | ||
| scaffolderBackendOrchestrator: | ||
| package: "backstage-plugin-scaffolder-backend-module-orchestrator-dynamic@1.5.1" | ||
| integrity: sha512-bnVQjVsUZ470Vgm2kd5Lo/bVa2fF0q4GufBDc/8oTQsnP3zZJQqKFvFElBTCjY76RqkECydlvZ1UFybSzvockQ== | ||
| {{- end }} | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| {{- if and .Values.orchestrator.enabled .Values.orchestrator.serverlessLogicOperator.enabled }} | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| metadata: | ||
| name: {{ .Release.Name }}-allow-knative-to-sonataflow-and-workflows | ||
| # Sonataflow and Workflows are using the RHDH target namespace. | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| spec: | ||
| podSelector: {} | ||
|
elai-shalev marked this conversation as resolved.
|
||
| ingress: | ||
| - from: | ||
| - namespaceSelector: | ||
| matchLabels: | ||
| # Allow knative events to be delivered to workflows. | ||
| kubernetes.io/metadata.name: knative-eventing | ||
| - namespaceSelector: | ||
| matchLabels: | ||
| # Allow auxiliary knative function for workflow (such as m2k-save-transformation) | ||
| kubernetes.io/metadata.name: knative-serving | ||
| --- | ||
| # NetworkPolicy to unblock incoming traffic to the namespace | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| metadata: | ||
| name: {{ .Release.Name }}-allow-external-communication | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| spec: | ||
| podSelector: {} | ||
| ingress: | ||
| - from: | ||
| - namespaceSelector: | ||
| matchLabels: | ||
| # Allow knative events to be delivered to workflows. | ||
| kubernetes.io/metadata.name: openshift-ingress | ||
| --- | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| metadata: | ||
| name: {{ .Release.Name }}-allow-intra-network | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| spec: | ||
| # Apply this policy to all pods in the namespace | ||
| podSelector: {} | ||
| # Specify policy type as 'Ingress' to control incoming traffic rules | ||
| policyTypes: | ||
| - Ingress | ||
| ingress: | ||
| - from: | ||
|
elai-shalev marked this conversation as resolved.
|
||
| # Allow ingress from any pod within the same namespace | ||
| - podSelector: {} | ||
|
|
||
|
|
||
| {{- end }} | ||
| --- | ||
| {{- if and .Values.orchestrator.enabled .Values.orchestrator.sonataflowPlatform.monitoring.enabled }} | ||
| # NetworkPolicy to allow openshift-user-workload-monitoring pods to access all pods within the workflow's namespace | ||
| apiVersion: networking.k8s.io/v1 | ||
| kind: NetworkPolicy | ||
| metadata: | ||
| name: {{ .Release.Name }}-allow-monitoring-to-sonataflow-and-workflows | ||
| namespace: {{ .Release.Namespace | quote }} | ||
| spec: | ||
| # Apply this policy to all pods in the namespace | ||
| podSelector: {} | ||
| # Specify policy type as 'Ingress' to control incoming traffic rules | ||
| policyTypes: | ||
| - Ingress | ||
| ingress: | ||
| - from: | ||
| - namespaceSelector: | ||
| matchLabels: | ||
| # Allow openshift-user-workload-monitoring pods to access the workflow. | ||
| kubernetes.io/metadata.name: openshift-user-workload-monitoring | ||
| {{- end }} | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.