Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/install/installer/pkg/components/database/cloudsql/objects.go
3606 views
1
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package cloudsql
6
7
import (
8
"github.com/gitpod-io/gitpod/installer/pkg/common"
9
dbinit "github.com/gitpod-io/gitpod/installer/pkg/components/database/init"
10
)
11
12
var Objects = common.CompositeRenderFunc(
13
deployment,
14
dbinit.Objects,
15
rolebinding,
16
common.DefaultServiceAccount(Component),
17
common.GenerateService(Component, []common.ServicePort{
18
{
19
Name: Component,
20
ContainerPort: Port,
21
ServicePort: Port,
22
},
23
}),
24
)
25
26