Exclude linter false positive regarding hardcoded credentials
pkg/controllers/clusterregistration/controller.go:30:2: G101: Potential hardcoded credentials (gosec)
AgentCredentialSecretType     = "fleet.cattle.io/agent-credential"
This is not a credential.
"unused",
"funlen"
]
+ },
+ "issues": {
+ "exclude-rules": [
+ {
+ "path": "pkg/controllers/clusterregistration/controller.go",
+ "text": "G101: Potential hardcoded credentials"
+ }
+ ]
}
}
