🎨 Get the front pod and service names from constants

This commit is contained in:
M. Mert Yildiran
2022-11-26 07:14:12 +03:00
parent 0736f6120c
commit b7760a7f44
6 changed files with 34 additions and 16 deletions

View File

@@ -2,7 +2,10 @@ package kubernetes
const (
KubesharkResourcesPrefix = "ks-"
FrontPodName = KubesharkResourcesPrefix + "front"
FrontServiceName = FrontPodName
ApiServerPodName = KubesharkResourcesPrefix + "hub"
ApiServerServiceName = ApiServerPodName
ClusterRoleBindingName = KubesharkResourcesPrefix + "cluster-role-binding"
ClusterRoleName = KubesharkResourcesPrefix + "cluster-role"
K8sAllNamespaces = ""