Files
open-cluster-management/manifests/config.go
Jian Qiu e2be403132
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 32s
Post / coverage (push) Failing after 43s
Post / images (amd64, addon-manager) (push) Failing after 41s
Post / images (amd64, placement) (push) Failing after 21s
Post / images (amd64, registration) (push) Failing after 23s
Post / images (amd64, registration-operator) (push) Failing after 30s
Post / images (amd64, work) (push) Failing after 28s
Post / images (arm64, addon-manager) (push) Failing after 28s
Post / images (arm64, placement) (push) Failing after 26s
Post / images (arm64, registration) (push) Failing after 35s
Post / images (arm64, registration-operator) (push) Failing after 28s
Post / images (arm64, work) (push) Failing after 35s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 38s
Update grpc configuration in operator API (#1159)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2025-09-04 11:15:15 +00:00

53 lines
1.9 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
Labels map[string]string
LabelsString string
GRPCAuthEnabled bool
GRPCServerImage string
GRPCAutoApprovedUsers string
}
type Webhook struct {
IsIPFormat bool
Port int32
Address string
}