Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,451 for Revisions (1.48 sec)

  1. istioctl/pkg/tag/revision.go

    		tagLabel := hook.GetLabels()[IstioTagLabel]
    		ri, revPresent := revisions[rev]
    		if revPresent {
    			if tagLabel != "" {
    				ri.Webhooks = append(ri.Webhooks, &MutatingWebhookConfigInfo{
    					Name:     hook.Name,
    					Revision: rev,
    					Tag:      tagLabel,
    				})
    			}
    		} else {
    			revisions[rev] = &RevisionDescription{
    				IstioOperatorCRs: []*IstioOperatorCRInfo{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 28 13:16:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control.go

    		updateRevision = revisions[revisionCount-1]
    	} else if equalCount > 0 {
    		// if the equivalent revision is not immediately prior we will roll back by incrementing the
    		// Revision of the equivalent revision
    		updateRevision, err = ssc.controllerHistory.UpdateControllerRevision(
    			equalRevisions[equalCount-1],
    			updateRevision.Revision)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. pkg/test/framework/resource/flags_test.go

    				NoCleanup:         true,
    			},
    			expectErr: true,
    		},
    		{
    			name: "fail on both revision and revisions flag",
    			settings: &Settings{
    				Revision:      "a",
    				Compatibility: false,
    				Revisions: RevVerMap{
    					"b": "",
    				},
    			},
    			expectErr: true,
    		},
    		{
    			name: "fail when compatibility mode but no revisions",
    			settings: &Settings{
    				Compatibility: true,
    			},
    			expectErr: true,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  4. pkg/test/framework/resource/flags.go

    	}
    
    	if s.Revision != "" {
    		if s.Revisions != nil {
    			return fmt.Errorf("cannot use --istio.test.revision and --istio.test.revisions at the same time," +
    				" --istio.test.revisions will take precedence and --istio.test.revision will be ignored")
    		}
    		// use Revision as the sole revision in RevVerMap
    		s.Revisions = RevVerMap{
    			s.Revision: "",
    		}
    	} else if s.Revisions != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. pkg/controller/history/controller_history.go

    // FindEqualRevisions returns all ControllerRevisions in revisions that are equal to needle using EqualRevision as the
    // equality test. The returned slice preserves the order of revisions.
    func FindEqualRevisions(revisions []*apps.ControllerRevision, needle *apps.ControllerRevision) []*apps.ControllerRevision {
    	var eq []*apps.ControllerRevision
    	for i := range revisions {
    		if EqualRevision(revisions[i], needle) {
    			eq = append(eq, revisions[i])
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  6. pkg/controller/history/controller_history_test.go

    				for i := range test.existing {
    					if test.revision.Name == test.existing[i].revision.Name &&
    						test.revision.Namespace == test.existing[i].revision.Namespace {
    						found = test.existing[i].revision
    						break
    					}
    				}
    				if found == nil {
    					return true, nil, errors.NewNotFound(apps.Resource("controllerrevisions"), test.revision.Name)
    				}
    				b, err := strategicpatch.StrategicMergePatch(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  7. pkg/test/framework/resource/settings.go

    	// Compatibility determines whether we should transparently deploy echo workloads attached to each revision
    	// specified in `Revisions` when creating echo instances. Used primarily for compatibility testing between revisions
    	// on different control plane versions.
    	Compatibility bool
    
    	// Revisions maps the Istio revisions that are available to each cluster to their corresponding versions.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. releasenotes/notes/revision-tag-command.yaml

    releaseNotes:
      - |
        **Added** `istioctl experimental revision tag` command group. Revision tags act as aliases for
        control plane revisions. Users can label their namespaces with a revision tag rather than pointing them
        directly at a revision and selectively decide the granularity of their namespace labels. This makes it possible
        to perform upgrades with the ease of in-place upgrades while having the safety revision-based upgrades
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 16 06:17:37 UTC 2021
    - 532 bytes
    - Viewed (0)
  9. tests/integration/pilot/webhook_test.go

    						return fmt.Errorf("validatingwebhookconfiguration not updated yet: %v", err)
    					}
    					return nil
    				})
    			}
    
    			revision := "default"
    			if t.Settings().Revisions.Default() != "" {
    				revision = t.Settings().Revisions.Default()
    			}
    			verifyRejectsInvalidConfig(t, revision, true)
    			verifyRejectsInvalidConfig(t, "", true)
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 01 13:31:34 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. pilot/pkg/leaderelection/leaderelection_test.go

    	// Second pod, revision "red", steals the leader lock from "green" since it is the default revision
    	_, stop2 := createElection(t, "pod2", "red", watcher, true, client)
    	// Third pod with revision "red" comes in and cannot take the lock since another revision with "red" has it
    	_, stop3 := createElection(t, "pod3", "red", watcher, false, client)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top