diff --git a/internal/utils/kubernetes.go b/internal/utils/kubernetes.go index 71bb33a..0946647 100644 --- a/internal/utils/kubernetes.go +++ b/internal/utils/kubernetes.go @@ -47,7 +47,7 @@ func K8sClient() *kubernetes.Clientset { } func IsEKS() bool { - return strings.HasSuffix(getConfig().Host, ".eks.amazonaws.com") + return strings.Contains(getConfig().Host, ".eks.amazonaws.com") } func GetEKSClusterName() string {