kirederik / backstage-k8s-scaffolder-actions

Collection of scaffolder actions for interacting with Kubernetes on Backstage, including apply and delete.
Apache License 2.0
4 stars 1 forks source link

Specify Target Cluster? #2

Open billabongrob opened 2 months ago

billabongrob commented 2 months ago

Hello, How would one go about specifying the target cluster with these actions?

kirederik commented 2 months ago

it's not currently supported

i'll add it as i work on #1

billabongrob commented 2 months ago

Thanks @kirederik! This plugin has potential to ease chicken and egg problems in my env.

billabongrob commented 2 months ago

Two things I've found while trying to get this lynchpin in my IDP figured out is...

  1. When doing local development, it would appear that@kubernetes/client-node uses the local machines' k8s config.
  2. This does not align with the clusters in the app config kubernetes section.

Sharing is caring.