Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/install/installer/pkg/components/dashboard/constants.go
2501 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 dashboard
6
7
import "github.com/gitpod-io/gitpod/installer/pkg/common"
8
9
const (
10
Component = common.DashboardComponent
11
ContainerPort = 80
12
PortName = "http"
13
ServicePort = 3001
14
ReadinessPort = 8080
15
16
// We need a new service account because
17
// - Update old one will make preview env / dedicated deploy failed with err
18
// The RoleBinding "dashboard" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"Role", Name:"dashboard"}: cannot change roleRef
19
// - Add new one will not work for dedicated since it will not clean old resources
20
ComponentServiceAccount = "dashboard-service-account"
21
)
22
23