And an ingress rule to the frontend workload
PATCH https://api.humanitec.io/orgs/{{org_id}}/apps/{{app_id}}/deltas/{{delta_id}}
Setting an ingress rule for the container will forward traffic from the DNS record to the specified port of the container.
Request Body
{"0"=>{"modules"=>{"update"=>{"sample-app"=>[{"op"=>"add", "path"=>"/spec/ingress/rules/externals.my-dns/http/~1", "value"=>{"type"=>"exact", "port"=>8080}}]}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |