Skip to content

Conversation

nicholasSUSE
Copy link
Collaborator

@nicholasSUSE nicholasSUSE commented Nov 14, 2024

Long story short:

Charts that have images supporting SLSA must no longer be synced from:

docker hub -> primer registry.

Solution

On the charts repository, there will be a new file called slsa.yaml; see: rancher/charts#4760

The chart owners will update this file with the new slsa compliant images.
We bypass the regsync process for the prime registry for all these images.


file, err := os.Open(path.SlsaYamlFile)
if err != nil {
return nil, nil // backward version compatibility

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be an error?

pkg/path/path.go Outdated
RepositoryLogosDir = "assets/logos"

// RepositoryStAte file is a file to hold the current status of the released and developed assets versions
// RepositoryStateFile file is a file to hold the current status of the released and developed assets versions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// RepositoryStateFile file is a file to hold the current status of the released and developed assets versions
// RepositoryStateFile is a file to hold the current status of the released and developed assets versions


file, err := os.Open(path.SlsaYamlFile)
if err != nil {
return nil, nil // backward version compatibility
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return nil, nil // backward version compatibility
return nil, err // backward version compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants