diff --git a/checkov/kubernetes/checks/resource/k8s/HostPort.py b/checkov/kubernetes/checks/resource/k8s/HostPort.py index 74fdea6a6d4..15346ed320a 100644 --- a/checkov/kubernetes/checks/resource/k8s/HostPort.py +++ b/checkov/kubernetes/checks/resource/k8s/HostPort.py @@ -9,7 +9,7 @@ def __init__(self) -> None: """ https://kubernetes.io/docs/concepts/configuration/overview/ - Don’t specify a hostPort for a Pod unless it is absolutely necessary. + Don't specify a hostPort for a Pod unless it is absolutely necessary. When you bind a Pod to a hostPort, it limits the number of places the Pod can be scheduled, because each combination must be unique. diff --git a/checkov/terraform/checks/resource/kubernetes/HostPort.py b/checkov/terraform/checks/resource/kubernetes/HostPort.py index a71a9a4d203..7ce054d8f1c 100644 --- a/checkov/terraform/checks/resource/kubernetes/HostPort.py +++ b/checkov/terraform/checks/resource/kubernetes/HostPort.py @@ -9,7 +9,7 @@ def __init__(self): """ https://kubernetes.io/docs/concepts/configuration/overview/ - Don’t specify a hostPort for a Pod unless it is absolutely necessary. + Don't specify a hostPort for a Pod unless it is absolutely necessary. When you bind a Pod to a hostPort, it limits the number of places the Pod can be scheduled, because each combination must be unique.