mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-08-23 22:26:49 +00:00
* Implementing aws resource tags Signed-off-by: Amrutha <amrutha.hari12@gmail.com> Signed-off-by: Alex <alexchan2988@gmail.com> Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com> * Fixing tests Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com> --------- Signed-off-by: Amrutha <amrutha.hari12@gmail.com> Signed-off-by: Alex <alexchan2988@gmail.com> Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com> Co-authored-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com>
48 lines
1.7 KiB
Go
48 lines
1.7 KiB
Go
package manifests
|
|
|
|
import operatorapiv1 "open-cluster-management.io/api/operator/v1"
|
|
|
|
type HubConfig struct {
|
|
ClusterManagerName string
|
|
ClusterManagerNamespace string
|
|
OperatorNamespace string
|
|
RegistrationImage string
|
|
RegistrationAPIServiceCABundle string
|
|
WorkImage string
|
|
WorkAPIServiceCABundle string
|
|
PlacementImage string
|
|
Replica int32
|
|
HostedMode bool
|
|
RegistrationWebhook Webhook
|
|
WorkWebhook Webhook
|
|
RegistrationFeatureGates []string
|
|
WorkFeatureGates []string
|
|
AddOnManagerImage string
|
|
AddOnManagerEnabled bool
|
|
MWReplicaSetEnabled bool
|
|
ClusterProfileEnabled bool
|
|
AgentImage string
|
|
CloudEventsDriverEnabled bool
|
|
ClusterImporterEnabled bool
|
|
WorkDriver string
|
|
AutoApproveUsers string
|
|
ImagePullSecret string
|
|
// ResourceRequirementResourceType is the resource requirement resource type for the cluster manager managed containers.
|
|
ResourceRequirementResourceType operatorapiv1.ResourceQosClass
|
|
// ResourceRequirements is the resource requirements for the cluster manager managed containers.
|
|
// The type has to be []byte to use "indent" template function.
|
|
ResourceRequirements []byte
|
|
ManagedClusterIdentityCreatorRole string
|
|
HubClusterArn string
|
|
EnabledRegistrationDrivers string
|
|
AutoApprovedCSRUsers string
|
|
AutoApprovedARNPatterns string
|
|
AwsResourceTags string
|
|
}
|
|
|
|
type Webhook struct {
|
|
IsIPFormat bool
|
|
Port int32
|
|
Address string
|
|
}
|