diff --git a/model/clusters_mgmt/v1/gcp_resource.model b/model/clusters_mgmt/v1/gcp_resource.model new file mode 100644 index 00000000..4ca97d58 --- /dev/null +++ b/model/clusters_mgmt/v1/gcp_resource.model @@ -0,0 +1,23 @@ +/* +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. +*/ + +// Manages the collection of gcp endpoints. +resource GCP { + // Reference to the resource that manages wif_configs + locator WifConfigs { + target WifConfigs + } +} \ No newline at end of file diff --git a/model/clusters_mgmt/v1/root_resource.model b/model/clusters_mgmt/v1/root_resource.model index ab3761d3..1cd9edfc 100644 --- a/model/clusters_mgmt/v1/root_resource.model +++ b/model/clusters_mgmt/v1/root_resource.model @@ -127,13 +127,8 @@ resource Root { target StorageQuotaValues } - // Reference to the resource that manages wif_configs - locator WifConfigs { - target WifConfigs - } - - // Reference to the resource that manages wif_templates - locator WifTemplates { - target WifTemplate + // Reference to the resource that manages the collection of gcp endpoints. + locator GCP { + target GCP } } diff --git a/model/clusters_mgmt/v2alpha1/gcp_resource.model b/model/clusters_mgmt/v2alpha1/gcp_resource.model new file mode 100644 index 00000000..4ca97d58 --- /dev/null +++ b/model/clusters_mgmt/v2alpha1/gcp_resource.model @@ -0,0 +1,23 @@ +/* +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. +*/ + +// Manages the collection of gcp endpoints. +resource GCP { + // Reference to the resource that manages wif_configs + locator WifConfigs { + target WifConfigs + } +} \ No newline at end of file diff --git a/model/clusters_mgmt/v2alpha1/root_resource.model b/model/clusters_mgmt/v2alpha1/root_resource.model index c358e41c..41c8cd3b 100644 --- a/model/clusters_mgmt/v2alpha1/root_resource.model +++ b/model/clusters_mgmt/v2alpha1/root_resource.model @@ -127,13 +127,8 @@ resource Root { target StorageQuotaValues } - // Reference to the resource that manages wif_configs - locator WifConfigs { - target WifConfigs - } - - // Reference to the resource that manages wif_templates - locator WifTemplates { - target WifTemplate + // Reference to the resource that manages the collection of gcp endpoints. + locator GCP { + target GCP } }