From 71545ee29ed3a42557bd63b9c42143dfb0c0d812 Mon Sep 17 00:00:00 2001 From: philipwu08 Date: Thu, 1 Aug 2024 16:27:50 -0400 Subject: [PATCH] OCM-10016 | Add new field to provision_shard for zero egress --- model/clusters_mgmt/v1/aws_shard_type.model | 21 +++++++++++++++++++ .../clusters_mgmt/v1/server_config_type.model | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 model/clusters_mgmt/v1/aws_shard_type.model diff --git a/model/clusters_mgmt/v1/aws_shard_type.model b/model/clusters_mgmt/v1/aws_shard_type.model new file mode 100644 index 00000000..7e9c102d --- /dev/null +++ b/model/clusters_mgmt/v1/aws_shard_type.model @@ -0,0 +1,21 @@ +/* +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. +*/ + +// Config for AWS provision shards +struct AWSShard { + // ECR repository URLs of the provision shard + ECRRepositoryURLs []String +} diff --git a/model/clusters_mgmt/v1/server_config_type.model b/model/clusters_mgmt/v1/server_config_type.model index f18800f4..a70b971b 100644 --- a/model/clusters_mgmt/v1/server_config_type.model +++ b/model/clusters_mgmt/v1/server_config_type.model @@ -24,4 +24,7 @@ class ServerConfig { // The topology of a provision shard (Optional). Topology ProvisionShardTopology + + // Config for AWS provision shards + AWSShard AWSShard }