mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
[Fleet] enable feature flag enableAutomaticAgentUpgrades
(#219932)
## Summary Closes https://github.com/elastic/ingest-dev/issues/5364 Enable feature flag to make auto upgrade feature available <img width="1698" alt="image" src="https://github.com/user-attachments/assets/2642a231-a29b-456d-aa2d-b9cbbf044c31" /> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
64d20bb00b
commit
18b0dc11ca
5 changed files with 313 additions and 1 deletions
|
@ -17061,6 +17061,100 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status": {
|
||||||
|
"get": {
|
||||||
|
"description": "Get auto upgrade agent status<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.",
|
||||||
|
"operationId": "get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"in": "path",
|
||||||
|
"name": "agentPolicyId",
|
||||||
|
"required": true,
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"currentVersions": {
|
||||||
|
"items": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"agents": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"failedUpgradeAgents": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"version",
|
||||||
|
"agents",
|
||||||
|
"failedUpgradeAgents"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
"totalAgents": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"currentVersions",
|
||||||
|
"totalAgents"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"400": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"description": "Generic Error",
|
||||||
|
"properties": {
|
||||||
|
"attributes": {},
|
||||||
|
"error": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"errorType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"statusCode": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"message",
|
||||||
|
"attributes"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"summary": "Get auto upgrade agent status",
|
||||||
|
"tags": [
|
||||||
|
"Elastic Agent policies"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/api/fleet/agent_policies/{agentPolicyId}/copy": {
|
"/api/fleet/agent_policies/{agentPolicyId}/copy": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.",
|
"description": "Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.",
|
||||||
|
|
|
@ -17061,6 +17061,100 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status": {
|
||||||
|
"get": {
|
||||||
|
"description": "Get auto upgrade agent status<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.",
|
||||||
|
"operationId": "get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status",
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"in": "path",
|
||||||
|
"name": "agentPolicyId",
|
||||||
|
"required": true,
|
||||||
|
"schema": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"currentVersions": {
|
||||||
|
"items": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"agents": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"failedUpgradeAgents": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"version",
|
||||||
|
"agents",
|
||||||
|
"failedUpgradeAgents"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
"totalAgents": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"currentVersions",
|
||||||
|
"totalAgents"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"400": {
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"description": "Generic Error",
|
||||||
|
"properties": {
|
||||||
|
"attributes": {},
|
||||||
|
"error": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"errorType": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"message": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"statusCode": {
|
||||||
|
"type": "number"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"message",
|
||||||
|
"attributes"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"summary": "Get auto upgrade agent status",
|
||||||
|
"tags": [
|
||||||
|
"Elastic Agent policies"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/api/fleet/agent_policies/{agentPolicyId}/copy": {
|
"/api/fleet/agent_policies/{agentPolicyId}/copy": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.",
|
"description": "Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.",
|
||||||
|
|
|
@ -20614,6 +20614,68 @@ paths:
|
||||||
summary: Update an agent policy
|
summary: Update an agent policy
|
||||||
tags:
|
tags:
|
||||||
- Elastic Agent policies
|
- Elastic Agent policies
|
||||||
|
/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status:
|
||||||
|
get:
|
||||||
|
description: 'Get auto upgrade agent status<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.'
|
||||||
|
operationId: get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: agentPolicyId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
additionalProperties: false
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
currentVersions:
|
||||||
|
items:
|
||||||
|
additionalProperties: false
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
agents:
|
||||||
|
type: number
|
||||||
|
failedUpgradeAgents:
|
||||||
|
type: number
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- version
|
||||||
|
- agents
|
||||||
|
- failedUpgradeAgents
|
||||||
|
type: array
|
||||||
|
totalAgents:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- currentVersions
|
||||||
|
- totalAgents
|
||||||
|
'400':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
additionalProperties: false
|
||||||
|
description: Generic Error
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
attributes: {}
|
||||||
|
error:
|
||||||
|
type: string
|
||||||
|
errorType:
|
||||||
|
type: string
|
||||||
|
message:
|
||||||
|
type: string
|
||||||
|
statusCode:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- message
|
||||||
|
- attributes
|
||||||
|
summary: Get auto upgrade agent status
|
||||||
|
tags:
|
||||||
|
- Elastic Agent policies
|
||||||
/api/fleet/agent_policies/{agentPolicyId}/copy:
|
/api/fleet/agent_policies/{agentPolicyId}/copy:
|
||||||
post:
|
post:
|
||||||
description: 'Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.'
|
description: 'Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.'
|
||||||
|
|
|
@ -22856,6 +22856,68 @@ paths:
|
||||||
summary: Update an agent policy
|
summary: Update an agent policy
|
||||||
tags:
|
tags:
|
||||||
- Elastic Agent policies
|
- Elastic Agent policies
|
||||||
|
/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status:
|
||||||
|
get:
|
||||||
|
description: 'Get auto upgrade agent status<br/><br/>[Required authorization] Route required privileges: fleet-agents-read.'
|
||||||
|
operationId: get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status
|
||||||
|
parameters:
|
||||||
|
- in: path
|
||||||
|
name: agentPolicyId
|
||||||
|
required: true
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
additionalProperties: false
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
currentVersions:
|
||||||
|
items:
|
||||||
|
additionalProperties: false
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
agents:
|
||||||
|
type: number
|
||||||
|
failedUpgradeAgents:
|
||||||
|
type: number
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- version
|
||||||
|
- agents
|
||||||
|
- failedUpgradeAgents
|
||||||
|
type: array
|
||||||
|
totalAgents:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- currentVersions
|
||||||
|
- totalAgents
|
||||||
|
'400':
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
additionalProperties: false
|
||||||
|
description: Generic Error
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
attributes: {}
|
||||||
|
error:
|
||||||
|
type: string
|
||||||
|
errorType:
|
||||||
|
type: string
|
||||||
|
message:
|
||||||
|
type: string
|
||||||
|
statusCode:
|
||||||
|
type: number
|
||||||
|
required:
|
||||||
|
- message
|
||||||
|
- attributes
|
||||||
|
summary: Get auto upgrade agent status
|
||||||
|
tags:
|
||||||
|
- Elastic Agent policies
|
||||||
/api/fleet/agent_policies/{agentPolicyId}/copy:
|
/api/fleet/agent_policies/{agentPolicyId}/copy:
|
||||||
post:
|
post:
|
||||||
description: 'Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.'
|
description: 'Copy an agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-all.'
|
||||||
|
|
|
@ -10,7 +10,7 @@ export type ExperimentalFeatures = typeof allowedExperimentalValues;
|
||||||
const _allowedExperimentalValues = {
|
const _allowedExperimentalValues = {
|
||||||
showExperimentalShipperOptions: false,
|
showExperimentalShipperOptions: false,
|
||||||
useSpaceAwareness: false,
|
useSpaceAwareness: false,
|
||||||
enableAutomaticAgentUpgrades: false,
|
enableAutomaticAgentUpgrades: true,
|
||||||
enableSyncIntegrationsOnRemote: false,
|
enableSyncIntegrationsOnRemote: false,
|
||||||
enableSSLSecrets: false,
|
enableSSLSecrets: false,
|
||||||
installedIntegrationsTabularUI: false,
|
installedIntegrationsTabularUI: false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue