portainer/portainer · error
chart, output format and either repo or registry are require
Error message
chart, output format and either repo or registry are required
What it means
Error "chart, output format and either repo or registry are required" thrown in portainer/portainer.
Source
Thrown at pkg/libhelm/sdk/show.go:14
package sdk
import (
"fmt"
"strings"
"github.com/pkg/errors"
"github.com/portainer/portainer/pkg/libhelm/cache"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/rs/zerolog/log"
"helm.sh/helm/v4/pkg/action"
)
var errRequiredShowOptions = errors.New("chart, output format and either repo or registry are required")
// isSelfContainedOCIChartRef reports whether chart is a complete "oci://host/path"
// reference that needs no separate repo or registry to be located (e.g. Portainer
// addon charts, which are resolved from a bare oci:// ref with no Repo/Registry).
func isSelfContainedOCIChartRef(chart string) bool {
return strings.HasPrefix(chart, "oci://")
}
// Show implements the HelmPackageManager interface by using the Helm SDK to show chart information.
// It supports showing chart values, readme, and chart details based on the provided ShowOptions.
func (hspm *HelmSDKPackageManager) Show(showOpts options.ShowOptions) ([]byte, error) {
missingSource := showOpts.Repo == "" && IsHTTPRepository(showOpts.Registry) && !isSelfContainedOCIChartRef(showOpts.Chart)
if showOpts.Chart == "" || missingSource || showOpts.OutputFormat == "" {
log.Error().
Str("context", "HelmClient").
Str("chart", showOpts.Chart).
Str("repo", showOpts.Repo).
Str("output_format", string(showOpts.OutputFormat)).View on GitHub (pinned to 17e74456ff)
When it happens
Trigger: Thrown at pkg/libhelm/sdk/show.go:14 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of portainer/portainer@17e74456ff (2026-08-26).
Data as JSON: /api/errors/f7b1f6f80acce50f.
Report an issue: GitHub.