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
2424CONFIGURABLE_TIMEOUT =
2525HIDE_APPLICATION_GROUPS = true
2626REACT_APP_K8S_CLIENT = false
27- USE_V2 = false
2827CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL = 7000
2928CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT = 7
3029ENABLE_CHART_SEARCH_IN_HELM_DEPLOY = false
Original file line number Diff line number Diff line change 1515| SENTRY_PERFORMANCE_ENABLED | false | To send persormance sentry |
1616| SENTRY_DSN | '' | SENTRY Data Source Name |
1717| 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 |
1918| ENABLE_RESTART_WORKLOAD | "false" | Show restart pods option in app details page |
2019| ENABLE_BUILD_CONTEXT | "true" | Enable build context in Devtron UI |
2120| FORCE_SECURITY_SCANNING | "false" | Force security scanning |
Original file line number Diff line number Diff line change @@ -24,13 +24,7 @@ let stageMap = {
2424}
2525
2626export 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 )
3428}
3529
3630export 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 {
3434 CONFIGURABLE_TIMEOUT ?: string
3535 HIDE_APPLICATION_GROUPS ?: boolean
3636 K8S_CLIENT ?: boolean
37- USE_V2 ?: boolean
3837 CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL ?: number
3938 CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT ?: number
4039 ENABLE_CHART_SEARCH_IN_HELM_DEPLOY ?: boolean
@@ -140,7 +139,6 @@ if (!window || !window._env_) {
140139 HIDE_GITOPS_OR_HELM_OPTION : false ,
141140 HIDE_APPLICATION_GROUPS : false ,
142141 K8S_CLIENT : process . env . REACT_APP_K8S_CLIENT === 'true' ,
143- USE_V2 : true ,
144142 CLUSTER_TERMINAL_CONNECTION_POLLING_INTERVAL : 7000 ,
145143 CLUSTER_TERMINAL_CONNECTION_RETRY_COUNT : 7 ,
146144 ENABLE_CHART_SEARCH_IN_HELM_DEPLOY : false ,
You can’t perform that action at this time.
0 commit comments