Package Details: openshift-client-bin 4.17.5-1

Git Clone URL: https://aur.archlinux.org/openshift-client-bin.git (read-only, click to copy)
Package Base: openshift-client-bin
Description: Client tools for OpenShift, binary release
Upstream URL: https://github.com/openshift/oc
Licenses: Apache
Conflicts: okd-client-bin, origin-client, origin-client-bin
Provides: oc
Submitter: erdii
Maintainer: erdii
Last Packager: erdii
Votes: 5
Popularity: 0.26
First Submitted: 2021-02-19 14:43 (UTC)
Last Updated: 2024-11-27 10:37 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

alwyn commented on 2023-05-13 09:58 (UTC)

@johnhamelink, that's odd, I've used it both with and without having kubectl installed and didn't experience any issues. Can you elaborate on the problem you are having?

johnhamelink commented on 2023-05-04 15:35 (UTC)

Hi there,

I was having issues using this package as-is because the kubectl binary that oc expects is not installed by default. This is probably fine, but it might be worth mentioning this somewhere to avoid confusion for those of us who already had a kubectl binary installed?

chmouel commented on 2021-12-19 20:25 (UTC)

latest openshift releases are 4.9.x

what about using binaries from :

https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/

instead?

erdii commented on 2021-05-15 12:46 (UTC)

@twelveeighty thanks for pointing out! I moved the oc binary to /usr/bin/oc.

$ which oc
/usr/bin/oc

twelveeighty commented on 2021-05-13 14:21 (UTC)

Is there a specific reason this package installs oc in /usr/local/bin? It is against the Arch packaging standards [1]? Can this be changed to /usr/bin?

[1] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette

alwyn commented on 2021-04-01 21:19 (UTC)

@erdii, it does not actually. I'm not sure what is the cause of this. If I source the completion file it works fine, but it doesn't seem to load when it's just in my fpath. I'm not having much luck debugging why zsh does this. As mentioned, every other completion works fine...

erdii commented on 2021-03-29 07:51 (UTC) (edited on 2021-03-29 08:08 (UTC) by erdii)

@alwyn does it work for you with the diff? Edit: issue filed at https://github.com/openshift/oc/issues/792

alwyn commented on 2021-03-27 21:04 (UTC)

@erdii that diff looks good to me.

That's weird! It seems to work sometimes for me, but doesn't most of the time. Maybe I need to debug my zsh completions in general. Still, it's odd because every other completion works fine.

erdii commented on 2021-03-27 15:28 (UTC)

@alwyn I've had a look and think that oc comletion zsh should propably replace ALL occurrences of kubectl with oc. Strangely enough this faulty generation does not break completion for me.

I've also had a look into https://github.com/openshift/oc but I couldn't find the root cause of the faulty generation. Please feel free to open an issue with them. :)

What do you think about this hacky patch until an upstream has landed? https://gist.github.com/erdii/dd51c37e16f54b1ddac3a4dc6c9f3b15

alwyn commented on 2021-03-26 22:10 (UTC) (edited on 2021-03-26 22:11 (UTC) by alwyn)

@erdii :thumbsup:

With the current oc client, oc completion zsh will output #compdef kubectl instead of #compdef oc, and this breaks my completions... Maybe we can add a sed in package()? Or we can poke upstream about this. You work at RedHat, right? ;)