Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/install/installer/pkg/components/public-api-server/objects.go
2501 views
1
// Copyright (c) 2022 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 public_api_server
6
7
import (
8
"github.com/gitpod-io/gitpod/installer/pkg/common"
9
"k8s.io/apimachinery/pkg/runtime"
10
)
11
12
func Objects(ctx *common.RenderContext) ([]runtime.Object, error) {
13
return common.CompositeRenderFunc(
14
configmap,
15
deployment,
16
rolebinding,
17
pdb,
18
common.DefaultServiceAccount(Component),
19
service,
20
networkpolicy,
21
)(ctx)
22
}
23
24