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
error[E2F04]: CannotFindModule
--> /home/daniel/project-prodlab/homelab-controlplane/main.k:1:1
|
1 | import crossplane
| ^ Cannot find the module crossplane from /home/daniel/project-prodlab/homelab-controlplane/crossplane
|
suggestion: try 'kcl mod add crossplane' to download the package not found
suggestion: find more package on 'https://artifacthub.io'
error[E2G22]: TypeError
--> /home/daniel/project-prodlab/homelab-controlplane/main.k:3:1
|
3 | crossplane.v1.Provider {
| ^ attribute 'v1' not found in 'module 'crossplane''
|
This is a minor inconvenience since the workaround is clear.
2. What did you expect to see? (Required)
I expected the atom "crossplane" to function as a package namespace that would let me access any subpackage resource under it by fully qualifying the name.
3. What did you see instead (Required)
import crossplane appears not to cause an error, but effectively doesn't import anything, because it's not a package on it's own -- so what did I import?
4. What is your KCL components version? (Required)
I don't know how to get the version of my kcl components. here is my version of kcl:
$ kcl --version
kcl version 0.10.0-beta.3
and my kcl.mod file dependencies
[dependencies]
k8s = "1.31"
crossplane = "1.16.0"
The text was updated successfully, but these errors were encountered:
Peefy
changed the title
import crossplane doesn't work as expected
[Enhancement] Package namespace that would let someone access any subpackage resource under it by fully qualifying the name.
Oct 12, 2024
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Then kcl run the above file
Instead of I have to:
This is a minor inconvenience since the workaround is clear.
2. What did you expect to see? (Required)
I expected the atom "crossplane" to function as a package namespace that would let me access any subpackage resource under it by fully qualifying the name.
3. What did you see instead (Required)
import crossplane appears not to cause an error, but effectively doesn't import anything, because it's not a package on it's own -- so what did I import?
4. What is your KCL components version? (Required)
I don't know how to get the version of my kcl components. here is my version of kcl:
and my kcl.mod file dependencies
The text was updated successfully, but these errors were encountered: