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
Reviewed `crd2pulumi/pkg/codegen/java.go` and `pulumi-java` codegen sources.
Found in `pulumi-java` `GeneratePackage` path: `generateModuleContextMap` sets `BasePackage` to
"com." + sanitizeImport(p.Namespace()) + "." when `BasePackage` is empty and `pkg.Namespace` is non-empty.
Since `crd2pulumi` sets `pkg.Namespace` to "com.pulumiverse", pulumi-java prepends its own "com." producing
"com.com.pulumiverse" → double com in output paths. Fix is to explicitly set the Java PackageInfo
BasePackage to the provided PackageNamespace so the pulumi-java defaulting logic doesn’t add an extra "com.".
0 commit comments