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
I searched the issues and found no similar issues.
KubeRay Component
ray-operator
What happened + What you expected to happen
The bug: When I ran make sync locally I got an error
test -s /vagrant/kuberay/ray-operator/bin/kustomize || GOBIN=/vagrant/kuberay/ray-operator/bin/kustomize/.. go install sigs.k8s.io/kustomize/kustomize/v3@v3.10.0
go: sigs.k8s.io/kustomize/kustomize/v3@v3.10.0 (in sigs.k8s.io/kustomize/kustomize/v3@v3.10.0):
The go.mod file for the module providing named packages contains one or
more exclude directives. It must not contain directives that would cause
it to be interpreted differently than if it were the main module.
Makefile:117: recipe for target 'kustomize' failed
make: *** [kustomize] Error 1
Expected beahvior
make sync should work fine and synchronize the required yamls.
Useful Information
Go version : go version go1.19.12 linux/amd64
Kustomize install version : v3@v3.10.0
I could get around this issue by simply updating the kustomize version to 4.5.2 locally in the Makefile. Supporting comment for this: kubernetes-sigs/kustomize#3618 (comment)
I think the fix is just updating the version of Kustomize. However, I am not confident of what other things are dependent on this (Github CI/CD, other builds, etc). So, opening this issue for investigation.
Reproduction script
Navigate to kuberay/ray-operator
Run command : make sync
or
make helm
Anything else
No response
Are you willing to submit a PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
kustomize is not required for helm, so you can remove it. Then, you can run make sync successfully.
Although we can execute make sync successfully after (1), the command make kustomize will still fail with the same error message that you reported. You can upgrade the version of Kustomize. For example, the latest stable release is v5.1.1 (link).
KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.test -s $(KUSTOMIZE)|| GOBIN=$(KUSTOMIZE)/.. go install sigs.k8s.io/kustomize/kustomize/v5@v5.1.1
Btw, I am interested in why does Kustomize is still under maintenance after it was integrated into kubectl. Maybe only some parts of the functionalities are integrated?
Search before asking
KubeRay Component
ray-operator
What happened + What you expected to happen
The bug: When I ran make sync locally I got an error
Expected beahvior
make sync should work fine and synchronize the required yamls.
Useful Information
Go version : go version go1.19.12 linux/amd64
Kustomize install version : v3@v3.10.0
My guess is that it is related to this issue: kubernetes-sigs/kustomize#3618 (comment)
I could get around this issue by simply updating the kustomize version to 4.5.2 locally in the Makefile. Supporting comment for this: kubernetes-sigs/kustomize#3618 (comment)
I think the fix is just updating the version of Kustomize. However, I am not confident of what other things are dependent on this (Github CI/CD, other builds, etc). So, opening this issue for investigation.
Reproduction script
Navigate to
kuberay/ray-operator
Run command :
make sync
or
make helm
Anything else
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: