Helm Deployment Restriction

Create a helm deployment restriction

Create a helm deployment restriction

post/helm/{helmId}/deploymentRestriction

Request

Path parameters

helmIdstring uuid required

Helm ID

Request body

mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

For PATH restrictions, the value must not start with /

Example request

{
  "mode": "MATCH",
  "type": "PATH",
  "value": "helm1/src/"
}

Response

Added an helm deployment restriction

idstring uuid required
created_atstring date-time required
updated_atstring date-time
mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

For PATH restrictions, the value must not start with /

Example response

{
  "mode": "MATCH",
  "type": "PATH",
  "value": "helm1/src/"
}

Changes

No recorded changes to this operation across all 1 revision of this API.