Skip to content

feat(controller): Support External Cluster Access #277

feat(controller): Support External Cluster Access

feat(controller): Support External Cluster Access #277

Triggered via pull request November 25, 2024 15:21
Status Failure
Total duration 1m 48s
Artifacts

scan.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: internal/controller/valkey_controller.go#L154
string `LoadBalancer` has 3 occurrences, make it a constant (goconst)
lint: internal/controller/valkey_controller.go#L599
string `valkey-proxy` has 3 occurrences, make it a constant (goconst)
lint: internal/controller/valkey_controller.go#L117
cyclomatic complexity 32 of func `(*ValkeyReconciler).Reconcile` is high (> 30) (gocyclo)
lint: internal/controller/valkey_controller.go#L1139
type `valkeyNode` is unused (unused)
lint: internal/controller/valkey_controller.go#L1145
func `(*ValkeyReconciler).getClusterNodes` is unused (unused)
lint: internal/controller/valkey_controller.go#L517
S1009: should omit nil check; len() for []k8s.io/api/core/v1.LoadBalancerIngress is defined as zero (gosimple)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/valkey-operator/valkey-operator. Supported file pattern: go.sum