I tried this:
I was trying to seed a namespace by file when launching the API
metadata:
name: mynamespace
This namespace never would show up in the ui.
This happened:
Namespace never appeared in UI, but first attempts succeeds (2nd fails duew to duplicate name in resource repository, I believe due to absence of a name).
I expected this:
namespace to appear in UI
Is there a workaround?
I altered these lines to this:
var ns = serializer......
var ns_resource = new Namespace(){
Metadata = new(){
Name = ns.Metadata.Name
}
};
Which does work for me. I am not a .Net/C# developer, so there might be better ways to do this (e.g. ProvisionWorkflowsAsync has more sophisiticated checks for duplicates etc.), but kindly asking for someone to fix it.
Anything else?
No response
Platform(s)
MacOS
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.name: Bug Report 🐞
I tried this:
I was trying to seed a namespace by file when launching the API
This namespace never would show up in the ui.
This happened:
Namespace never appeared in UI, but first attempts succeeds (2nd fails duew to duplicate name in resource repository, I believe due to absence of a name).
I expected this:
namespace to appear in UI
Is there a workaround?
I altered these lines to this:
Which does work for me. I am not a .Net/C# developer, so there might be better ways to do this (e.g.
ProvisionWorkflowsAsynchas more sophisiticated checks for duplicates etc.), but kindly asking for someone to fix it.Anything else?
No response
Platform(s)
MacOS
Community Notes