Skip to content

Commit d2b3fd3

Browse files
authored
aantal-MGMT-19423: replacing HighAvailabilityMode with ControlPlaneCount. Some places like updating cluster params HighAvailabilityMode is still needed for backward compatibility. (#7373)
1 parent c498e12 commit d2b3fd3

File tree

57 files changed

+1084
-1316
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1084
-1316
lines changed

api/vendor/github.com/openshift/assisted-service/models/cluster.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/vendor/github.com/openshift/assisted-service/models/install_cmd_request.go

Lines changed: 0 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/vendor/github.com/openshift/assisted-service/models/cluster.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/vendor/github.com/openshift/assisted-service/models/install_cmd_request.go

Lines changed: 0 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/user-guide/rest-api-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For that, please read the [REST-API V1 to V2 transition guide](rest-api-v1-v2-tr
4242

4343
```bash
4444
curl -X POST -H "Content-Type: application/json" \
45-
-d '{"name":"testcluster","high_availability_mode":"Full","openshift_version":"4.8","pull_secret":<pull_secret_here>,"base_dns_domain":"redhat.com"}' \
45+
-d '{"name":"testcluster","control_plane_count":3,"openshift_version":"4.8","pull_secret":<pull_secret_here>,"base_dns_domain":"redhat.com"}' \
4646
<HOST>:<PORT>/api/assisted-install/v2/clusters
4747
```
4848

docs/user-guide/samples/cluster.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"email_domain": "Unknown",
2323
"feature_usage": "{\"VIP auto alloc.\":{\"id\":\"VIP_AUTO_ALLOC\",\"name\":\"VIP auto alloc.\"}}",
24-
"high_availability_mode": "Full",
24+
"control_plane_count": 3,
2525
"host_networks": [],
2626
"hosts": [],
2727
"href": "/api/assisted-install/v2/clusters/948b8ba9-798f-4310-bb08-67a6b56ebdcc",

0 commit comments

Comments
 (0)