@@ -148,7 +148,7 @@ func (a *Addon) Name() clusters.AddonName {
148148 return AddonName
149149}
150150
151- func (a * Addon ) Dependencies (ctx context.Context , cluster clusters.Cluster ) []clusters.AddonName {
151+ func (a * Addon ) Dependencies (_ context.Context , cluster clusters.Cluster ) []clusters.AddonName {
152152 if _ , ok := cluster .(* kind.Cluster ); ok {
153153 if a .proxyAdminServiceTypeLoadBalancer {
154154 return []clusters.AddonName {
@@ -291,7 +291,7 @@ func (a *Addon) Deploy(ctx context.Context, cluster clusters.Cluster) error {
291291 return runUDPServiceHack (ctx , cluster , DefaultNamespace )
292292}
293293
294- func (a * Addon ) Delete (ctx context.Context , cluster clusters.Cluster ) error {
294+ func (a * Addon ) Delete (_ context.Context , cluster clusters.Cluster ) error {
295295 // generate a temporary kubeconfig since we're going to be using the helm CLI
296296 kubeconfig , err := clusters .TempKubeconfig (cluster )
297297 if err != nil {
@@ -394,7 +394,8 @@ func exposePortsDefault() []string {
394394}
395395
396396// TODO: this is a hack in place to workaround problems in the Kong helm chart when UDP ports are in use:
397- // See: https://github.com/Kong/charts/issues/329
397+ //
398+ // See: https://github.com/Kong/charts/issues/329
398399func runUDPServiceHack (ctx context.Context , cluster clusters.Cluster , namespace string ) error {
399400 udpServicePorts := []corev1.ServicePort {{
400401 Name : DefaultUDPServiceName ,
0 commit comments