@@ -129,42 +129,6 @@ load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
129129
130130rules_pkg_dependencies ()
131131
132- ################################
133- # Load rules_k8s and configure #
134- ################################
135- http_archive (
136- name = "io_bazel_rules_k8s" ,
137- sha256 = "ce5b9bc0926681e2e7f2147b49096f143e6cbc783e71bc1d4f36ca76b00e6f4a" ,
138- strip_prefix = "rules_k8s-0.7" ,
139- urls = ["https://github.com/bazelbuild/rules_k8s/archive/refs/tags/v0.7.tar.gz" ],
140- )
141-
142- load ("@io_bazel_rules_k8s//k8s:k8s.bzl" , "k8s_repositories" )
143-
144- k8s_repositories ()
145-
146- load ("@io_bazel_rules_k8s//k8s:k8s.bzl" , "k8s_defaults" )
147-
148- #############################################################
149- # Setting up the defaults for rules k8s. The varible values
150- # are replaced by hack/build/print-workspace-status.sh
151- # Using environment variables that are prefixed with the word
152- # 'STAMP_' causes the rules_k8s files to rebuild when the
153- # --stamp and evn values change.
154- #############################################################
155- k8s_defaults (
156- # This becomes the name of the @repository and the rule
157- # you will import in your BUILD files.
158- name = "k8s_deploy" ,
159- # This is the name of the cluster as it appears in:
160- # kubectl config view --minify -o=jsonpath='{.contexts[0].context.cluster}'
161- # You are able to override the default cluster by setting the env variable K8S_CLUSTER
162- cluster = "{STABLE_CLUSTER}" ,
163- # You are able to override the default registry by setting the env variable DEV_REGISTRY
164- image_chroot = "{STABLE_IMAGE_REGISTRY}" ,
165- kind = "deployment" ,
166- )
167-
168132###################################################
169133# Load kubernetes repo-infra for tools like kazel #
170134###################################################
0 commit comments