Ensure the --insecure-bind-address argument is not set

Error: The --insecure-bind-address argument is set

Bridgecrew Policy ID: BC_K8S_63
Checkov Check ID: CKV_K8S_86
Severity: HIGH

The --insecure-bind-address argument is set


Do not bind the insecure API service.
If you bind the apiserver to an insecure address, basically anyone who could connect to it over the insecure port, would have unauthenticated and unencrypted access to your master node. The apiserver doesn't do any authentication checking for insecure binds and traffic to the Insecure API port is not encrpyted, allowing attackers to potentially read sensitive data in transit.

Fix - Buildtime


  • Kind: Pod
apiVersion: v1
kind: Pod
  creationTimestamp: null
    component: kube-apiserver
    tier: control-plane
  name: kube-apiserver
  namespace: kube-system
  - command:
+   - kube-apiserver
+   - --bind-address=
    image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0

Did this page help you?