This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 646 B View raw
1package externaldns 2 3import ( 4 _ "embed" 5 "fmt" 6 7 "github.com/yokecd/yoke/pkg/helm" 8 "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" 9) 10 11//go:embed external-dns-1.15.2.tgz 12var archive []byte 13 14// RenderChart renders the chart downloaded from https://kubernetes-sigs.github.io/external-dns/external-dns 15// Producing version: 1.15.2 16func RenderChart(release, namespace string, values map[string]any) ([]*unstructured.Unstructured, error) { 17 chart, err := helm.LoadChartFromZippedArchive(archive) 18 if err != nil { 19 return nil, fmt.Errorf("failed to load chart from zipped archive: %w", err) 20 } 21 22 return chart.Render(release, namespace, values) 23}