Path: blob/main/install/installer/pkg/components/dashboard/constants.go
2501 views
// Copyright (c) 2021 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34package dashboard56import "github.com/gitpod-io/gitpod/installer/pkg/common"78const (9Component = common.DashboardComponent10ContainerPort = 8011PortName = "http"12ServicePort = 300113ReadinessPort = 80801415// We need a new service account because16// - Update old one will make preview env / dedicated deploy failed with err17// The RoleBinding "dashboard" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"Role", Name:"dashboard"}: cannot change roleRef18// - Add new one will not work for dedicated since it will not clean old resources19ComponentServiceAccount = "dashboard-service-account"20)212223