Configure flat outputs and native Notarius controls

This commit is contained in:
2026-11-30 00:45:13 +00:00
parent f05e711328
commit 4e3ac343b4
10 changed files with 252 additions and 40 deletions

View File

@@ -50,8 +50,8 @@ func (cfg NotariusConfig) MarshalYAML() (any, error) {
Binary string `yaml:"binary"`
Credentials []string `yaml:"credentials,omitempty"`
ConfigOverlay *string `yaml:"config_overlay,omitempty"`
Resume bool `yaml:"resume,omitempty"`
ChunkCache string `yaml:"chunk_cache,omitempty"`
Cache *string `yaml:"cache,omitempty"`
Debug bool `yaml:"debug,omitempty"`
ConfigPath string `yaml:"config_path"`
PipelineID string `yaml:"pipeline_id"`
Timeout string `yaml:"timeout"`
@@ -62,7 +62,7 @@ func (cfg NotariusConfig) MarshalYAML() (any, error) {
return safeNotarius{
Enabled: cfg.Enabled, Binary: cfg.Binary, Credentials: secretReferenceNames(cfg.Credentials),
ConfigOverlay: cfg.ConfigOverlay,
Resume: cfg.Resume, ChunkCache: cfg.ChunkCache,
Cache: cfg.Cache, Debug: cfg.Debug,
ConfigPath: cfg.ConfigPath, PipelineID: cfg.PipelineID, Timeout: cfg.Timeout,
WorkingDirectory: cfg.WorkingDirectory, References: cfg.References, Outputs: cfg.Outputs,
}, nil