Skip to content

Commit

Permalink
further api definition fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Hayes authored and Jared Hayes committed Jan 7, 2025
1 parent 0b4fee3 commit 4525152
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
9 changes: 6 additions & 3 deletions config/v1/types_infrastructure.go
Original file line number Diff line number Diff line change
Expand Up @@ -1631,8 +1631,9 @@ type IBMCloudPlatformSpec struct {
// serviceEndpoints is a list of custom endpoints which will override the default
// service endpoints of an IBM Cloud service. These endpoints are consumed by
// components within the cluster to reach the respective IBM Cloud Services.
// Once admitted, the CCCMO validates each endpoint exists and updates the
// platform status as well as the cloud config.
// Once admitted, the CCCMO will furthger validate the endpoint exists by pinging it
// before processing using the provided endpoints to updates the platform status
// as well as the cloud config.
// +listType=map
// +listMapKey=name
// +optional
Expand Down Expand Up @@ -1661,7 +1662,9 @@ type IBMCloudPlatformStatus struct {
// serviceEndpoints is a list of custom endpoints which will override the default
// service endpoints of an IBM Cloud service. These endpoints are consumed by
// components within the cluster to reach the respective IBM Cloud Services.
// Once admitted, the CCCMO validates each endpoint exists and updates the
// Once admitted, the CCCMO will furthger validate the endpoint exists by pinging it
// before processing using the provided endpoints to updates the platform status
// as well as the cloud config.
// platform status as well as the cloud config.
// +listType=map
// +listMapKey=name
Expand Down
11 changes: 7 additions & 4 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -6865,13 +6865,16 @@
"type": "object",
"properties": {
"serviceEndpoints": {
"description": "ServiceEndpoints contains custom endpoints designated to override existing defaults of IBM Cloud Services.",
"description": "serviceEndpoints is a list of custom endpoints which will override the default service endpoints of an IBM Cloud service. These endpoints are consumed by components within the cluster to reach the respective IBM Cloud Services. Once admitted, the CCCMO will furthger validate the endpoint exists by pinging it before processing using the provided endpoints to updates the platform status as well as the cloud config.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/com.github.openshift.api.config.v1.IBMCloudServiceEndpoint"
},
"x-kubernetes-list-type": "atomic"
"x-kubernetes-list-map-keys": [
"name"
],
"x-kubernetes-list-type": "map"
}
}
},
Expand Down Expand Up @@ -6900,7 +6903,7 @@
"type": "string"
},
"serviceEndpoints": {
"description": "serviceEndpoints is a list of custom endpoints which will override the default service endpoints of an IBM Cloud service. These endpoints are consumed by components within the cluster to reach the respective IBM Cloud Services.",
"description": "serviceEndpoints is a list of custom endpoints which will override the default service endpoints of an IBM Cloud service. These endpoints are consumed by components within the cluster to reach the respective IBM Cloud Services. Once admitted, the CCCMO will furthger validate the endpoint exists by pinging it before processing using the provided endpoints to updates the platform status as well as the cloud config. platform status as well as the cloud config.",
"type": "array",
"items": {
"default": {},
Expand All @@ -6927,7 +6930,7 @@
"default": ""
},
"url": {
"description": "url is fully qualified URI with scheme https, that overrides the default generated endpoint for a client. This must be provided and cannot be empty.",
"description": "url is fully qualified URI with scheme https, that overrides the default generated endpoint for a client. This must be provided and cannot be empty. The path must follow the pattern /v[0,9]+ or /api/v[0,9]+",
"type": "string",
"default": ""
}
Expand Down

0 comments on commit 4525152

Please sign in to comment.