FS#69867 - [kubectl-cert-manager] Incorrect path for kubectl-cert_manager binary

Attached to Project: Community Packages
Opened by Ashley Davis (sgtcodfish) - Wednesday, 03 March 2021, 13:34 GMT
Last edited by Christian Rebischke (Shibumi) - Friday, 12 March 2021, 19:17 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: This package installs the kubectl cert-manager plugin binary as `usr/bin/kubectl-cert-manager`, but the cert-manager documentation (https://cert-manager.io/docs/usage/kubectl-plugin/) suggests that the binary should be installed as `usr/bin/kubectl-cert_manager`.

The effect of this is that the expected command, `kubectl cert-manager` fails but `kubectl cert manager` succeeds.

This is related to the how kubectl finds plugins, which is detailed here: https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/#naming-a-plugin


Additional info:
* package version: presumably all, tested with 1.2.0-2

Steps to reproduce: install the package and try to run `kubectl cert-manager`, which fails. `kubectl cert manager` succeeds erroneously.
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Friday, 12 March 2021, 19:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  kubectl-cert-manager-1.2.0-3

Loading...