v0.32.8
Pre-release
Pre-release
Using bzlmod with Bazel 6 or later:
-
Add
common --enable_bzlmod
to.bazelrc
. -
Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_gitops", version = "0.32.8")
git_override(
module_name = "rules_gitops",
remote = "https://github.com/fasterci/rules_gitops",
commit = "7cb6fce3127867434d1c9f8131e93a77098ae821",
)
kustomize = use_extension("@rules_gitops//gitops:extensions.bzl", "kustomize")
kustomize.kustomize_toolchain()
use_repo(kustomize, "kustomize_bin")
Using WORKSPACE:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_gitops",
sha256 = "fabb7eaf9eb8ba19a746b02ad1a6efd50d23784f20e6a36c6fe40b64ff920c8c",
strip_prefix = "rules_gitops-0.32.8",
urls = ["https://github.com/fasterci/rules_gitops/releases/download/v0.32.8/rules_gitops-v0.32.8.tar.gz"],
)
load("@rules_gitops//gitops:deps.bzl", "rules_gitops_dependencies")
rules_gitops_dependencies()
load("@rules_gitops//gitops:repositories.bzl", "rules_gitops_repositories")
rules_gitops_repositories()
load("@rules_gitops//skylib:k8s.bzl", "kubeconfig")
kubeconfig(
name = "k8s_dev_test",
cluster = "it_kubernetes_cluster_name",
use_host_config = True,
)
Full Changelog: v0.32.7...v0.32.8