Skip to content

[Bug]: Need to make kubectl match arch of container #64

@jessesanford

Description

@jessesanford

What is your environment, configuration, and command?

Running on my m4 MacBook:

idpbuilder create --recreate --use-path-routing --package https://github.com/cnoe-io/stacks//ref-implementation

++ ./kubectl -n argocd get secret argocd-initial-admin-secret -o 'go-template={{.data.password | base64decode }}'
rosetta error: unhandled auxillary vector type 29

curl -sS -LO "https://dl.k8s.io/release/v1.28.3//bin/linux/amd64/kubectl"

When running the reference arch on arm arch hosts this line will cause kubectl command to crash and keycloak will not install correctly. We need to make it arch independent

What did you do and What did you see instead?

idpbuilder create --recreate --use-path-routing --package https://github.com/cnoe-io/stacks//ref-implementation

++ ./kubectl -n argocd get secret argocd-initial-admin-secret -o 'go-template={{.data.password | base64decode }}'
rosetta error: unhandled auxillary vector type 29

Additional Information. Logs.

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions