Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for renderChart (0.36 sec)

  1. operator/pkg/helm/renderer.go

    func (h *Renderer) RenderManifest(values string) (string, error) {
    	if !h.started {
    		return "", fmt.Errorf("fileTemplateRenderer for %s not started in renderChart", h.componentName)
    	}
    	return renderChart(h.namespace, values, h.chart, nil, h.version)
    }
    
    // RenderManifestFiltered filters templates to render using the supplied filter function.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 13 01:59:17 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. operator/pkg/helm/helm.go

    			return "", fmt.Errorf("failed to read profile %v from %v: %v", profile, manifestsPath, err)
    		}
    	}
    
    	return globalValues, nil
    }
    
    // renderChart renders the given chart with the given values and returns the resulting YAML manifest string.
    func renderChart(namespace, values string, chrt *chart.Chart, filterFunc TemplateFilterFunc, version *version.Info) (string, error) {
    	options := chartutil.ReleaseOptions{
    		Name:      "istio",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. operator/pkg/helm/fs_renderer_test.go

    			startRender:           false,
    			inChart:               chart.Chart{},
    			objFileTemplateReader: Renderer{},
    			wantResult:            "",
    			wantErr:               errors.New("fileTemplateRenderer for not started in renderChart"),
    		},
    		{
    			desc: "started-random-template",
    			inValues: `
    description: test
    `,
    			inPath:      "testdata/render/Chart.yaml",
    			startRender: true,
    			objFileTemplateReader: Renderer{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 24 21:09:19 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/render.go

    	"fmt"
    
    	"istio.io/istio/operator/pkg/controlplane"
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/validate"
    )
    
    // RenderCharts renders charts for h.
    func (h *HelmReconciler) RenderCharts() (name.ManifestMap, error) {
    	iopSpec := h.iop.Spec
    	if err := validate.CheckIstioOperatorSpec(iopSpec, false); err != nil {
    		if !h.opts.Force {
    			return nil, err
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 23 02:26:59 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. operator/pkg/helmreconciler/prune_test.go

    				},
    				iop:           iop,
    				countLock:     &sync.Mutex{},
    				prunedKindSet: map[schema.GroupKind]struct{}{},
    			}
    			if i == 0 {
    				h1 = h
    			}
    			manifestMap, err := h.RenderCharts()
    			if err != nil {
    				t.Fatalf("failed to render manifest: %v", err)
    			}
    			applyResourcesIntoCluster(t, h, manifestMap)
    		}
    		// delete one iop: iop-test-gw-1, get its pruned resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 12:13:37 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/reconciler.go

    	if err := util.CreateNamespace(h.kubeClient.Kube(), istioV1Alpha1.Namespace(h.iop.Spec), h.networkName(), h.opts.DryRun); err != nil {
    		return nil, err
    	}
    	manifestMap, err := h.RenderCharts()
    	if err != nil {
    		return nil, err
    	}
    
    	err = h.analyzeWebhooks(manifestMap[name.PilotComponentName])
    	if err != nil {
    		if h.opts.Force {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top