-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to use manager_config_patch.yaml results in "flag provided but not defined: -config" #5884
Comments
Did you scaffold the project using this option |
I did not use
...is sufficient to generate a configuration that uses the
If the boilerplate code doesn't support |
I agree. It shows for me seems a bug. It needs to be addressed on the Kubebuilder. |
Hey @camilamacedo86 could you file an issue about this upstream on Kubebuilder, and then close this issue? |
Please see that it was tracked in Kubebuilder: kubernetes-sigs/kubebuilder#2782 |
Bug Report
What did you do?
I have build a simple operator using
operator-sdk
version:The generated manifests include
config/manager/controller_manager_config.yaml
, which when patched in viaconfig/default/manager_config_patch.yaml
sets the manager args to:But the generated code in
main.go
has no support for a-config
flag:
What did you expect to see?
I expected the generated manager to have support for the
-config
flag, since it is used in the generated manifests.
Environment
Operator type:
/language go
Kubernetes cluster type:
OpenShift
$ operator-sdk version
$ go version
(if language is Go)$ kubectl version
The text was updated successfully, but these errors were encountered: