Update service
PUT/v1/api/cd/services/{id}
Parameters
Responses
| Parameter | Type | Description |
|---|---|---|
idrequired | string | — |
configuration | array | Configuration values to template into the service manifests. You must pass the full list of configuration inputs |
dry_run | boolean | If true, does not actually apply any changes to the cluster |
git | object | Git reference configuration |
helm | object | Helm chart configuration input |
kustomize | object | Kustomize configuration input |
namerequired | string | Desired name for the service |
namespacerequired | string | Target deployment namespace |
protect | boolean | If true, marks the service as protected from accidental changes |
renderers | array | Custom renderers for processing service manifests |
repository_id | string | ID of the backing repository for this service |
sources | array | Additional source repositories for this service |
Response samples
200
{
"cluster_id": "string",
"component_status": "string",
"deleted_at": "string",
"dry_run": false,
"errors": [
{
"message": "string",
"source": "string",
"warning": false
}
],
"git": {
"folder": "string",
"ref": "string"
},
"helm": {
"chart": "string",
"release": "string",
"repository_id": "string",
"url": "string",
"values": "string",
"values_files": [
"string"
],
"version": "string"
},
"id": "string",
"inserted_at": "string",
"interval": "string",
"kustomize": {
"enable_helm": false,
"path": "string"
},
"message": "string",
"name": "string",
"namespace": "string",
"protect": false,
"renderers": [
{
"helm": {
"ignore_hooks": false,
"release": "string",
"values": "string",
"values_files": [
"string"
]
},
"path": "string",
"type": "auto"
}
],
"repository_id": "string",
"sha": "string",
"sources": [
{
"git": {
"folder": "string",
"ref": "string"
},
"path": "string",
"repository_id": "string"
}
],
"status": "stale",
"templated": false,
"updated_at": "string"
}