mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
in pkg/controller/service rename service_controller.go to controller.go
This commit is contained in:
parent
a18de39166
commit
da759609dc
@ -203,7 +203,7 @@ const (
|
||||
CertificateKeySize = 32
|
||||
|
||||
// LabelNodeRoleMaster specifies that a node is a control-plane
|
||||
// This is a duplicate definition of the constant in pkg/controller/service/service_controller.go
|
||||
// This is a duplicate definition of the constant in pkg/controller/service/controller.go
|
||||
LabelNodeRoleMaster = "node-role.kubernetes.io/master"
|
||||
|
||||
// AnnotationKubeadmCRISocket specifies the annotation kubeadm uses to preserve the crisocket information given to kubeadm at
|
||||
|
@ -3,9 +3,9 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||||
go_library(
|
||||
name = "go_default_library",
|
||||
srcs = [
|
||||
"controller.go",
|
||||
"doc.go",
|
||||
"patch.go",
|
||||
"service_controller.go",
|
||||
],
|
||||
importpath = "k8s.io/kubernetes/pkg/controller/service",
|
||||
visibility = ["//visibility:public"],
|
||||
@ -36,8 +36,8 @@ go_library(
|
||||
go_test(
|
||||
name = "go_default_test",
|
||||
srcs = [
|
||||
"controller_test.go",
|
||||
"patch_test.go",
|
||||
"service_controller_test.go",
|
||||
],
|
||||
embed = [":go_default_library"],
|
||||
deps = [
|
||||
|
@ -31,7 +31,7 @@ import (
|
||||
// TestCheckReadyForTests specifically is concerned about the multi-node logic
|
||||
// since single node checks are in TestReadyForTests.
|
||||
func TestCheckReadyForTests(t *testing.T) {
|
||||
// This is a duplicate definition of the constant in pkg/controller/service/service_controller.go
|
||||
// This is a duplicate definition of the constant in pkg/controller/service/controller.go
|
||||
labelNodeRoleMaster := "node-role.kubernetes.io/master"
|
||||
|
||||
fromVanillaNode := func(f func(*v1.Node)) v1.Node {
|
||||
|
Loading…
Reference in New Issue
Block a user