Skip to content

Migrate Config and Context functionality (internal/ocm package) #626

@fabianburth

Description

@fabianburth

Description

The following concepts are significantly different in ocm v2:

  • OCM context
  • Resolvers
  • Verification
  • Config lookup

The current behaviour essentially all configuration is done at the beginning of each reconciliation loop. Here, the credentials, the resolvers, the signature validation public keys are read from config maps and secrets and applied (in other words, stored) in the ocm context which is then being passed around.

Since the general serialized configuration types will stay the same, the user API is expected to stay consistent. The code for setting up and passing around the configuration is expected to change though, since the ocm context and ocm config API is different.

Goals:

Done Criteria

  • internal/* includes a package for using ocm lib v2 ( separate packages have been created for the new code )
  • Code has been reviewed by other team members
  • Analysis of existing tests (Unit and Integration)
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated (includes deletion of existing unnecessary Integration Test and/or creation of new ones if required)
  • Enduser Documentation updated (if applicable)
  • Internal technical Documentation created/updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Labels

area/ipceiImportant Project of Common European Interestkind/tasksmall task, normally part of feature or epicneeds/refinementDiscuss with the team and gain a shared understanding

Type

No fields configured for Task.

Projects

Status
🍺 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions