browserstack-node-sdk 1.26.2 → 1.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -0
- package/ats/src/cloudproviders/Azure.js +1 -0
- package/ats/src/cloudproviders/CloudProvider.js +1 -0
- package/ats/src/cloudproviders/utils.js +1 -0
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/templates/azureresources/akscluster.json +127 -0
- package/ats/src/templates/azureresources/azureInstancetypes.json +759 -0
- package/ats/src/templates/azureresources/federatedidentityhub.json +50 -0
- package/ats/src/templates/azureresources/federatedidentitynode.json +50 -0
- package/ats/src/templates/azureresources/managedidentity.json +49 -0
- package/ats/src/templates/azureresources/storageaccount.json +92 -0
- package/ats/src/templates/default-service-account.yaml +5 -0
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customEnvironment.js +1 -1
- package/src/bin/jest/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/constants.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/performance-tester.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a15_0x3e0667=a15_0x370d;(function(_0x39883f,_0x3e2745){var _0x4da471=a15_0x370d,_0x46c1c6=_0x39883f();while(!![]){try{var _0x326867=parseInt(_0x4da471(0xa5))/0x1*(parseInt(_0x4da471(0xc4))/0x2)+parseInt(_0x4da471(0xee))/0x3*(-parseInt(_0x4da471(0xba))/0x4)+parseInt(_0x4da471(0xb3))/0x5+-parseInt(_0x4da471(0xeb))/0x6*(-parseInt(_0x4da471(0xcb))/0x7)+-parseInt(_0x4da471(0xec))/0x8*(-parseInt(_0x4da471(0xb8))/0x9)+parseInt(_0x4da471(0xbc))/0xa*(parseInt(_0x4da471(0xbe))/0xb)+-parseInt(_0x4da471(0xe4))/0xc;if(_0x326867===_0x3e2745)break;else _0x46c1c6['push'](_0x46c1c6['shift']());}catch(_0x3b22db){_0x46c1c6['push'](_0x46c1c6['shift']());}}}(a15_0x5688,0x389ba),require(a15_0x3e0667(0xa7))[a15_0x3e0667(0xcc)](),exports[a15_0x3e0667(0xe6)]=process[a15_0x3e0667(0xea)][a15_0x3e0667(0xe6)]||a15_0x3e0667(0xc1),exports[a15_0x3e0667(0xd0)]=process[a15_0x3e0667(0xea)][a15_0x3e0667(0xd0)]||a15_0x3e0667(0xef),exports[a15_0x3e0667(0xae)]=process[a15_0x3e0667(0xea)]['AG_API_URL']||a15_0x3e0667(0xf0),exports[a15_0x3e0667(0xa6)]=a15_0x3e0667(0xf2)+this[a15_0x3e0667(0xae)]+a15_0x3e0667(0xcd),exports['CP_CONFIG_FILE']=a15_0x3e0667(0xb4),exports[a15_0x3e0667(0xdb)]=a15_0x3e0667(0xdc),exports[a15_0x3e0667(0xe3)]=a15_0x3e0667(0xc7),exports[a15_0x3e0667(0xab)]='aws',exports[a15_0x3e0667(0xe2)]=a15_0x3e0667(0xa8),exports[a15_0x3e0667(0xc3)]='BSTACK-ATS-CLUSTER-AUTOSCALER',exports[a15_0x3e0667(0xd7)]=a15_0x3e0667(0xcf));var a15_0x573cbc={};a15_0x573cbc[a15_0x3e0667(0xb0)]='browserstack:managedBy',a15_0x573cbc[a15_0x3e0667(0xd3)]=a15_0x3e0667(0xd8);var a15_0x5d9c3d={};a15_0x5d9c3d[a15_0x3e0667(0xb0)]=a15_0x3e0667(0xac),a15_0x5d9c3d[a15_0x3e0667(0xd3)]=a15_0x3e0667(0xd9),exports[a15_0x3e0667(0xe0)]=[a15_0x573cbc,a15_0x5d9c3d];var a15_0x39a9a6={};a15_0x39a9a6['browserstack:managedBy']='BrowserStack',a15_0x39a9a6[a15_0x3e0667(0xac)]=a15_0x3e0667(0xd9),exports[a15_0x3e0667(0xe1)]=a15_0x39a9a6,exports[a15_0x3e0667(0xb5)]=[this['AWS']];var a15_0x1d432d={};a15_0x1d432d[a15_0x3e0667(0xb9)]=a15_0x3e0667(0xd1),a15_0x1d432d['RESOURCES']=a15_0x3e0667(0xbf),a15_0x1d432d[a15_0x3e0667(0xd6)]=a15_0x3e0667(0xdf),a15_0x1d432d[a15_0x3e0667(0xc0)]=a15_0x3e0667(0xde),a15_0x1d432d['CLI_RUN_FINISHED']=a15_0x3e0667(0xd5),exports[a15_0x3e0667(0xed)]=a15_0x1d432d,exports['global_registry']={},exports['LINK_MESSAGE']='\x0a\x0aFind\x20more\x20information\x20at:\x20https://browserstack.com/docs/automate-turboscale/references/browserstack-cli';var a15_0x3d51d5={};a15_0x3d51d5[a15_0x3e0667(0xbd)]='\x0aCreate\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing.'+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xf1)]=a15_0x3e0667(0xaa)+this['LINK_MESSAGE'],a15_0x3d51d5[a15_0x3e0667(0xe9)]='\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20configuration\x20of\x20BrowserStack\x20CLI.'+this[a15_0x3e0667(0xdd)],a15_0x3d51d5['create']=a15_0x3e0667(0xc6)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)]={},a15_0x3d51d5['delete']=a15_0x3e0667(0xce)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xd4)]=a15_0x3e0667(0xe8)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)][a15_0x3e0667(0xbd)]=a15_0x3e0667(0xd2)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)][a15_0x3e0667(0xca)]=a15_0x3e0667(0xe7)+this[a15_0x3e0667(0xdd)],a15_0x3d51d5[a15_0x3e0667(0xb2)]['gridProfile']=a15_0x3e0667(0xc5)+this[a15_0x3e0667(0xdd)],exports['HELP_HEADER_MESSAGE']=a15_0x3d51d5,exports[a15_0x3e0667(0xb1)]=a15_0x3e0667(0xda);function a15_0x370d(_0xc10e7e,_0x401b45){var _0x5688e3=a15_0x5688();return a15_0x370d=function(_0x370d7c,_0x111333){_0x370d7c=_0x370d7c-0xa5;var _0x4245b0=_0x5688e3[_0x370d7c];return _0x4245b0;},a15_0x370d(_0xc10e7e,_0x401b45);}function a15_0x5688(){var _0x83ca8c=['CLI_RUN_STARTED','grid.browserstack.com','error','CLUSTER_AUTOSCALER_STACK_NAME','2MymWbT','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grid\x20profiles\x20created.','\x0aThis\x20will\x20help\x20create\x20a\x20new\x20Automation\x20grid.','high-scale-grid','NULL','success','grid','28343YlnwUW','config','/ws?username=<UsernamePlaceholder>&password=<PasswordPlaceholder>','\x0aThis\x20will\x20help\x20delete\x20the\x20Automation\x20grid.','azure','BS_API_URL','log','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20resources\x20created\x20on\x20Automate\x20{TurboScale}.','Value','connect','cliRunFinished','GRID_URL','AZURE','BrowserStack','BrowserStack-Automate-TurboScale','Use\x20\x22browserstack-cli\x20ats\x20<command_group>\x20-h/--help\x22\x20for\x20more\x20options\x20available\x20about\x20Automate\x20{TurboScale}.','IAM_USER_NAME','BrowserStackIAMUser','LINK_MESSAGE','cliRunStarted','gridUrl','COMMON_HST_TAGS','HST_CLUSTER_TAGS','CLUSTER_DEP_STACK_NAME','DEFAULT_GRID_NAME','16994412LWHtPG','WARNING','DASHBOARD_ENDPOINT','\x0aThis\x20command\x20will\x20list\x20down\x20the\x20grids\x20created.','\x0aThis\x20will\x20connect\x20the\x20grid\x20with\x20existing\x20VPC.','configure','env','498uLekSP','400096CPoGFE','WS_EVENTS','8763Yrjxxk','api.browserstack.com','grid-api.browserstack.com','init','wss://','warning','432868wbeUyX','WS_ENDPOINT','dotenv','BSTACK-ATS-CLUSTER','ERROR','\x0aThis\x20command\x20will\x20take\x20you\x20through\x20the\x20initialisation\x20of\x20BrowserStack\x20CLI.','AWS','browserstack:service','REDACTED','AG_API_URL','./instanceTypes.json','Key','HELP_FOOTER_MESSAGE','list','1475510IlKUKY','credentials','SUPPORTED_CLOUD_PROVIDERS','RAW_ARGS_REGEX','INFO','63UxkSiC','LOG','104mCUFbr','AWS_INSTANCE_TYPE_LIST','20DXNiOF','root','1704406luOCoZ','resourceInfo'];a15_0x5688=function(){return _0x83ca8c;};return a15_0x5688();}var a15_0x2a4a8e={};a15_0x2a4a8e['SUCCESS']=a15_0x3e0667(0xc9),a15_0x2a4a8e[a15_0x3e0667(0xa9)]=a15_0x3e0667(0xc2),a15_0x2a4a8e[a15_0x3e0667(0xb7)]='info',a15_0x2a4a8e[a15_0x3e0667(0xe5)]=a15_0x3e0667(0xf3),a15_0x2a4a8e['UNKNOWN']='unknown',a15_0x2a4a8e[a15_0x3e0667(0xc8)]=null,exports['messageTypes']=a15_0x2a4a8e,exports['CLI_ARGS_REGEX']=/(?<=("u"|"username"|"k"|"key") *: *)"[^,}]*/g,exports[a15_0x3e0667(0xb6)]=/(?<=("-u"|"-username"|"-k"|"-key") *, *)"[^,\]]*/g,exports[a15_0x3e0667(0xad)]='[REDACTED]',exports[a15_0x3e0667(0xbb)]=require(a15_0x3e0667(0xaf)),exports['AZURE_INSTANCE_TYPE_LIST']=require('../templates/azureresources/azureInstancetypes.json');
|
package/ats/src/config/logger.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a16_0x4283(_0x53b1bd,_0x56b214){const _0x259aa9=a16_0x259a();return a16_0x4283=function(_0x42834b,_0x26def7){_0x42834b=_0x42834b-0x121;let _0x19efc6=_0x259aa9[_0x42834b];return _0x19efc6;},a16_0x4283(_0x53b1bd,_0x56b214);}const a16_0x3b8875=a16_0x4283;(function(_0x204bb1,_0x315451){const _0x4cb0cd=a16_0x4283,_0xc63bc7=_0x204bb1();while(!![]){try{const _0x49a9ba=-parseInt(_0x4cb0cd(0x138))/0x1+parseInt(_0x4cb0cd(0x12b))/0x2+-parseInt(_0x4cb0cd(0x12d))/0x3+parseInt(_0x4cb0cd(0x133))/0x4*(-parseInt(_0x4cb0cd(0x13d))/0x5)+-parseInt(_0x4cb0cd(0x13a))/0x6+-parseInt(_0x4cb0cd(0x128))/0x7*(-parseInt(_0x4cb0cd(0x12a))/0x8)+-parseInt(_0x4cb0cd(0x130))/0x9*(-parseInt(_0x4cb0cd(0x13b))/0xa);if(_0x49a9ba===_0x315451)break;else _0xc63bc7['push'](_0xc63bc7['shift']());}catch(_0x521da8){_0xc63bc7['push'](_0xc63bc7['shift']());}}}(a16_0x259a,0x217ca));const winston=require(a16_0x3b8875(0x132)),fs=require('fs'),path=require(a16_0x3b8875(0x134)),logDir=a16_0x3b8875(0x129);function a16_0x259a(){const _0x460589=['96oqNhVg','27422yTsOVq','YYYY-MM-DD\x20HH:mm:ss','568677BwicEK','combine','name','45QUioMj','createLogger','winston','79412QGRApa','path','existsSync','File','debug','143805yKgdNK','usage.log','1283604EqVVqJ','1459750WJdslO','events.log','50ZMIzpj','timestamp','level','printf','join','transports','format','mkdirSync','81319xWZnCB','log'];a16_0x259a=function(){return _0x460589;};return a16_0x259a();}!fs[a16_0x3b8875(0x135)](logDir)&&fs[a16_0x3b8875(0x127)](logDir);const a16_0x4bd715={};a16_0x4bd715[a16_0x3b8875(0x126)]=a16_0x3b8875(0x12c);const a16_0x3c478e={};a16_0x3c478e[a16_0x3b8875(0x122)]=!![];const a16_0x5e8285={};a16_0x5e8285[a16_0x3b8875(0x12f)]='console.info',exports['logger']=new winston[(a16_0x3b8875(0x131))]({'format':winston[a16_0x3b8875(0x126)][a16_0x3b8875(0x12e)](winston[a16_0x3b8875(0x126)]['timestamp'](a16_0x4bd715),winston[a16_0x3b8875(0x126)]['colorize'](a16_0x3c478e),winston[a16_0x3b8875(0x126)][a16_0x3b8875(0x123)](_0x573511=>_0x573511[a16_0x3b8875(0x121)]+'\x20-\x20'+_0x573511[a16_0x3b8875(0x122)]+':\x20'+_0x573511['message'])),'transports':[new winston[(a16_0x3b8875(0x125))]['Console'](a16_0x5e8285),new winston[(a16_0x3b8875(0x125))]['File']({'filename':path[a16_0x3b8875(0x124)](logDir,a16_0x3b8875(0x13c)),'level':a16_0x3b8875(0x137)})]});const winstonFileLoggerParams={'transports':[new winston['transports'][(a16_0x3b8875(0x136))]({'filename':path[a16_0x3b8875(0x124)](logDir,a16_0x3b8875(0x139)),'level':a16_0x3b8875(0x137)})]};exports['fileLogger']=new winston[(a16_0x3b8875(0x131))](winstonFileLoggerParams);
|
package/ats/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a17_0x43e179=a17_0x59dc;(function(_0xb41a18,_0x31b6c1){const _0x3d874b=a17_0x59dc,_0x38be89=_0xb41a18();while(!![]){try{const _0x45988f=-parseInt(_0x3d874b(0x1fa))/0x1*(-parseInt(_0x3d874b(0x1f0))/0x2)+-parseInt(_0x3d874b(0x1fd))/0x3*(-parseInt(_0x3d874b(0x1f8))/0x4)+-parseInt(_0x3d874b(0x1f4))/0x5+-parseInt(_0x3d874b(0x1fc))/0x6*(parseInt(_0x3d874b(0x1f1))/0x7)+parseInt(_0x3d874b(0x1f5))/0x8+parseInt(_0x3d874b(0x1f6))/0x9+-parseInt(_0x3d874b(0x1fb))/0xa;if(_0x45988f===_0x31b6c1)break;else _0x38be89['push'](_0x38be89['shift']());}catch(_0x144ea6){_0x38be89['push'](_0x38be89['shift']());}}}(a17_0x4b59,0xa1f11));function a17_0x59dc(_0x58584e,_0xb943a9){const _0x4b591e=a17_0x4b59();return a17_0x59dc=function(_0x59dc22,_0xf5e7a1){_0x59dc22=_0x59dc22-0x1eb;let _0xd3827d=_0x4b591e[_0x59dc22];return _0xd3827d;},a17_0x59dc(_0x58584e,_0xb943a9);}const {HELP_FOOTER_MESSAGE,HELP_HEADER_MESSAGE}=require(a17_0x43e179(0x1f9));process[a17_0x43e179(0x1ed)][a17_0x43e179(0x1ee)]=0x1;function a17_0x4b59(){const _0x577734=['308iaKZLF','./config/constants','10bEiIIy','10332110MwDFbm','5866494QKDuvo','15945Jkjhsq','NVppI','root','env','AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE','exports','262058zRxJZt','7PvFLWB','demandCommand','epilogue','2257270zSTmuS','8755760BQhAGF','2805408QDHrep','oDzBZ'];a17_0x4b59=function(){return _0x577734;};return a17_0x4b59();}function run(_0x49ab0c){const _0x142b8e=a17_0x43e179,_0xff9ed0={};_0xff9ed0[_0x142b8e(0x1f7)]='commands',_0xff9ed0[_0x142b8e(0x1eb)]='help';const _0x55834c=_0xff9ed0;_0x49ab0c['usage'](HELP_HEADER_MESSAGE[_0x142b8e(0x1ec)])['commandDir'](_0x55834c[_0x142b8e(0x1f7)])[_0x142b8e(0x1f2)]()['help'](_0x55834c[_0x142b8e(0x1eb)])[_0x142b8e(0x1f3)](HELP_FOOTER_MESSAGE);}module[a17_0x43e179(0x1ef)]=run;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
|
3
|
+
"contentVersion": "1.0.0.0",
|
|
4
|
+
"parameters": {
|
|
5
|
+
"clusterName": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"metadata": {
|
|
8
|
+
"description": "The name of the Managed Cluster resource."
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"location": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"metadata": {
|
|
14
|
+
"description": "The location of AKS resource."
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"userInstanceType": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"defaultValue": "Standard_D8_v5",
|
|
20
|
+
"metadata": {
|
|
21
|
+
"description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"osDiskSizeGB": {
|
|
25
|
+
"type": "int",
|
|
26
|
+
"defaultValue": 30,
|
|
27
|
+
"metadata": {
|
|
28
|
+
"description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"userMaxNodes": {
|
|
32
|
+
"type": "int",
|
|
33
|
+
"defaultValue": 1,
|
|
34
|
+
"metadata": {
|
|
35
|
+
"description": "Disk size (in GiB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"resources": [
|
|
40
|
+
{
|
|
41
|
+
"apiVersion": "2023-04-01",
|
|
42
|
+
"dependsOn": [],
|
|
43
|
+
"type": "Microsoft.ContainerService/managedClusters",
|
|
44
|
+
"location": "[parameters('location')]",
|
|
45
|
+
"name": "[parameters('clusterName')]",
|
|
46
|
+
"properties": {
|
|
47
|
+
"dnsPrefix": "[concat(parameters('clusterName'), '-dns')]",
|
|
48
|
+
"kubernetesVersion": "1.26.6",
|
|
49
|
+
"enableRBAC": true,
|
|
50
|
+
"agentPoolProfiles": [
|
|
51
|
+
{
|
|
52
|
+
"name": "agentpool",
|
|
53
|
+
"osDiskSizeGB": "[parameters('osDiskSizeGB')]",
|
|
54
|
+
"count": 1,
|
|
55
|
+
"enableAutoScaling": true,
|
|
56
|
+
"minCount": 1,
|
|
57
|
+
"maxCount": "[parameters('userMaxNodes')]",
|
|
58
|
+
"vmSize": "[parameters('userInstanceType')]",
|
|
59
|
+
"osType": "Linux",
|
|
60
|
+
"storageProfile": "ManagedDisks",
|
|
61
|
+
"type": "VirtualMachineScaleSets",
|
|
62
|
+
"mode": "System",
|
|
63
|
+
"maxPods": 100,
|
|
64
|
+
"availabilityZones": [
|
|
65
|
+
"1",
|
|
66
|
+
"2",
|
|
67
|
+
"3"
|
|
68
|
+
],
|
|
69
|
+
"enableNodePublicIP": false,
|
|
70
|
+
"tags": {
|
|
71
|
+
"browserstack:managedBy": "BrowserStack"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"networkProfile": {
|
|
76
|
+
"loadBalancerSku": "standard",
|
|
77
|
+
"networkPlugin": "kubenet",
|
|
78
|
+
"networkPolicy": "calico"
|
|
79
|
+
},
|
|
80
|
+
"autoUpgradeProfile": {
|
|
81
|
+
"upgradeChannel": "none"
|
|
82
|
+
},
|
|
83
|
+
"disableLocalAccounts": false,
|
|
84
|
+
"aadProfile": {
|
|
85
|
+
"managed": true,
|
|
86
|
+
"adminGroupObjectIDs": [],
|
|
87
|
+
"enableAzureRBAC": true
|
|
88
|
+
},
|
|
89
|
+
"apiServerAccessProfile": {
|
|
90
|
+
"enablePrivateCluster": false
|
|
91
|
+
},
|
|
92
|
+
"addonProfiles": {
|
|
93
|
+
"azurepolicy": {
|
|
94
|
+
"enabled": false
|
|
95
|
+
},
|
|
96
|
+
"azureKeyvaultSecretsProvider": {
|
|
97
|
+
"enabled": false,
|
|
98
|
+
"config": null
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"oidcIssuerProfile": {
|
|
102
|
+
"enabled": true
|
|
103
|
+
},
|
|
104
|
+
"securityProfile": {
|
|
105
|
+
"workloadIdentity": {
|
|
106
|
+
"enabled": true
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"upgradePolicy": {
|
|
110
|
+
"automaticOSUpgradePolicy": {
|
|
111
|
+
"enableAutomaticOSUpgrade": false
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"tags": {
|
|
116
|
+
"browserstack:managedBy": "BrowserStack"
|
|
117
|
+
},
|
|
118
|
+
"sku": {
|
|
119
|
+
"name": "Base",
|
|
120
|
+
"tier": "Standard"
|
|
121
|
+
},
|
|
122
|
+
"identity": {
|
|
123
|
+
"type": "SystemAssigned"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|