diff --git a/CHANGES.md b/CHANGES.md index 09054ac3..6f2fb31d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,8 +2,11 @@ This document describes the relevant changes between releases of the API model. -## 0.0.400 Oct 24 2024 +## 0.0.401 Oct 31 2024 +- Add settings for HCP Shared VPC to `Cluster` model +- Add support for cluster arch to `DNS` model +## 0.0.400 Oct 24 2024 - Update `Parameters` attribute in addon_installation_type.model to the List of `AddonInstallationParameter` type. - Update `Parameters` attribute in addon_type.model to the List of `AddonParameter` type. diff --git a/model/clusters_mgmt/v1/aws_type.model b/model/clusters_mgmt/v1/aws_type.model index 7e3f694d..dbf31a86 100644 --- a/model/clusters_mgmt/v1/aws_type.model +++ b/model/clusters_mgmt/v1/aws_type.model @@ -62,6 +62,12 @@ struct AWS { // Role ARN for private hosted zone. PrivateHostedZoneRoleARN String + // ID of local private hosted zone for hypershift internal communication. + HcpInternalCommunicationHostedZoneId String + + // Role ARN for VPC Endpoint Service cross account role. + VpcEndpointRoleArn String + // Additional AWS Security Groups to be added to default worker (compute) machine pool. AdditionalComputeSecurityGroupIds []String diff --git a/model/clusters_mgmt/v1/cluster_arch_type.model b/model/clusters_mgmt/v1/cluster_arch_type.model new file mode 100644 index 00000000..d741c69f --- /dev/null +++ b/model/clusters_mgmt/v1/cluster_arch_type.model @@ -0,0 +1,24 @@ +/* +Copyright (c) 2024 Red Hat, Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Possible cluster architectures. +enum ClusterArchitecture { + @json(name = "classic") + Classic + + @json(name = "hcp") + Hcp +} diff --git a/model/clusters_mgmt/v1/dns_domain_type.model b/model/clusters_mgmt/v1/dns_domain_type.model index eef47c65..94d4f083 100644 --- a/model/clusters_mgmt/v1/dns_domain_type.model +++ b/model/clusters_mgmt/v1/dns_domain_type.model @@ -27,4 +27,7 @@ class DNSDomain { // Indicates if this dns domain is user defined. UserDefined Boolean + + // Signals which cluster architecture the domain is ready for. + ClusterArch ClusterArchitecture }