URL: /v2/projects/{project-name}/composite-apps/{composite-app-name}/{composite-app-version}/deployment-intent-groups/{deployment-intent-group-name}/traffic-group-intents/inbound-intents/<intent-name>/clients
POST BODY:
{
"metadata": {
"name": <>
"description": <>
"userdata1": <>,
"userdata2": <>
}
"spec" : {
"application": "<app2>",
"servicename": "sleep",
"namespaces": [], // Workloads from this namespaces can access the inbound service
// TODO"ipRange": add IP Range if needed
}[<cidr>, <cidr>]
}
//Client certificate?
} |