Skip to content
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
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.27] - 2026-07-02

### Added

- `SubnetSpec` model and `subnets` optional field to `ClusterPlatform` (HYPERFLEET-1202)

## [1.0.24] - 2026-06-22

### Fixed
Expand Down Expand Up @@ -91,7 +97,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `hyperfleet` npm dependency for importing shared models and services from the core repository

<!-- Links -->
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.24...HEAD
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.27...HEAD
[1.0.27]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.24...v1.0.27
[1.0.24]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.23...v1.0.24
[1.0.23]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.22...v1.0.23
[1.0.22]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec-template/compare/v1.0.21...v1.0.22
Expand Down
2 changes: 2 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ approvers:
- pnguyen44
- rafabene
- rh-amarin
- Ruclo
- tirthct
- vkareh
- kuudori
Expand All @@ -26,6 +27,7 @@ reviewers:
- pnguyen44
- rafabene
- rh-amarin
- Ruclo
- tirthct
- vkareh
- kuudori
Expand Down
2 changes: 1 addition & 1 deletion main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using OpenAPI;
*/
@service(#{ title: "HyperFleet API" })
@info(#{
version: "1.0.26",
version: "1.0.27",
contact: #{
name: "HyperFleet Team",
url: "https://github.com/openshift-hyperfleet",
Expand Down
8 changes: 8 additions & 0 deletions models/cluster/model.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ model ClusterPlatformSpec {
template: ClusterPlatform;
}

model SubnetSpec {
id: string;
name: string;
cidr: string;
role: string;
}

model ClusterPlatform {
projectID?: string;
region?: string;
zone?: string;
network?: string;
subnet?: string;
subnets?: SubnetSpec[];
}

model ReleaseSpec {
Expand Down
22 changes: 21 additions & 1 deletion schemas/template/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: HyperFleet API
version: 1.0.26
version: 1.0.27
contact:
name: HyperFleet Team
url: https://github.com/openshift-hyperfleet
Expand Down Expand Up @@ -1881,6 +1881,10 @@ components:
type: string
subnet:
type: string
subnets:
type: array
items:
$ref: '#/components/schemas/SubnetSpec'
ClusterPlatformSpec:
type: object
required:
Expand Down Expand Up @@ -2523,6 +2527,22 @@ components:
description: |-
Aggregated status of the resource, populated by the status aggregation
pipeline from adapter condition reports.
SubnetSpec:
type: object
required:
- id
- name
- cidr
- role
properties:
id:
type: string
name:
type: string
cidr:
type: string
role:
type: string
TaintSpec:
type: object
required:
Expand Down
22 changes: 21 additions & 1 deletion schemas/template/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ info:
name: Apache 2.0
url: 'https://www.apache.org/licenses/LICENSE-2.0'
title: HyperFleet API
version: 1.0.26
version: 1.0.27
host: hyperfleet.redhat.com
basePath: /
schemes:
Expand Down Expand Up @@ -1902,6 +1902,10 @@ definitions:
type: string
subnet:
type: string
subnets:
items:
$ref: '#/definitions/SubnetSpec'
type: array
zone:
type: string
type: object
Expand Down Expand Up @@ -2590,6 +2594,22 @@ definitions:
required:
- conditions
type: object
SubnetSpec:
properties:
cidr:
type: string
id:
type: string
name:
type: string
role:
type: string
required:
- id
- name
- cidr
- role
type: object
TaintSpec:
properties:
effect:
Expand Down