Error: var '{CERTIFICATE_NAME cert-manager.io_v1_Certificate {metadata.name}}' cannot be mapped to a field in the set of known resources #2269
-
Hi there
I update a few kustomization.yaml according to the book. attached.
but I got error when I run make deploy
wonder anything I miss here? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
I ran into the same issue. I guess the docs might skip some steps. |
Beta Was this translation helpful? Give feedback.
-
In my case there was some problem with the certificate object in configs/certmanager/certtificate.yaml.
I got by this error. |
Beta Was this translation helpful? Give feedback.
-
Could you please let us know: If you create a project with go/v3 and bump kustomize v4+ then it might be the reason. In this scenario, we would recommend you use the new plugin kb init --plugins=go/v4-alpha which supports kustomize v4 and has changed in the scaffolds. |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
@HenryXie1,
Could you please let us know:
a) What is the version. of kustomize used
b) The content of the PROJECT file
c) What is the KB CLI version used
If you create a project with go/v3 and bump kustomize v4+ then it might be the reason. In this scenario, we would recommend you use the new plugin kb init --plugins=go/v4-alpha which supports kustomize v4 and has changed in the scaffolds.