Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update preview API to follow GA api - use one forceupgrade boolean in… #25099

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@
},
"upgradeSettings": {
"overrideSettings": {
"controlPlaneOverrides": [
"IgnoreKubernetesDeprecations"
],
"forceUpgrade": true,
"until": "2022-11-01T13:00:00Z"
}
},
Expand Down Expand Up @@ -184,9 +182,7 @@
},
"upgradeSettings": {
"overrideSettings": {
"controlPlaneOverrides": [
"IgnoreKubernetesDeprecations"
],
"forceUpgrade": false,
"until": "2022-11-01T13:00:00Z"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@
},
"upgradeSettings": {
"overrideSettings": {
"controlPlaneOverrides": [
"IgnoreKubernetesDeprecations"
],
"forceUpgrade": true,
"until": "2022-11-01T13:00:00Z"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5504,33 +5504,12 @@
},
"description": "Auto upgrade profile for a managed cluster."
},
"ControlPlaneUpgradeOverride": {
"type": "string",
"enum": [
"IgnoreKubernetesDeprecations"
],
"x-ms-enum": {
"name": "ControlPlaneUpgradeOverride",
"modelAsString": true,
"values": [
{
"value": "IgnoreKubernetesDeprecations",
"description": "Upgrade the cluster control plane version without checking for recent Kubernetes deprecations usage."
}
]
},
"description": "The list of control plane upgrade override settings."
},
"UpgradeOverrideSettings": {
"type": "object",
"properties": {
"controlPlaneOverrides": {
"type": "array",
"items": {
"$ref": "#/definitions/ControlPlaneUpgradeOverride"
},
"x-ms-identifiers": [],
"description": "List of upgrade overrides when upgrading a cluster's control plane."
"forceUpgrade": {
"type": "boolean",
"description": "Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution."
},
"until": {
"type": "string",
Expand Down