v0.31.10
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.31.10")
git_override(
module_name = "rules_gitops",
remote = "https://github.com/fasterci/rules_gitops",
commit = "58e651c63e93b53ca96f5ef9739f6165bf2ac768",
)
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 = "dea469b7d6ed45c43cbd63c41060dca0e343cdf648550697de2c5396978b6132",
strip_prefix = "rules_gitops-0.31.10",
urls = ["https://github.com/fasterci/rules_gitops/releases/download/v0.31.10/rules_gitops-v0.31.10.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.31.9...v0.31.10