mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
d15968bed7
* bootstrapper: make Azure auth method configurable on cluster init * azure: convert uami resource ID to clientID Co-authored-by: 3u13r <lc@edgeless.systems>
55 lines
1.8 KiB
Python
55 lines
1.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "kubernetes",
|
|
srcs = [
|
|
"cloud_provider.go",
|
|
"k8sutil.go",
|
|
"kubernetes.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/internal/kubernetes",
|
|
visibility = ["//bootstrapper:__subpackages__"],
|
|
deps = [
|
|
"//bootstrapper/internal/kubernetes/k8sapi",
|
|
"//bootstrapper/internal/kubernetes/kubewaiter",
|
|
"//internal/cloud/cloudprovider",
|
|
"//internal/cloud/gcpshared",
|
|
"//internal/cloud/metadata",
|
|
"//internal/cloud/openstack",
|
|
"//internal/constants",
|
|
"//internal/deploy/helm",
|
|
"//internal/kubernetes",
|
|
"//internal/logger",
|
|
"//internal/role",
|
|
"//internal/versions/components",
|
|
"@io_k8s_api//core/v1:core",
|
|
"@io_k8s_apimachinery//pkg/apis/meta/v1:meta",
|
|
"@io_k8s_kubernetes//cmd/kubeadm/app/apis/kubeadm/v1beta3",
|
|
"@org_uber_go_zap//:zap",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "kubernetes_test",
|
|
srcs = ["kubernetes_test.go"],
|
|
embed = [":kubernetes"],
|
|
deps = [
|
|
"//bootstrapper/internal/kubernetes/k8sapi",
|
|
"//bootstrapper/internal/kubernetes/kubewaiter",
|
|
"//internal/cloud/metadata",
|
|
"//internal/constants",
|
|
"//internal/deploy/helm",
|
|
"//internal/kubernetes",
|
|
"//internal/logger",
|
|
"//internal/role",
|
|
"//internal/versions",
|
|
"//internal/versions/components",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@io_k8s_api//core/v1:core",
|
|
"@io_k8s_kubernetes//cmd/kubeadm/app/apis/kubeadm/v1beta3",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|