You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: unknown flag: --watches-file
Usage:
operator-sdk run [flags]
Flags:
--kubeconfig string The file path to kubernetes configuration file. Defaults to location specified by $KUBECONFIG, or to default file rules if not set
--namespace string The namespace where the operator watches for changes.
--olm The operator to be run will be managed by OLM in a cluster. Cannot be set with another run-type flag
--manifests string [olm only] Directory containing package manifest and operator bundles.
--operator-version string [olm only] Version of operator to deploy
--install-mode string [olm only] InstallMode to create OperatorGroup with. Format: InstallModeType=[ns1,ns2[, ...]]
--include strings [olm only] Path to Kubernetes resource manifests, ex. Role, Subscription. These supplement or override defaults generated by run/cleanup
--timeout duration [olm only] Time to wait for the command to complete before failing (default 2m0s)
--local The operator will be run locally by building the operator binary with the ability to access a kubernetes cluster using a kubeconfig file. Cannot be set with another run-type flag.
--operator-flags string [local only] The flags that the operator needs. Example: "--flag1 value1 --flag2=value2"
--go-ldflags string [local only] Set Go linker options
--enable-delve [local only] Start the operator using the delve debugger
-h, --help help for run
Global Flags:
--verbose Enable verbose logging
I'm having a hard time following when this flag was removed from the cmd/operator-sdk/run code
The text was updated successfully, but these errors were encountered:
I'm able to build and run our origin images locally fine, and the problem only occurs when CI is building and using our OCP images. As a next step, I can try and build the OCP images locally, replacing the ... run ansible --watches-file with the exec-entrypoint ansible --watches-file and hopefully that resolves this issue.
The run -> exec-entrypoint name change is already a breaking change in the changelog. We need to update the release notes and migration guide for v0.15.x.
From channel:
I'm seeing this in our CI runs:
I'm having a hard time following when this flag was removed from the cmd/operator-sdk/run code
The text was updated successfully, but these errors were encountered: