File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ export class RHDHDeployment {
3939 this . rhdhUrl = this . _buildBaseUrl ( ) ;
4040 }
4141
42- async deploy ( options ?: { timeout ?: number | null , forceUpdate ?: boolean } ) : Promise < void > {
42+ async deploy ( options ?: {
43+ timeout ?: number | null ;
44+ forceUpdate ?: boolean ;
45+ } ) : Promise < void > {
4346 // Default 600s, custom number to override, null to skip and let consumer control the timeout
4447 const timeout = options ?. timeout === undefined ? 600_000 : options . timeout ;
4548 if ( timeout !== null ) {
@@ -60,12 +63,12 @@ export class RHDHDeployment {
6063
6164 if ( this . deploymentConfig . method === "helm" ) {
6265 const isUpgrade = await this . _deploymentExists ( ) ;
63- await this . _deployWithHelm ( this . deploymentConfig . valueFile ) ;
66+ await this . _deployWithHelm ( this . deploymentConfig . valueFile ) ;
6467 if ( isUpgrade ) {
6568 await this . scaleDownAndRestart ( ) ; // Restart as helm does not monitor config changes
6669 }
6770 } else {
68- await this . _applyDynamicPlugins ( ) ;
71+ await this . _applyDynamicPlugins ( ) ;
6972 await this . _deployWithOperator ( this . deploymentConfig . subscription ) ;
7073 }
7174 await this . waitUntilReady ( ) ;
@@ -79,7 +82,7 @@ export class RHDHDeployment {
7982 } else {
8083 executed = await runOnce (
8184 `deploy-${ this . deploymentConfig . namespace } ` ,
82- deployFunc
85+ deployFunc ,
8386 ) ;
8487 }
8588
You can’t perform that action at this time.
0 commit comments