Skip to content

Commit

Permalink
Allow jimm to continue start without a credential store
Browse files Browse the repository at this point in the history
Jimm could error out if no credential store is setup but this would require several tests to change and is best left for a separate PR
  • Loading branch information
kian99 committed Jul 28, 2023
1 parent 030c1be commit fc414b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions service.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,8 +480,9 @@ func (s *Service) setupCredentialStore(ctx context.Context, p Params) error {
s.jimm.CredentialStore = &s.jimm.Database
return nil
}

return errors.E(op, "no credential store setup")
// Currently jimm will start without a credential store but
// functionality will be limited.
return nil
}

func newVaultStore(ctx context.Context, p Params) (jimmcreds.CredentialStore, error) {
Expand Down

0 comments on commit fc414b0

Please sign in to comment.