For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/openSUSE_Tumbleweed/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For openSUSE Factory zSystems run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/openSUSE_Factory_zSystems/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For openSUSE Factory PowerPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/openSUSE_Factory_PowerPC/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For openSUSE Factory ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/openSUSE_Factory_ARM/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For 15.6 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/15.6/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For 15.5 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/15.5/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret
For 15.4 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/devel:kubic/15.4/devel:kubic.repo
zypper refresh
zypper install kubectl-view-secret