Skip to content

Auto import kubernetes template in Helm charts #3550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! Add template auto importing to coderd
  • Loading branch information
deansheather committed Aug 18, 2022
commit e576ca0cc47ecaa4a6af477272f5ee3c9874c7d5
4 changes: 2 additions & 2 deletions coderd/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ func (api *API) autoImportTemplate(ctx context.Context, opts autoImportTemplateO
DestinationScheme: database.ParameterDestinationSchemeProvisionerVariable,
})
if err != nil {
return xerrors.Errorf("insert job-scoped parameter %q with value %q: %w", key, value)
return xerrors.Errorf("insert job-scoped parameter %q with value %q: %w", key, value, err)
}
}

Expand Down Expand Up @@ -619,7 +619,7 @@ func (api *API) autoImportTemplate(ctx context.Context, opts autoImportTemplateO
DestinationScheme: database.ParameterDestinationSchemeProvisionerVariable,
})
if err != nil {
return xerrors.Errorf("insert template-scoped parameter %q with value %q: %w", key, value)
return xerrors.Errorf("insert template-scoped parameter %q with value %q: %w", key, value, err)
}
}

Expand Down