Simon Emms e6849ab09f Revert "[installer]: remove all references to pod security policies"
This reverts commit 8063b1052a1fb8519869f4089abe4c7e0f8f1b5a.
2022-08-23 20:42:39 +02:00

24 lines
587 B
Go

// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License-AGPL.txt in the project root for license information.
package image_builder_mk3
import "github.com/gitpod-io/gitpod/installer/pkg/common"
var Objects = common.CompositeRenderFunc(
clusterrole,
configmap,
deployment,
networkpolicy,
rolebinding,
common.GenerateService(Component, []common.ServicePort{
{
Name: RPCPortName,
ContainerPort: RPCPort,
ServicePort: RPCPort,
},
}),
common.DefaultServiceAccount(Component),
)