@@ -87,8 +87,8 @@ func StartKindCluster(
87
87
return fmt .Errorf ("failed to deploy kube collectors: %w" , err )
88
88
}
89
89
90
- if err := deployNginxIngress (ctx , log , configPath , configContext ); err != nil {
91
- return fmt .Errorf ("failed to deploy nginx ingress: %w" , err )
90
+ if err := deployIngressController (ctx , log , configPath , configContext ); err != nil {
91
+ return fmt .Errorf ("failed to deploy ingress controller : %w" , err )
92
92
}
93
93
94
94
return nil
@@ -170,13 +170,13 @@ func ensureNamespace(ctx context.Context, log logging.Logger, clientset *kuberne
170
170
return nil
171
171
}
172
172
173
- // DeployNginxIngress deploys the nginx ingress controller using Helm.
174
- func deployNginxIngress (ctx context.Context , log logging.Logger , configPath string , configContext string ) error {
173
+ // deployIngressController deploys the nginx ingress controller using Helm.
174
+ func deployIngressController (ctx context.Context , log logging.Logger , configPath string , configContext string ) error {
175
175
log .Info ("checking if nginx ingress controller is already running" )
176
176
177
177
isRunning , err := isIngressControllerRunning (ctx , log , configPath , configContext )
178
178
if err != nil {
179
- return fmt .Errorf ("failed to check ingress controller status: %w" , err )
179
+ return fmt .Errorf ("failed to check nginx ingress controller status: %w" , err )
180
180
}
181
181
if isRunning {
182
182
log .Info ("nginx ingress controller already running" )
0 commit comments