forked from goodrain/rainbond
-
Notifications
You must be signed in to change notification settings - Fork 2
/
constants.go
30 lines (28 loc) · 1.09 KB
/
constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package constants
const (
// Wutong -
Wutong = "wutong"
// WutongHubImageRepository default private image repository
WutongHubImageRepository = "wutong.me"
// WTDataLogPath -
WTDataLogPath = "/wtdata/logs"
// ImagePullSecretKey the key of environment IMAGE_PULL_SECRET
ImagePullSecretKey = "IMAGE_PULL_SECRET"
// WutongOnlineImageRepository default private image repository
WutongOnlineImageRepository = "swr.cn-southwest-2.myhuaweicloud.com/wutong"
)
// Kubernetes recommended Labels
// Refer to: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels
const (
ResourceManagedByLabel = "app.kubernetes.io/managed-by"
ResourceInstanceLabel = "app.kubernetes.io/instance"
ResourceTenantIDLabel = "tenant_id"
ResourceTenantNameLabel = "tenant_name"
ResourceTenantEnvIDLabel = "tenant_env_id"
ResourceTenantEnvNameLabel = "tenant_env_name"
ResourceAppIDLabel = "app_id"
ResourceAppNameLabel = "app"
ResourceVersionLabel = "version"
ResourceServiceIDLabel = "service_id"
ResourceServiceAliasLabel = "service_alias"
)