-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add golangci #44
ci: add golangci #44
Conversation
ba79aef
to
7276eb3
Compare
Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
7e4a031
to
b2ab400
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a ton for the cleanup!
HubbleServerCertValidityDuration = 3 * 365 * 24 * time.Hour | ||
// HubbleServerCertSecretName is the Kubernetes Secret in which the Hubble | ||
// server certificate is written to. | ||
HubbleServerCertSecretName = "hubble-server-certs" //#nosec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the linter complaining about here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are asking about the //#nosec
, it's because of
internal/defaults/defaults.go:58:2: G101: Potential hardcoded credentials (gosec)
HubbleServerCertSecretName = "hubble-server-certs"
b2ab400
to
6e84eaa
Compare
And fix complains on the way. Signed-off-by: Alexandre Perrin <alex@kaworu.ch>
Configuration adapted from cilium/hubble.