Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for IstioOperator (0.28 sec)

  1. operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go

    			oldIOP := e.ObjectOld
    			newIOP := e.ObjectNew
    
    			// If revision is updated in the IstioOperator resource, we must remove entries
    			// from the cache. If the IstioOperator resource is reverted back to match this operator's
    			// revision, a clean cache would ensure that the operator Reconcile the IstioOperator,
    			// and not skip it.
    			if oldIOP.Spec.Revision != newIOP.Spec.Revision {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. operator/pkg/verifier/verifier.go

    				v.reportFailure(kind, name, namespace, ivf)
    				return ivf
    			}
    		case "IstioOperator":
    			// It is not a problem if the cluster does not include the IstioOperator
    			// we are checking.  Instead, verify the cluster has the things the
    			// IstioOperator specifies it should have.
    
    			// IstioOperator isn't part of pkg/config/schema/collections,
    			// usual conversion not available.  Convert unstructured to string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. tests/integration/operator/switch_cr_test.go

    		scopes.Framework.Errorf("failed to cleanup dynamically created resources: %v", err)
    	}
    }
    
    // checkInstallStatus check the status of IstioOperator CR from the cluster
    func checkInstallStatus(cs istioKube.CLIClient, revision string) error {
    	scopes.Framework.Infof("checking IstioOperator CR status")
    	gvr := iopv1alpha1.IstioOperatorGVR
    
    	var unhealthyCN []string
    	retryFunc := func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/config.go

    	TelemetryNamespace string
    
    	// The IstioOperator spec file to be used for Control plane cluster by default
    	PrimaryClusterIOPFile string
    
    	// The IstioOperator spec file to be used for Config cluster by default
    	ConfigClusterIOPFile string
    
    	// The IstioOperator spec file to be used for Remote cluster by default
    	RemoteClusterIOPFile string
    
    	// The IstioOperator spec file used as the base for all installs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. operator/pkg/manifest/shared.go

    }
    
    // GenIOPFromProfile generates an IstioOperator from the given profile name or path, and overlay YAMLs from user
    // files and the --set flag. If successful, it returns an IstioOperator string and struct.
    func GenIOPFromProfile(profileOrPath, fileOverlayYAML string, setFlags []string, skipValidation, allowUnknownField bool,
    	client kube.Client, l clog.Logger,
    ) (string, *iopv1alpha1.IstioOperator, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/reconciler.go

    }
    
    // SetStatusComplete updates the status field on the IstioOperator instance based on the resulting err parameter.
    func (h *HelmReconciler) SetStatusComplete(status *v1alpha1.InstallStatus) error {
    	iop := &istioV1Alpha1.IstioOperator{}
    	if err := h.getClient().Get(context.TODO(), config.NamespacedName(h.iop), iop); err != nil {
    		return fmt.Errorf("failed to get IstioOperator before updating status due to %v", err)
    	}
    	iop.Status = status
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  7. operator/README.md

    controller as the CLI command `istioctl install` running in a loop in a pod in the cluster and using the config
    from the in-cluster IstioOperator custom resource (CR).
    There are two major differences:
    
    1. The controller does not accept any dynamic user config through flags. All user interaction is through the
    IstioOperator CR.
    1. The controller has additional logic that mirrors istioctl commands like upgrade, but is driven from the declarative
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Sep 17 08:27:52 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    }
    
    // InstallManifests generates manifests from the given istiooperator instance and applies them to the
    // cluster. See GenManifests for more description of the manifest generation process.
    //
    //	force   validation warnings are written to logger but command is not aborted
    //	DryRun  all operations are done but nothing is written
    //
    // Returns final IstioOperator after installation if successful.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. operator/pkg/validate/common.go

    		iopYAML = util.ToYAML(un)
    	}
    	iop := &v1alpha1.IstioOperator{}
    
    	if err := yaml.UnmarshalStrict([]byte(iopYAML), iop); err != nil {
    		return nil, fmt.Errorf("%s:\n\nYAML:\n%s", err, iopYAML)
    	}
    	return iop, nil
    }
    
    // ValidIOP validates the given IstioOperator object.
    func ValidIOP(iop *v1alpha1.IstioOperator) error {
    	errs := CheckIstioOperatorSpec(iop.Spec, false)
    	return errs.ToError()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 15:35:03 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. operator/pkg/helmreconciler/prune.go

    		}
    		usList = append(usList, objects)
    	}
    
    	return usList, nil
    }
    
    // getIstioOperatorCR is a helper function to get IstioOperator CR during purge,
    // otherwise the resources would be reconciled back later if there is in-cluster operator deployment.
    // And it is needed to remove the IstioOperator CRD.
    func (h *HelmReconciler) getIstioOperatorCR() *unstructured.UnstructuredList {
    	iopGVR := iopv1alpha1.IstioOperatorGVR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top