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
This projects aims to translate Kubernetes API calls to Docker resources. It works great with Kubernetes clients such as kubectl and Lens/OpenLens but for some reasons when I try to use k9s I'm getting some errors when trying to access Secrets and ConfigMaps. Other resources are displaying fine.
I'm getting the following errors when trying to access the Secret and ConfigMap resources using k9s:
For secrets:
ERR Watcher failed for v1/secrets -- no kind "SecretList" is registered for version "v1" in scheme "pkg/runtime/scheme.go:100"
For configmaps:
ERR Watcher failed for v1/configmaps -- no kind "ConfigMapList" is registered for version "v1" in scheme "pkg/runtime/scheme.go:100"
I'm trying to understand whether this is coming from k9s directly or if k2d is missing something in the response format that k9s expects. I have found a similar issue with an older version of k9s but this is not giving any information: #427
Hum.. K9s uses the dynamic client api to render secret/cm/crd/... these calls come back as a table with col/row vs standard openapi json. I haven't played with k2d as of yet so not sure what could be the issue.
@derailed thanks for the update, could you point me at the location in k9s code where this is done? This might help me get a better understanding of the format the k2d should return.
Describe the bug
Hello there! I'm working on k2d, a Kubernetes API translator: https://github.com/portainer/k2d
This projects aims to translate Kubernetes API calls to Docker resources. It works great with Kubernetes clients such as kubectl and Lens/OpenLens but for some reasons when I try to use k9s I'm getting some errors when trying to access Secrets and ConfigMaps. Other resources are displaying fine.
I'm getting the following errors when trying to access the Secret and ConfigMap resources using k9s:
For secrets:
For configmaps:
I'm trying to understand whether this is coming from k9s directly or if k2d is missing something in the response format that k9s expects. I have found a similar issue with an older version of k9s but this is not giving any information: #427
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect to be able to list ConfigMap and Secret resources.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: