This message was deleted.
# kubernetes
s
This message was deleted.
I can’t find anything in SDK that says how to omit resources 😞
thanks
could you please guide?
Copy code
transformations: [
      (o) => {
        if (o.type === "kubernetes:core/v1:Endpoints") {
          o.props.apiVersion = "v1";
          o.props.kind = "List";
          o.props.metadata = {
            ...o.props.metadata,
            name: `list-${o.props.metadata.name}`,
            labels: {},
          };
        }
        return o;
      },
    ],
this does work, but getting this error:
Copy code
was not successfully created by the Kubernetes API server : failed to determine if the following GVK is namespaced: /v1, Kind=List
g
i
@gorgeous-egg-16927 looks like the interface is different, anyway, thanks!
@gorgeous-egg-16927 I am keep getting
Copy code
was not successfully created by the Kubernetes API server : failed to determine if the following GVK is namespaced: /v1, Kind=List
using that
omit
approach by converting into List, any ideas how to fix it?
-d mode doesn’t help me