Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for fail (0.18 sec)

  1. cni/cmd/istio-cni/main.go

    		return err
    	}
    	defer func() {
    		// Log sync will send logs to install-cni container via UDS.
    		// We don't need a timeout here because underlying the log pkg already handles it.
    		// this may fail, but it should be safe to ignore according
    		// to https://github.com/uber-go/zap/issues/328
    		_ = log.Sync()
    	}()
    
    	// TODO: implement plugin version
    	funcs := skel.CNIFuncs{
    		Add:   plugin.CmdAdd,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    	if resName == "" {
    		resName = fmt.Sprintf("%s-%s", "istio-revision-tag", tagName)
    	}
    	if err := analyzeWebhook(resName, istioNS, tagWhYAML, revision, kubeClient.RESTConfig()); err != nil {
    		// if we have a conflict, we will fail. If --skip-confirmation is set, we will continue with a
    		// warning; when actually applying we will also confirm to ensure the user does not see the
    		// warning *after* it has applied
    		if !skipConfirmation {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. cni/pkg/repair/monitoring.go

    	deleteType = "delete"
    	repairType = "repair"
    	labelType  = "label"
    
    	resultLabel   = monitoring.CreateLabel("result")
    	resultSuccess = "success"
    	resultSkip    = "skip"
    	resultFail    = "fail"
    
    	podsRepaired = monitoring.NewSum(
    		"istio_cni_repair_pods_repaired_total",
    		"Total number of pods repaired by repair controller",
    	)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 1K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    		want            string
    		wantErrStr      string
    		k8sMinorVersion string
    	}{
    		{
    			testName:   "fail to create remote secret token",
    			objs:       []runtime.Object{kubeSystemNamespace, sa, saSecretMissingToken},
    			wantErrStr: `no "token" data found`,
    		},
    		{
    			testName:          "fail to encode secret",
    			objs:              []runtime.Object{kubeSystemNamespace, sa, saSecret},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    			whConfig.URL = webhookURL.String()
    		}
    	}
    
    	// ValidatingWebhookConfiguration failurePolicy is managed by Istiod, so if currently we already have a webhook in cluster
    	// that is set to `Fail` by Istiod, we avoid of setting it back to the default `Ignore`.
    	vwh, err := client.Kube().AdmissionregistrationV1().ValidatingWebhookConfigurations().
    		Get(context.Background(), vwhBaseTemplateName, metav1.GetOptions{})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    	} else {
    		injector, err = setUpExternalInjector(cliContext, revision, injectorAddress)
    		if err != nil || injector.clientConfig == nil {
    			log.Warnf("failed to get injection config from mutatingWebhookConfigurations %q, will fall back to "+
    				"get injection from the injection configmap %q : %v", whcName, defaultInjectWebhookConfigName, err)
    			if *sidecarTemplate, err = getInjectConfigFromConfigMap(cliContext, revision); err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate_test.go

          namespace: istio-system
          path: "/inject"
      sideEffects: None
      rules:
      - operations: [ "CREATE" ]
        apiGroups: [""]
        apiVersions: ["v1"]
        resources: ["pods"]
      failurePolicy: Fail
      admissionReviewVersions: ["v1beta1", "v1"]
      namespaceSelector:
        matchLabels:
          istio-injection: enabled
      objectSelector:
        matchExpressions:
        - key: "sidecar.istio.io/inject"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/test-util_test.go

    }
    
    // mustGetService returns the service with the given name or fails if it's not found in objs.
    func mustGetService(g *WithT, objs *ObjectSet, name string) *object.K8sObject {
    	obj := objs.kind(name2.ServiceStr).nameEquals(name)
    	g.Expect(obj).Should(Not(BeNil()))
    	return obj
    }
    
    // mustGetDeployment returns the deployment with the given name or fails if it's not found in objs.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top