sassoftware / viya4-deployment

This project contains Ansible code that creates a baseline in an existing Kubernetes environment for use with the SAS Viya Platform, generates the manifest for an order, and then can also deploy that order into the Kubernetes environment specified.
Apache License 2.0
71 stars 64 forks source link

Kustomize - Generate deployment manifest -- "Error: unknown flag: --load_restrictor" #274

Closed terencet3 closed 10 months ago

terencet3 commented 2 years ago

image

Searching online, it seems the issue is happening because the --load_restrictor flag is no longer supported in the latest version of kustomize.

I fixed this by changing the value inside the ./viya4-deployment/roles/vdm/tasks/kustomize.yaml file.

The correct tag is --load restrictor LoadRestrictionsNone

thpang commented 2 years ago

Are you using the Dockerfile included to generate a docker image to run or are you using native tools like ansible and kustomize to run the viya4-deployment? If its the later you'll need to ensure you're using kustomize version 3.7.0. That's the only version the SAS tooling works with.

dhoucgitter commented 10 months ago

Marking as stale/inactive. If there are additional questions, please open a new Github issue.

dhoucgitter commented 10 months ago

Closing #274 as completed.