Skip to content

Commit 708bad5

Browse files
authored
Merge pull request #1043 from devtron-labs/feat/autoscaler-profiles
feat: crud autoscaler profiles and attach to cluster
2 parents f1f582e + c79b801 commit 708bad5

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devtron-labs/devtron-fe-common-lib",
3-
"version": "4.0.4",
3+
"version": "4.0.5",
44
"description": "Supporting common component library",
55
"type": "module",
66
"main": "dist/index.js",

src/Pages-Devtron-2.0/Shared/Routes/routes.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@ export const BASE_ROUTES = {
288288
ROOT: 'cluster-env',
289289
MANAGE_CATEGORIES: 'manage-categories',
290290
},
291+
NODE_AUTOSCALER: {
292+
ROOT: 'node-autoscaler',
293+
CREATE_PROFILE: 'create-profile',
294+
EDIT_PROFILE: 'edit/:profileId',
295+
},
291296
DOCKER: 'docker',
292297
PROJECTS: 'projects',
293298
AUTH: {

src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ export interface customEnv {
190190
FEATURE_ATHENA_DEBUG_MODE_ENABLE?: boolean
191191
/** Org ID for grafana */
192192
GRAFANA_ORG_ID?: number
193+
/**
194+
* @default false
195+
*/
196+
FEATURE_NODE_AUTOSCALER_ENABLE?: boolean
193197
}
194198

195199
declare global {

0 commit comments

Comments
 (0)