Hide Forgot
Description of problem: Enable service API federation with the example given by kubefed2 cmd failed Version-Release number of selected component (if applicable): kubefed2 version: version.Info{Version:"0.0.6", GitCommit:"de6a0a909418f5ddf2d04d232b0ca55aa9cffb49", GitTreeState:"clean", BuildDate:"2019-03-14T00:43:37Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} Federation v2 controller-manager version: version.Info{Version:"0.0.6", GitCommit:"de6a0a909418f5ddf2d04d232b0ca55aa9cffb49", GitTreeState:"clean", BuildDate:"2019-03-14T00:43:37Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"} How reproducible: Always Steps to Reproduce: 1. The example in kubefed2 help message: Examples: # Enable federation of Services with service type overrideable kubefed2 enable Service --override-paths=spec.type --host-cluster-context=cluster1 2. Enable service API fderation with cmd: kubefed2 enable Service --override-paths=spec.type --federation-namespace=federation-llng Actual results: Error: unknown flag: --override-paths Expected results: If not support --override-paths, we should modify the help message. Additional info:
Verified that this is an issue in upstream/master: https://github.com/kubernetes-sigs/federation-v2/blob/master/pkg/kubefed2/enable/enable.go#L65
Addressed by https://github.com/kubernetes-sigs/federation-v2/pull/664
Should be fixed in 0.0.7 CSV
Verified with: kubefed2 version: version.Info{Version:"v0.0.7", GitCommit:"83b778b6d92a7929efb7687d3d3d64bf0b3ad3bc", GitTreeState:"clean", BuildDate:"2019-03-19T18:40:46Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758