This message was deleted.
# kubernetes
s
This message was deleted.
s
can you try with this instead
Copy code
new k8s.yaml.ConfigFile("argocd_namespace", {
    file: "kubernetes_cluster_components/namespaces/argocd-namespace.yaml",
}, {provider: cluster.provider })
if this doesn't work, • what's in the
argocd-namespace.yaml
file? • can you double check that the filepath is correct? i think it should be relative to where this file is • is this literally everything that's in your index.ts file?
b
Hey Mike, thanks for looking into it. I found the issue. You were of course right with the provider stuff, but there was something more to it as well. I have installed pip version of awscli version and for some reason it wasn't compatible. I kept getting
"error: exec plugin: invalid apiVersion "<http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>"
error. So had to install awscli through brew and update the kubeconfig file again. This fixed my issues.
👍 1