mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* [installer] make sure dashboard is deployed after server and papi-server * fix build * Add unit tests * address feedback * wait feature flag until get actual value of timed out * default config cat client nil * log avg fetch time * 1 * mock feature flag hang * Add metric * fixup
22 lines
844 B
Go
22 lines
844 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 dashboard
|
|
|
|
import "github.com/gitpod-io/gitpod/installer/pkg/common"
|
|
|
|
const (
|
|
Component = common.DashboardComponent
|
|
ContainerPort = 80
|
|
PortName = "http"
|
|
ServicePort = 3001
|
|
ReadinessPort = 8080
|
|
|
|
// We need a new service account because
|
|
// - Update old one will make preview env / dedicated deploy failed with err
|
|
// The RoleBinding "dashboard" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"Role", Name:"dashboard"}: cannot change roleRef
|
|
// - Add new one will not work for dedicated since it will not clean old resources
|
|
ComponentServiceAccount = "dashboard-service-account"
|
|
)
|