Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ApplyManifest (0.17 sec)

  1. operator/cmd/mesh/shared.go

    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    	componentName name.ComponentName, opts *applyOptions, iop *v1alpha1.IstioOperator, l clog.Logger,
    ) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tests/fuzz/helm_reconciler_fuzzer.go

    	h, err := helmreconciler.NewHelmReconciler(cl, nil, nil, nil)
    	if err != nil {
    		return 0
    	}
    	_ = h.ApplyObject(obj)
    	_, _ = h.Reconcile()
    	_, _ = h.ApplyManifest(m)
    	return 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    			l.LogAndFatal(err)
    		}
    	}
    
    	if err := applyManifest(kubeClient, client, mstr, name.IstioOperatorComponentName, opts, iop, l); err != nil {
    		l.LogAndFatal(err)
    	}
    
    	if customResource != "" {
    		if err := applyManifest(kubeClient, client, customResource, name.IstioOperatorComponentName, opts, iop, l); err != nil {
    			l.LogAndFatal(err)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. operator/pkg/helmreconciler/apply.go

    func (r AppliedResult) Succeed() bool {
    	return len(r.processedObjects) > 0 || r.deployed > 0
    }
    
    // ApplyManifest applies the manifest to create or update resources. It returns the processed (created or updated)
    // objects and the number of objects in the manifests.
    func (h *HelmReconciler) ApplyManifest(manifest name.Manifest) (result AppliedResult, _ error) {
    	cname := string(manifest.Name)
    	crHash, err := h.getCRHash(cname)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 17:12:54 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	m := name.Manifest{
    		// Name is not important here, only Content will be applied.
    		Name:    name.IstioOperatorComponentName,
    		Content: manifest,
    	}
    	_, err := reconciler.ApplyManifest(m)
    	return err
    }
    
    // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/reconciler.go

    			status := v1alpha1.InstallStatus_NONE
    			var err error
    			if len(ms) != 0 {
    				m := name.Manifest{
    					Name:    c,
    					Content: name.MergeManifestSlices(ms),
    				}
    				appliedResult, err = h.ApplyManifest(m)
    				if err != nil {
    					status = v1alpha1.InstallStatus_ERROR
    				} else if appliedResult.Succeed() {
    					status = v1alpha1.InstallStatus_HEALTHY
    				}
    			}
    
    			mu.Lock()
    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