Open ShadowJonathan opened 11 months ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Have you found any workaround in the meantime?
No.
There seems to be one here:
There seems to be one here:
8483
working , thank you @fjanicki !
This worked for me, basically using the same tool that appears to be used by the repo to build the binaries.
brew install goreleaser
, close/reopen terminal to refresh env vars to reflect these installsgit tag 4.9.1
(or whatever the latest version is), the git tag is needed because otherwise goreleaser complains about the tags used in repo not matching semvergoreleaser build --single-target
, this will create kubectl plugin binary in /dist/ingress-nginx_darwin_arm64/ln -s $PWD/dist/ingress-nginx_darwin_arm64/kubectl-ingress-nginx /usr/local/bin/kubectl-ingress-nginx
so that kubectl can find the plugin binary (assuming that /usr/local/bin is in your $PATH)That being said, given the goreleaser config includes darwin/arm64, the binary might already be getting built automatically, I just don't know where to find it. I looked in the release archive files and found only the source code or chart files, no plugin binary.
git clone https://github.com/kubernetes/ingress-nginx
cd cmd/plugin
go build
# Better move it to ~/.krew/bin/kubectl-ingress_nginx if you have krew installed.
# ATTENTION: The plugin name requires `-` to be replace with `_`!
sudo mv plugin /usr/local/bin/kubectl-ingress_nginx
Can we please get an official release? And also get it updated in krew? The krew version is 4 years old!
What happened:
What you expected to happen:
The plugin to be installed
NGINX Ingress controller version (exec into the pod and run nginx-ingress-controller --version.):
N/A
Kubernetes version (use
kubectl version
):Environment:
uname -a
): DarwinHow to reproduce this issue:
The last time this plugin has been updated was 3 years ago: https://github.com/kubernetes-sigs/krew-index/blob/master/plugins/ingress-nginx.yaml