Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for Revision (0.1 sec)

  1. istioctl/pkg/tag/revision.go

    		tagLabel := hook.GetLabels()[label.IoIstioTag.Name]
    		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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/ok-ci-friendly-revision.xml

      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>com.example.group</groupId>
      <artifactId>valid-version-revision</artifactId>
      <version>${revision}</version>
    
      <description>
        This will test if the validation for the ci friendly versions
        is working correct.
      </description>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag.go

    	overrideHelpStr = `If true, allow revision tags to be overwritten, otherwise reject revision tag updates that
    overwrite existing revision tags.`
    	revisionHelpStr = "Control plane revision to reference from a given revision tag"
    	tagCreatedStr   = `Revision tag %q created, referencing control plane revision %q. To enable injection using this
    revision tag, use 'kubectl label namespace <NAMESPACE> istio.io/rev=%s'
    `
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list.go

    }
    
    // podCountByRevision() returns a map of revision->pods, with "<non-Istio>" as the dummy "revision" for uninjected pods
    func podCountByRevision(pods []corev1.Pod, expectedRevision string) map[string]revisionCount {
    	retval := map[string]revisionCount{}
    	for _, pod := range pods {
    		revision := extractRevisionFromPod(&pod)
    		revisionLabel := revision
    		if revision == "" {
    			revisionLabel = "<non-Istio>"
    		}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    }
    
    // GenerateOptions is the group of options needed to generate a tag webhook.
    type GenerateOptions struct {
    	// Tag is the name of the revision tag to generate.
    	Tag string
    	// Revision is the revision to associate the revision tag with.
    	Revision string
    	// WebhookName is an override for the mutating webhook name.
    	WebhookName string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag_test.go

    	tcs := []struct {
    		name          string
    		tag           string
    		revision      string
    		webhookBefore *admitv1.MutatingWebhookConfiguration
    		outputMatches []string
    		error         string
    	}{
    		{
    			name:          "TestErrorWhenRevisionWithNameCollision",
    			tag:           "revision",
    			revision:      "revision",
    			webhookBefore: &revisionCanonicalWebhook,
    			outputMatches: []string{},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/util.go

    	return wh.ObjectMeta.Labels[label.IoIstioTag.Name]
    }
    
    // GetWebhookRevision extracts tag target revision from webhook object.
    func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) {
    	if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok {
    		return tagName, nil
    	}
    	return "", fmt.Errorf("could not extract tag revision from webhook")
    }
    
    // DeleteTagWebhooks deletes the given webhooks.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate_test.go

    	operatorManaged          = operatorNamespace + "/managed"
    	revisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "istio-sidecar-injector-revision",
    			Labels: map[string]string{
    				label.IoIstioRev.Name: "revision",
    				operatorManaged:       "Reconcile",
    			},
    		},
    		Webhooks: []admitv1.MutatingWebhook{
    			{
    				Name: fmt.Sprintf("namespace.%s", istioInjectionWebhookSuffix),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    func IstiodHost(ns string, revision string) string {
    	istiod := "istiod"
    	if isRevisioned(revision) {
    		istiod = fmt.Sprintf("%s-%s", istiod, revision)
    	}
    	return fmt.Sprintf("%s.%s.svc", istiod, ns)
    }
    
    func IstiodAddr(ns, revision string) string {
    	// TODO make port configurable
    	return fmt.Sprintf("%s:%d", IstiodHost(ns, revision), 15012)
    }
    
    // Returns a map with each k,v entry on a new line
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  10. istioctl/pkg/precheck/precheck_test.go

    )
    
    type testCase struct {
    	version        string
    	revision       string
    	expectedOutput diag.Messages
    	expectedError  error
    }
    
    func Test_checkFromVersion(t *testing.T) {
    	cases := []testCase{
    		{
    			revision:       "canary",
    			version:        "1.21",
    			expectedOutput: diag.Messages{},
    			expectedError:  nil,
    		},
    		{
    			revision:       "canary",
    			version:        "XX",
    			expectedOutput: nil,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 09 12:01:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top