You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Argo Workflows plugin will utilize the backstage resources backstage.io/kubernetes-namespace annotation if present. This presents an issue with the Backstage Kubernetes plugin if the two do not share the same namespace target.
To be more specific, my organization uses shared namespaces for certain workflows - ie, all docker build steps for building and pushing an image to our artifact repo runs in the build-workflows namespace. However, the k8s resources are within a namespace named after the application itself.
Since the plugin will default to the default namespace if this annotation is omitted, we have to include it. But, once we include it, the k8s plugin will try to use the namespace for item look-up. This means essentially only one of these two things can configured correctly if they do not use the same namespace.
Possible Solution
if we simply add a new annotation config named something like argo-workflows.cnoe.io/argo-workflows-namespacethe plugins can stop sharing. I have started looking at the code on my local to see if this is as straightforward as it feels. I do not mind submitting a PR myself.
Alternatives Considered
No response
The text was updated successfully, but these errors were encountered:
thanks @zgastley for the suggestion. this sounds good to me. We can keep the other annotation too but add a new one for when conflicts arise. should be a fairly easy PR. looking forward to your contribution.
Have you searched for this feature request?
Problem Statement
Currently, the Argo Workflows plugin will utilize the backstage resources
backstage.io/kubernetes-namespace
annotation if present. This presents an issue with the Backstage Kubernetes plugin if the two do not share the same namespace target.To be more specific, my organization uses shared namespaces for certain workflows - ie, all docker build steps for building and pushing an image to our artifact repo runs in the
build-workflows
namespace. However, the k8s resources are within a namespace named after the application itself.Since the plugin will default to the
default
namespace if this annotation is omitted, we have to include it. But, once we include it, the k8s plugin will try to use the namespace for item look-up. This means essentially only one of these two things can configured correctly if they do not use the same namespace.Possible Solution
if we simply add a new annotation config named something like
argo-workflows.cnoe.io/argo-workflows-namespace
the plugins can stop sharing. I have started looking at the code on my local to see if this is as straightforward as it feels. I do not mind submitting a PR myself.Alternatives Considered
No response
The text was updated successfully, but these errors were encountered: