kubenix icon indicating copy to clipboard operation
kubenix copied to clipboard

unfurl list of objects

Open hall opened this issue 2 years ago • 0 comments

The generic List kind is a client-side implementation and therefore cannot be validated by the API. So we need to unfurl its items key into individual resources.

For example, the Traefik helm chart uses this kind for their service which results in the following error:

error: The option `kubernetes.api.resources.core.v1.List' does not exist. Definition values:
       - In `/nix/store/jmndr7q0gkw34hkjgycg85s0n36khx4q-source/modules/helm.nix':
           {
             traefik = {
               _type = "merge";
               contents = [
                 {
           ...
(use '--show-trace' to show detailed location information)

hall avatar Sep 01 '22 22:09 hall