1
0
mirror of synced 2026-02-06 19:05:55 +00:00

Migrate sourcesecret package to runtime/secrets APIs

The sourcesecret package now uses pkg/runtime/secrets factory
functions instead of the previous monolithic approach. This
provides standardized secret generation with consistent
validation and error handling across all authentication types.

Signed-off-by: cappyzawa <cappyzawa@gmail.com>
This commit is contained in:
cappyzawa
2025-07-24 22:49:46 +09:00
parent 8176d88801
commit 8b95a09319
19 changed files with 212 additions and 85 deletions

View File

@@ -236,7 +236,7 @@ func (b *PlainGitBootstrapper) ReconcileSourceSecret(ctx context.Context, option
// Generate source secret
b.logger.Actionf("generating source secret")
manifest, err := sourcesecret.Generate(options)
manifest, err := sourcesecret.GenerateGit(options)
if err != nil {
return err
}