Skip to content

Commit

Permalink
OCM-7308 | feat: Generated a new version of the OCM-SDK to support Ku…
Browse files Browse the repository at this point in the history
…beletConfigs on HCP MachinePools
  • Loading branch information
robpblake committed May 2, 2024
1 parent 1f49224 commit 85e458e
Show file tree
Hide file tree
Showing 15 changed files with 22,405 additions and 20,409 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export PATH := $(LOCAL_BIN_PATH):$(PATH)
export CGO_ENABLED=0

# Details of the model to use:
model_version:=v0.0.371
model_version:=v0.0.372
model_url:=https://github.com/openshift-online/ocm-api-model.git

# Details of the metamodel to use:
Expand Down
8 changes: 8 additions & 0 deletions clustersmgmt/v1/cluster_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,14 @@ func (c *ClusterClient) KubeletConfig() *KubeletConfigClient {
)
}

// KubeletConfigs returns the target 'kubelet_configs' resource.
func (c *ClusterClient) KubeletConfigs() *KubeletConfigsClient {
return NewKubeletConfigsClient(
c.transport,
path.Join(c.path, "kubelet_configs"),
)
}

// LimitedSupportReasons returns the target 'limited_support_reasons' resource.
//
// Reference to cluster limited support reasons.
Expand Down
Loading

0 comments on commit 85e458e

Please sign in to comment.