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
I was trying to use the ConfigGroup to release a number of YAML job files and some of the files does not have a name in their metadata, instead they have generateName property. But when you run the ConfigGroup class with this file it does not recognize this name and returns the error below.
Exception: YAML object does not have a .metadata.name: batch/v1/Job
CLI
Version 3.139.0
Go Version go1.23.3
Go Compiler gc
Plugins
KIND NAME VERSION
resource docker 4.5.5
resource gcp 7.38.0
resource kubernetes 4.17.1
resource postgresql 3.11.3
language python 3.139.0
resource random 4.16.4
Host
OS darwin
Version 14.5
Arch x86_64
Dependencies:
NAME VERSION
pip 24.2
pulumi_random 4.16.4
setuptools 74.1.2
wheel 0.44.0
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
@emirozmen07 Unfortunately we do not currently support manifests within a ConfigGroup to not have an explicit name. There are a few challenges that would need to be addressed before we can support this feature:
It is not trivial to be able to assign a Pulumi resource name
Server-side apply does not support generateName
Please ensure that your raw k8s manifest contain an explicit name within them if you would like to use them within a ConfigGroup resource.
What happened?
I was trying to use the
ConfigGroup
to release a number ofYAML
job files and some of the files does not have a name in theirmetadata
, instead they havegenerateName
property. But when you run theConfigGroup
class with this file it does not recognize this name and returns the error below.Example
Try to insert the YAML below using the code above.
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: