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
Which project are you requesting an enhancement for?
kr8s
What do you need?
The Kubernetes spec allows you to set the metadata.generateName field instead of the metadata.name field which will cause it to generate a name at creation time with a random unique suffix.
This works in kr8s today when creating objects directly.
Which project are you requesting an enhancement for?
kr8s
What do you need?
The Kubernetes spec allows you to set the
metadata.generateName
field instead of themetadata.name
field which will cause it to generate a name at creation time with a random unique suffix.This works in
kr8s
today when creating objects directly.However if we try and inspect the name before we create it we get an exception.
Object reprs also fail because they access the
.name
attribute.It would also be nice to support this in the
.gen()
method (xref #142).Currently if you want to use the
generateName
field with.gen()
you need to rename the metadata key.It would be much nicer if we could just specify this in the
.gen()
classmethod.The text was updated successfully, but these errors were encountered: