File tree Expand file tree Collapse file tree 4 files changed +3
-88
lines changed
Expand file tree Collapse file tree 4 files changed +3
-88
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package v1alpha1
22
33const (
44 // DefaultRegistryCertificateSecretName is the name of the of certificate secret for client and registry.
5- DefaultRegistryCertificateSecretName = "ocm-registry-tls-certs" // #nosec G101 -- not a credential
5+ DefaultRegistryCertificateSecretName = "ocm-registry-tls-certs" //nolint:gosec // not a credential
66)
77
88// Internal ExtraIdentity keys.
@@ -35,5 +35,5 @@ const (
3535// Ocm credential config key for secrets.
3636const (
3737 // OCMCredentialConfigKey defines the secret key to look for in case a user provides an ocm credential config.
38- OCMCredentialConfigKey = ".ocmcredentialconfig" // #nosec G101 -- not a credential
38+ OCMCredentialConfigKey = ".ocmcredentialconfig" //nolint:gosec // not a credential
3939)
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ func (c *Client) setupCertificates(ctx context.Context) error {
143143}
144144
145145func (c * Client ) constructTLSRoundTripper () http.RoundTripper {
146- tlsConfig := & tls.Config {} // #nosec G402 -- must provide lower version for quay.io
146+ tlsConfig := & tls.Config {} //nolint:gosec // must provide lower version for quay.io
147147 caCertPool := x509 .NewCertPool ()
148148 caCertPool .AppendCertsFromPEM (c .ca )
149149
You can’t perform that action at this time.
0 commit comments