Using bzlmod with Bazel 6 or later:
-
Add
common --enable_bzlmodto.bazelrc. -
Add to your
MODULE.bazelfile:
bazel_dep(name = "rules_gitops", version = "1.0.3")
git_override(
module_name = "rules_gitops",
commit = "39175aec06079bbca11a15826097012fe0952f98",
remote = "https://github.com/fasterci/rules_gitops",
)
kustomize = use_extension("@rules_gitops//gitops:extensions.bzl", "kustomize")
kustomize.kustomize_toolchain()
use_repo(kustomize, "kustomize_bin")Using WORKSPACE:
file is not supported in this version. The latest version with support is v0.32.13
What's Changed
- Ensure legacy command line flags are not required in bazel 8 by @apesternikov in #68
Full Changelog: v1.0.2...v1.0.3