This post was originally published on this site
When running the OpenShift-Install CLI tool on my Apple MacBook M1 to create an OpenShift Cluster I kept hitting the same error:
assertion failed [inst.has.value()]: failed to decode instruction: 0x0
This is believed to be an issue created with the use of Rosetta 2 and Golang, and is somewhat documented on this GitHub issue by Apple Engineering.
The OpenShift-Install CLI Tool uses Terraform which relies on GoLang.
In the above GitHub issue, it is found that running the below command either locally, or keeping it in your ~/.zshrc file will resolve the issue as a workaround.
The post Openshift-install CLI Tool – Crash – Unable to decode instructions – Apple MacBook M1 appeared first on vEducate.co.uk.