Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/code-scan.yml

This file was deleted.

4 changes: 2 additions & 2 deletions api/v1alpha1/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const (
// DefaultRegistryCertificateSecretName is the name of the of certificate secret for client and registry.
DefaultRegistryCertificateSecretName = "ocm-registry-tls-certs" // #nosec G101 -- not a credential
DefaultRegistryCertificateSecretName = "ocm-registry-tls-certs" // nolint:gosec // not a credential
)

// Internal ExtraIdentity keys.
Expand Down Expand Up @@ -35,5 +35,5 @@
// Ocm credential config key for secrets.
const (
// OCMCredentialConfigKey defines the secret key to look for in case a user provides an ocm credential config.
OCMCredentialConfigKey = ".ocmcredentialconfig" // #nosec G101 -- not a credential
OCMCredentialConfigKey = ".ocmcredentialconfig" // nolint:gosec // not a credential
)
2 changes: 1 addition & 1 deletion pkg/oci/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (c *Client) setupCertificates(ctx context.Context) error {
}

func (c *Client) constructTLSRoundTripper() http.RoundTripper {
tlsConfig := &tls.Config{} // #nosec G402 -- must provide lower version for quay.io
tlsConfig := &tls.Config{} // nolint:gosec // must provide lower version for quay.io
caCertPool := x509.NewCertPool()
caCertPool.AppendCertsFromPEM(c.ca)

Expand Down
Loading