@@ -226,19 +226,19 @@ func (i *TestInstallation) InstallAgentgatewayCRDsFromLocalChart(ctx context.Con
226226
227227 // Check if we should skip installation if the release already exists (PERSIST_INSTALL or FAIL_FAST_AND_PERSIST mode)
228228 if testutils .ShouldPersistInstall () || testutils .ShouldFailFastAndPersist () {
229- if i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentGatewayCRDChartName , i .Metadata .InstallNamespace ) {
229+ if i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentgatewayCRDChartName , i .Metadata .InstallNamespace ) {
230230 return
231231 }
232232 }
233233
234234 // install the CRD chart first
235- crdChartURI , err := helper .GetLocalChartPath (helmutils .AgentGatewayCRDChartName , "" )
235+ crdChartURI , err := helper .GetLocalChartPath (helmutils .AgentgatewayCRDChartName , "" )
236236 i .Assertions .Require .NoError (err )
237237 err = i .Actions .Helm ().WithReceiver (os .Stdout ).Upgrade (
238238 ctx ,
239239 helmutils.InstallOpts {
240240 CreateNamespace : true ,
241- ReleaseName : helmutils .AgentGatewayCRDChartName ,
241+ ReleaseName : helmutils .AgentgatewayCRDChartName ,
242242 Namespace : i .Metadata .InstallNamespace ,
243243 ChartUri : crdChartURI ,
244244 })
@@ -253,21 +253,21 @@ func (i *TestInstallation) InstallAgentgatewayCoreFromLocalChart(ctx context.Con
253253
254254 // Check if we should skip installation if the release already exists (PERSIST_INSTALL or FAIL_FAST_AND_PERSIST mode)
255255 if testutils .ShouldPersistInstall () || testutils .ShouldFailFastAndPersist () {
256- if i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentGatewayChartName , i .Metadata .InstallNamespace ) {
256+ if i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentgatewayChartName , i .Metadata .InstallNamespace ) {
257257 return
258258 }
259259 }
260260
261261 // and then install the main chart
262- chartUri , err := helper .GetLocalChartPath (helmutils .AgentGatewayChartName , "" )
262+ chartUri , err := helper .GetLocalChartPath (helmutils .AgentgatewayChartName , "" )
263263 i .Assertions .Require .NoError (err )
264264 err = i .Actions .Helm ().WithReceiver (os .Stdout ).Upgrade (
265265 ctx ,
266266 helmutils.InstallOpts {
267267 Namespace : i .Metadata .InstallNamespace ,
268268 CreateNamespace : true ,
269269 ValuesFiles : []string {i .Metadata .ProfileValuesManifestFile , i .Metadata .ValuesManifestFile },
270- ReleaseName : helmutils .AgentGatewayChartName ,
270+ ReleaseName : helmutils .AgentgatewayChartName ,
271271 ChartUri : chartUri ,
272272 ExtraArgs : i .Metadata .ExtraHelmArgs ,
273273 })
@@ -314,7 +314,7 @@ func (i *TestInstallation) UninstallKgatewayCore(ctx context.Context) {
314314 },
315315 )
316316 i .Assertions .Require .NoError (err , "failed to uninstall main chart" )
317- i .Assertions .EventuallyKgatewayUninstallSucceeded (ctx )
317+ i .Assertions .EventuallyGatewayUninstallSucceeded (ctx )
318318}
319319
320320func (i * TestInstallation ) UninstallKgatewayCRDs (ctx context.Context ) {
@@ -347,7 +347,7 @@ func (i *TestInstallation) UninstallAgentgatewayCore(ctx context.Context) {
347347 }
348348
349349 // Check if the release exists before attempting to uninstall
350- if ! i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentGatewayChartName , i .Metadata .InstallNamespace ) {
350+ if ! i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentgatewayChartName , i .Metadata .InstallNamespace ) {
351351 // Release doesn't exist, nothing to uninstall
352352 return
353353 }
@@ -357,12 +357,12 @@ func (i *TestInstallation) UninstallAgentgatewayCore(ctx context.Context) {
357357 ctx ,
358358 helmutils.UninstallOpts {
359359 Namespace : i .Metadata .InstallNamespace ,
360- ReleaseName : helmutils .AgentGatewayChartName ,
360+ ReleaseName : helmutils .AgentgatewayChartName ,
361361 ExtraArgs : []string {"--wait" }, // Default timeout is 5m
362362 },
363363 )
364364 i .Assertions .Require .NoError (err , "failed to uninstall main chart" )
365- i .Assertions .EventuallyKgatewayUninstallSucceeded (ctx )
365+ i .Assertions .EventuallyGatewayUninstallSucceeded (ctx )
366366}
367367
368368// UninstallAgentgatewayCRDs uninstalls the agentgateway CRD chart
@@ -372,7 +372,7 @@ func (i *TestInstallation) UninstallAgentgatewayCRDs(ctx context.Context) {
372372 }
373373
374374 // Check if the release exists before attempting to uninstall
375- if ! i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentGatewayCRDChartName , i .Metadata .InstallNamespace ) {
375+ if ! i .Actions .Helm ().ReleaseExists (ctx , helmutils .AgentgatewayCRDChartName , i .Metadata .InstallNamespace ) {
376376 // Release doesn't exist, nothing to uninstall
377377 return
378378 }
@@ -382,7 +382,7 @@ func (i *TestInstallation) UninstallAgentgatewayCRDs(ctx context.Context) {
382382 ctx ,
383383 helmutils.UninstallOpts {
384384 Namespace : i .Metadata .InstallNamespace ,
385- ReleaseName : helmutils .AgentGatewayCRDChartName ,
385+ ReleaseName : helmutils .AgentgatewayCRDChartName ,
386386 ExtraArgs : []string {"--wait" }, // Default timeout is 5m
387387 },
388388 )
0 commit comments