-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconstants.ts
More file actions
134 lines (127 loc) · 8.6 KB
/
constants.ts
File metadata and controls
134 lines (127 loc) · 8.6 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
* Copyright (c) 2024. Devtron Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { DOCUMENTATION_HOME_PAGE } from '@Common/Constants'
export const DOCUMENTATION = {
ADMIN_PASSWORD: 'install/install-devtron#devtron-admin-credentials',
APP_CI_CONFIG_BUILD_WITHOUT_DOCKER:
'usage/applications/creating-application/docker-build-configuration#build-docker-image-without-dockerfile',
APP_CREATE: 'usage/applications/create-application',
APP_CREATE_CI_CONFIG: 'usage/applications/creating-application/docker-build-configuration',
APP_CREATE_CONFIG_MAP: 'usage/applications/creating-application/config-maps',
APP_CREATE_ENVIRONMENT_OVERRIDE: 'usage/applications/creating-application/environment-overrides',
APP_CREATE_MATERIAL: 'usage/applications/creating-application/git-material',
APP_CREATE_SECRET: 'usage/applications/creating-application/secrets',
APP_CREATE_WORKFLOW: 'usage/applications/creating-application/workflow',
APP_DEPLOYMENT_TEMPLATE: 'usage/applications/creating-application/deployment-template',
APP_EPHEMERAL_CONTAINER: 'usage/applications/app-details/ephemeral-containers',
APP_GROUP: 'usage/application-groups',
APP_METRICS: 'usage/applications/app-details/app-metrics',
APP_OVERVIEW_TAGS: 'usage/applications/overview#manage-tags',
APP_ROLLOUT_DEPLOYMENT_TEMPLATE: 'usage/applications/creating-application/deployment-template/rollout-deployment',
BUILD_STAGE: 'usage/applications/creating-application/workflow/ci-pipeline#build-stage',
APP_TAGS: 'usage/applications/create-application#tags',
BLOB_STORAGE: 'configurations-overview/installation-configuration#configuration-of-blob-storage',
BULK_UPDATE: 'usage/bulk-update',
CHART_GROUP: 'usage/deploy-chart/chart-group',
CHART_LIST: 'usage/deploy-chart/overview-of-charts',
CHART_STORE: 'usage/deploy-chart',
CHART_STORE_METRICS_SERVER: 'dashboard//chart-store/discover?appStoreName=metrics-server',
CUSTOM_VALUES: 'usage/deploy-chart/overview-of-charts#custom-values',
DEPLOYMENT: 'usage/applications/creating-application/deployment-template/deployment',
DEPLOYMENT_TEMPLATE: 'usage/applications/creating-application/deployment-template',
DEVTRON_UPGRADE: 'getting-started/upgrade',
CONFIGURING_WEBHOOK: 'usage/applications/creating-application/workflow/ci-pipeline#configuring-webhook',
ENTERPRISE_LICENSE: 'enterprise-license',
EXECUTE_CUSTOM_SCRIPT:
'usage/applications/creating-application/workflow/ci-pipeline/ci-build-pre-post-plugins#execute-custom-script',
EXTERNAL_LINKS: 'getting-started/global-configurations/external-links',
EXTERNAL_SECRET: 'usage/applications/creating-application/secrets#external-secrets',
HOME_PAGE: 'https://devtron.ai',
DOC_HOME_PAGE: DOCUMENTATION_HOME_PAGE,
KUBE_CONFIG: 'usage/resource-browser#running-kubectl-commands-locally',
JOBS: 'usage/jobs',
TAINT: 'usage/resource-browser#taint-a-node',
RESOURCE_BROWSER: 'usage/resource-browser',
// Global Configurations
GLOBAL_CONFIG_API_TOKEN: 'getting-started/global-configurations/authorization/api-tokens',
GLOBAL_CONFIG_BUILD_INFRA: 'global-configurations/build-infra',
GLOBAL_CONFIG_CHART: 'getting-started/global-configurations/chart-repo',
GLOBAL_CONFIG_CLUSTER: 'getting-started/global-configurations/cluster-and-environments',
GLOBAL_CONFIG_CUSTOM_CHART: 'getting-started/global-configurations/custom-charts',
GLOBAL_CONFIG_CUSTOM_CHART_PRE_REQUISITES: 'global-configurations/deployment-charts#preparing-a-deployment-chart',
GLOBAL_CONFIG_DOCKER: 'getting-started/global-configurations/container-registries',
GLOBAL_CONFIG_GIT: 'getting-started/global-configurations/git-accounts',
GLOBAL_CONFIG_GITOPS: 'global-configurations/gitops',
GLOBAL_CONFIG_GITOPS_GITHUB: 'global-configurations/gitops#github',
GLOBAL_CONFIG_GITOPS_GITLAB: 'global-configurations/gitops#gitlab',
GLOBAL_CONFIG_GITOPS_AZURE: 'global-configurations/gitops#azure',
GLOBAL_CONFIG_GITOPS_BITBUCKET: 'global-configurations/gitops#bitbucket',
GLOBAL_CONFIG_GROUPS: 'getting-started/global-configurations/authorization/permission-groups',
GLOBAL_CONFIG_HOST_URL: 'global-configurations/host-url',
GLOBAL_CONFIG_NOTIFICATION: 'getting-started/global-configurations/manage-notification',
GLOBAL_CONFIG_PERMISSION: 'global-configurations/authorization/user-access#devtron-apps-permissions',
GLOBAL_CONFIG_PROJECT: 'global-configurations/projects',
GLOBAL_CONFIG_SSO: 'getting-started/global-configurations/sso-login',
GLOBAL_CONFIG_SCOPED_VARIABLES: 'getting-started/global-configurations/scoped-variables',
GLOBAL_CONFIG_USER: 'getting-started/global-configurations/authorization/user-access',
HYPERION: 'usage/applications#view-external-helm-app-listing',
JOB_CRONJOB: 'usage/applications/creating-application/deployment-template/job-and-cronjob',
JOB_SOURCE_CODE: 'usage/jobs/configuration-job',
JOB_WORKFLOW_EDITOR: 'usage/jobs/workflow-editor-job',
K8S_RESOURCES_PERMISSIONS: 'global-configurations/authorization/user-access#kubernetes-resources-permissions',
PRE_POST_BUILD_STAGE: 'usage/applications/creating-application/ci-pipeline/ci-build-pre-post-plugins',
ROLLOUT: 'usage/applications/creating-application/deployment-template/rollout-deployment',
SECURITY: 'usage/security-features',
SPECIFY_IMAGE_PULL_SECRET: 'getting-started/global-configurations/container-registries#specify-image-pull-secret',
TENANT_INSTALLATION: 'usage/software-distribution-hub/tenants',
// ENTERPRISE
CEL: 'https://github.com/google/cel-spec/blob/master/doc/langdef.md',
KUBERNETES_LABELS: 'https://kubernetes.io/docs/concepts/overview/working-with-objects/labels',
IMAGE_PROMOTION: 'global-configurations/image-promotion-policy',
IMAGE_PROMOTION_ASSIGN_TO: 'global-configurations/image-promotion-policy#applying-an-image-promotion-policy',
TAGS: 'usage/applications/create-application#tags',
TAGS_POLICY: 'global-configurations/tags-policy',
RESOURCE_WATCHER: 'usage/resource-watcher',
GITOPS_BITBUCKET: 'global-configurations/gitops#bitbucket',
DEPLOYMENT_CONFIGS: 'resources/glossary#base-deployment-template',
RJSF_PLAYGROUND: 'https://rjsf-team.github.io/react-jsonschema-form/',
// GLOBAL CONFIGURATION
GLOBAL_CONFIG_DEPLOYMENT_WINDOW: 'global-configurations/deployment-window',
GLOBAL_CONFIG_CATALOG_FRAMEWORK: 'global-configurations/catalog-framework',
GLOBAL_CONFIG_DEVTRON_APP_TEMPLATES: 'global-configurations',
GLOBAL_CONFIG_FILTER_CONDITION: 'global-configurations/filter-condition',
GLOBAL_CONFIG_LOCK_DEPLOYMENT_CONFIG: 'global-configurations/lock-deployment-config',
GLOBAL_CONFIG_PLUGINS_POLICY: 'global-configurations/plugins-policy',
GLOBAL_CONFIG_APPROVAL_POLICY: 'global-configurations/approval-policy',
GLOBAL_CONFIG_SSO_LOGIN_LDAP: 'global-configurations/authorization/sso-login/ldap',
GLOBAL_CONFIG_SSO_LOGIN_OIDC: 'global-configurations/authorization/sso-login/oidc',
GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: 'global-configurations/authorization/sso-login/microsoft',
GLOBAL_CONFIG_PULL_IMAGE_DIGEST: 'global-configurations/pull-image-digest',
GLOBAL_CONFIG_TAGS: 'getting-started/global-configurations/tags-policy',
// TODO: Replace with correct Url
SAMPLE_RUNBOOK_LINK: 'https://docs.devtron.ai/user-guide/ai-recommendations/runbook#add-runbook-spec',
// Software Release Management
SOFTWARE_DISTRIBUTION_HUB: 'usage/software-distribution-hub',
RELEASE_TRACKS: 'usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions',
RELEASES: 'usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions',
RELEASE_HUB: 'usage/software-distribution-hub/release-hub',
TENANTS: 'usage/software-distribution-hub/tenants#adding-installation',
TENANTS_INSTALLATION: 'usage/software-distribution-hub/tenants',
// Infrastructure Management
AUTOSCALER_DETECTION: 'user-guide/infra-management/infrastructure-overview#troubleshooting-autoscaler-detection',
// Cost Visibility
COST_CALCULATION: 'user-guide/finops/overview-cost-visibility#how-is-the-cost-calculated',
} as const