load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "io_bazel_rules_k8s", strip_prefix = "rules_k8s-0.7", urls = ["https://github.com/bazelbuild/rules_k8s/archive/refs/tags/v0.7.tar.gz"], sha256 = "ce5b9bc0926681e2e7f2147b49096f143e6cbc783e71bc1d4f36ca76b00e6f4a", ) load("@io_bazel_rules_k8s//k8s:k8s.bzl", "k8s_repositories") load("@io_bazel_rules_k8s//toolchains/kubectl:kubectl_configure.bzl", "kubectl_configure") kubectl_configure(name="k8s_config", build_srcs=True, k8s_commit = "v1.26.1", k8s_sha256 = "7e97f4a4836c44aebc2cc015ca75a8925a36aad50b3acdb83ef3c22e21398a83", k8s_prefix = "kubernetes-1.26.1" ) k8s_repositories() load("@io_bazel_rules_k8s//k8s:k8s_go_deps.bzl", k8s_go_deps = "deps") k8s_go_deps()