Skip to content

Commit

Permalink
schema migration optional; default to olm.bundle.object
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Keister <jordan@nimblewidget.com>
  • Loading branch information
grokspawn committed Jul 31, 2024
1 parent 66abaaa commit ddb6959
Show file tree
Hide file tree
Showing 18 changed files with 301 additions and 187 deletions.

This file was deleted.

6 changes: 3 additions & 3 deletions alpha/action/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
type Migrate struct {
CatalogRef string
OutputDir string
Stages int
Level string

WriteFunc declcfg.WriteFunc
FileExt string
Expand All @@ -29,8 +29,8 @@ func (m Migrate) Run(ctx context.Context) error {
}

r := Render{
Refs: []string{m.CatalogRef},
MigrateStages: m.Stages,
Refs: []string{m.CatalogRef},
MigrationLevel: m.Level,

// Only allow catalogs to be migrated.
AllowedRefMask: RefSqliteImage | RefSqliteFile | RefDCImage | RefDCDir,
Expand Down
Loading

0 comments on commit ddb6959

Please sign in to comment.