rpc error making call: service “service-b” has protocol “tcp”, which is incompatible with L7 intentions permissions
Getting this error while creating L7 intentions.
curl --location --request PUT '<URL>/v1/connect/intentions/exact?source=service-a&destination=service-b' \
--header 'Content-Type: application/json' \
--data-raw '{
"Description": "Intentions",
"Permissions": [
{
"Action": "allow",
"HTTP": {
"PathExact": "/",
"Methods": [
"GET"
]
}
}
]
}'
- Do we need services to be up and running before creating the L7 intentions?
Even when the services are up it’s throwing error.
Couldn’t find much documentation around it.