File tree Expand file tree Collapse file tree 4 files changed +1
-11
lines changed Expand file tree Collapse file tree 4 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ HIDE_GITOPS_OR_HELM_OPTION=true
24
24
CONFIGURABLE_TIMEOUT =
25
25
HIDE_APPLICATION_GROUPS = true
26
26
REACT_APP_K8S_CLIENT = false
27
- USE_V2 = false
28
27
CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL = 7000
29
28
CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT = 7
30
29
ENABLE_CHART_SEARCH_IN_HELM_DEPLOY = false
Original file line number Diff line number Diff line change 15
15
| SENTRY_PERFORMANCE_ENABLED | false | To send persormance sentry |
16
16
| SENTRY_DSN | '' | SENTRY Data Source Name |
17
17
| SENTRY_TRACES_SAMPLE_RATE | 0.2 | Rate at which data send to sentry.(min=0 max=1)|
18
- | USE_V2 | "true" | Use the v2 APIs |
19
18
| ENABLE_RESTART_WORKLOAD | "false" | Show restart pods option in app details page |
20
19
| ENABLE_BUILD_CONTEXT | "true" | Enable build context in Devtron UI |
21
20
| FORCE_SECURITY_SCANNING | "false" | Force security scanning |
Original file line number Diff line number Diff line change @@ -24,13 +24,7 @@ let stageMap = {
24
24
}
25
25
26
26
export const getAppList = ( request , options ?) => {
27
- let URL = Routes . APP_LIST
28
- if ( window . _env_ . USE_V2 ) {
29
- URL += `/${ Routes . APP_LIST_V2 } `
30
- } else {
31
- URL += `/${ Routes . APP_LIST_V1 } `
32
- }
33
- return post ( URL , request , options )
27
+ return post ( Routes . APP_LIST , request , options )
34
28
}
35
29
36
30
export function getCITriggerInfo ( params : { envId : number | string ; ciArtifactId : number | string } ) {
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ interface customEnv {
34
34
CONFIGURABLE_TIMEOUT ?: string
35
35
HIDE_APPLICATION_GROUPS ?: boolean
36
36
K8S_CLIENT ?: boolean
37
- USE_V2 ?: boolean
38
37
CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL ?: number
39
38
CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT ?: number
40
39
ENABLE_CHART_SEARCH_IN_HELM_DEPLOY ?: boolean
@@ -140,7 +139,6 @@ if (!window || !window._env_) {
140
139
HIDE_GITOPS_OR_HELM_OPTION : false ,
141
140
HIDE_APPLICATION_GROUPS : false ,
142
141
K8S_CLIENT : process . env . REACT_APP_K8S_CLIENT === 'true' ,
143
- USE_V2 : true ,
144
142
CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL : 7000 ,
145
143
CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT : 7 ,
146
144
ENABLE_CHART_SEARCH_IN_HELM_DEPLOY : false ,
You can’t perform that action at this time.
0 commit comments