Hello,
I tried to follow the instructions in this link: https://blog.cloudflare.com/kubectl-with-zero-trust/#:~:text=traffic%20%20%20%20%20%3D%20format(%22any(http.conn.dst_ip%5B*%5D%20in%20%24%25s)%22%2C%20replace(cloudflare_teams_list.k8s_apiserver_ips.id%2C%20%22%2D%22%2C%20%22%22))
It uses Terraform, and I don’t understand how to do that via dashboard.
resource "cloudflare_teams_rule" "k8s_apiserver_zero_trust_http" {
account_id = var.account_id
name = "Don't inspect Kubernetes API"
description = "Allow connections from kubectl to API"
precedence = 10000
action = "off"
enabled = true
filters = ["http"]
traffic = format("any(http.conn.dst_ip[*] in $%s)", replace(cloudflare_teams_list.k8s_apiserver_ips.id, "-", ""))
}