Closed YuryShkoda closed 3 years ago
Hello @YuryShkoda , any update on this error? I am facing the same issue.
Kustomize current version:
{Version:kustomize/v4.5.7 GitCommit:56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 BuildDate:2022-08-02T16:35:54Z GoOs:linux GoArch:amd64}
Error:
`TASK [vdm : kustomize - Generate deployment manifest] ** fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["kustomize", "build", "/home/vki/Desktop/repos/viya4-deployment/test-sas-viya-4-aks/kube-system", "--load_restrictor=none", "-o", "/home/vki/Desktop/repos/viya4-deployment/test-sas-viya-4-aks/kube-system/site.yaml"], "delta": "0:00:00.038902", "end": "2022-08-04 12:06:26.939365", "msg": "non-zero return code", "rc": 1, "start": "2022-08-04 12:06:26.900463", "stderr": "Error: unknown flag: --load_restrictor", "stderr_lines": ["Error: unknown flag: --load_restrictor"], "stdout": "", "stdout_lines": []}
PLAY RECAP ***** localhost : ok=83 changed=18 unreachable=0 failed=1 skipped=74 rescued=0 ignored=0 `
Kustomize must be version 3.7.0 as stated in the docs: https://github.com/sassoftware/viya4-deployment/blob/7bebc136e4df0f4f8da92896d98ab2cb43dda58a/docs/user/Dependencies.md#dependency-versions Once you try and validate with 3.7.0 let us know. If it's still a problem we'll keep this open. If not please close this issue. Thx.
Thank you for your help. Switched back the Kustomize version from 4 to 3.7 and it works.
Script:
Error:
Kustomize current version:
Also tried the latest version of
Kustomize