Files
open-cluster-management/manifests/config.go
Amrutha HarikumarandGaurav Jaswal c4e706f123 Make ocm changes to tag aws resources by OCM hub (#862)
* 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>
2025-03-06 19:29:29 +00:00

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
}