From 43b65f94a5b116b2ffd11f33168c00edcc61e7b5 Mon Sep 17 00:00:00 2001 From: Jakob Gray <20209054+JakobGray@users.noreply.github.com> Date: Mon, 29 Jul 2024 12:08:42 -0400 Subject: [PATCH] Update wif_configs path and remove wif_templates path --- model/clusters_mgmt/v1/gcp_resource.model | 23 +++++++++++++++++++ model/clusters_mgmt/v1/root_resource.model | 11 +++------ .../clusters_mgmt/v2alpha1/gcp_resource.model | 23 +++++++++++++++++++ .../v2alpha1/root_resource.model | 11 +++------ 4 files changed, 52 insertions(+), 16 deletions(-) create mode 100644 model/clusters_mgmt/v1/gcp_resource.model create mode 100644 model/clusters_mgmt/v2alpha1/gcp_resource.model 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 } }