parodos-dev / orchestrator-helm-chart

Helm chart to deploy the Orchestrator solution suite.
https://parodos.dev/orchestrator-helm-chart/
Apache License 2.0
2 stars 22 forks source link

orchestrator-k8s: load locations from a local fs #148

Closed rgolangh closed 7 months ago

rgolangh commented 7 months ago

Loading backstage locations from URL is limiting when all you need is to be up and running with notifications plugins working and you don't want the extra steps to configure a github token just to be able to pull those in Instead the chart would install those locatios files in a config map from the /locations directory The price to pay is that those location files need to manually downloaded and placed in the location dir from time to time. note: the location file in the values.yaml must match the name in the config map

To use the mount in backstage there's a new backstage-location config map and an backstage.extraVolumes and backstage.extraVolumeMounts config entries in values.yaml

Signed-off-by: Roy Golan rgolan@redhat.com

rgolangh commented 7 months ago

still checking if this works as expected

rgolangh commented 7 months ago

Works out of the box:

curl "http://localhost:9090/api/notifications/notifications" -H "Content-Type: application/json" -d '{"message": "hi from cli", "title":"hi", "targetUsers":["default/guest"], "origin":"cli"}'
{"messageId":"851d97d3-c2a6-4142-9b07-bb78d99f26c6"}

image