WORKSPACE 783 B

12345678910111213141516171819202122232425
  1. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  2. http_archive(
  3. name = "io_bazel_rules_k8s",
  4. strip_prefix = "rules_k8s-0.7",
  5. urls = ["https://github.com/bazelbuild/rules_k8s/archive/refs/tags/v0.7.tar.gz"],
  6. sha256 = "ce5b9bc0926681e2e7f2147b49096f143e6cbc783e71bc1d4f36ca76b00e6f4a",
  7. )
  8. load("@io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_repositories")
  9. load("@io_bazel_rules_k8s//toolchains/kubectl:kubectl_configure.bzl", "kubectl_configure")
  10. kubectl_configure(name="k8s_config", build_srcs=True,
  11. k8s_commit = "v1.26.1",
  12. k8s_sha256 = "7e97f4a4836c44aebc2cc015ca75a8925a36aad50b3acdb83ef3c22e21398a83",
  13. k8s_prefix = "kubernetes-1.26.1"
  14. )
  15. k8s_repositories()
  16. load("@io_bazel_rules_k8s//k8s:k8s_go_deps.bzl", k8s_go_deps = "deps")
  17. k8s_go_deps()