-
Notifications
You must be signed in to change notification settings - Fork 246
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
Remove replace directive in go.mod #201
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
We are trying to import the operator-sdk in our repo to be able to run operator-sdk based tests.
Because of the replace directive in go.mod, this breaks our build and we are currently blocked.
Since k8s repos now offer a "native" way to pin versions k8s 1.16.7 maps to a go.mod version of v0.16.7, we can achieve the pinning to a particular kubernetes version without using the replace directive.
I got the operator-registry to build without replace directive in go.mod on my local branch (pointing at the non-pinned k8s version for the api repo, on top of operator-framework/api#17).
Do you want me to create a PR for this work? Not that this would need the PR in api repo to be merged and released as 0.1.1
Note that my overall goal is to not have replace directive for k8s in operator-sdk so that it will be easier to import for ever user
The text was updated successfully, but these errors were encountered: