2022-07-13 12:09:00 +02:00

20 lines
527 B
Go

// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
// Licensed under the MIT License. See License-MIT.txt in the project root for license information.
package usage
import (
"github.com/gitpod-io/gitpod/installer/pkg/common"
"k8s.io/apimachinery/pkg/runtime"
)
func service(ctx *common.RenderContext) ([]runtime.Object, error) {
return common.GenerateService(Component, []common.ServicePort{
{
Name: gRPCPortName,
ContainerPort: gRPCContainerPort,
ServicePort: GRPCServicePort,
},
})(ctx)
}