kubenix
kubenix copied to clipboard
unfurl list of objects
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)