vars cannot be resolved in 3.9.0: vars are not found in corresponding resource #3377
Labels
area/plugin
issues for plugins
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
When using kustomize 3.8.8 everythings works just fine. in 3.9.0 however I'll get the error
Files that can reproduce the issue
kustomization.yaml
service-a/service-a.yaml
service-a/patch-service-a-ingress.yaml
service-b/service-b.yaml
service-b/patch-service-b-ingress.yaml
Expected output
This output was generated with kustomize 3.8.8 with command
kustomize build .
The vars are replaced by the url from the patch files.
Actual output
This output is printed, when using kustomize 3.9.0 with command
kustomize build .
Kustomize version
kustomize version not working:
{Version:kustomize/v3.9.0 GitCommit:826b5d9792fb67c4d8f8cd59747698ebf0b22720 BuildDate:2020-12-10T21:52:58+00:00 GoOs:darwin GoArch:amd64}
kustomize version working:
{Version:kustomize/v3.8.8 GitCommit:72262c5e7135045ed51b01e417a7e72f558a22b0 BuildDate:2020-12-10T18:44:34+00:00 GoOs:darwin GoArch:amd64}
Platform
macOS 10.15.7
The text was updated successfully, but these errors were encountered: