Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for rev (0.02 sec)

  1. istioctl/pkg/tag/revision.go

    	}
    	for _, hook := range webhooks {
    		rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName)
    		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 {
    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. istioctl/pkg/tag/util.go

    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    // GetWebhooksWithRevision returns webhooks tagged with istio.io/rev=<rev> and NOT TAGGED with istio.io/tag.
    // this retrieves the webhook created at revision installation rather than tag webhooks
    func GetWebhooksWithRevision(ctx context.Context, client kubernetes.Interface, rev string) ([]admitv1.MutatingWebhookConfiguration, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint_test.go

    		},
    	}
    }
    
    func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway {
    	gw := makeGateway(name, namespace, programmed, isWaypoint)
    	if gw.Labels == nil {
    		gw.Labels = make(map[string]string)
    	}
    	gw.Labels[label.IoIstioRev.Name] = rev
    	return gw
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      labels:
        app: sidecar-injector
        install.operator.istio.io/owning-resource-namespace: istio-system
        istio.io/rev: default
        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.15.1
        release: istio
      name: istio-sidecar-injector-deactivated
    webhooks:
      - admissionReviewVersions:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate.go

    func tagWebhookConfigFromCanonicalWebhook(wh admitv1.MutatingWebhookConfiguration, tagName, istioNS string) (*tagWebhookConfig, error) {
    	rev, err := GetWebhookRevision(wh)
    	if err != nil {
    		return nil, err
    	}
    	// if the revision is "default", render templates with an empty revision
    	if rev == DefaultRevisionName {
    		rev = ""
    	}
    
    	var injectionURL, caBundle, path string
    	found := false
    	for _, w := range wh.Webhooks {
    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. ci/official/envs/versions_upload

    TFCI_ARTIFACT_FINAL_PYPI_ENABLE=1
    TFCI_ARTIFACT_LATEST_GCS_URI="gs://tensorflow/versions/latest/"
    TFCI_ARTIFACT_STAGING_GCS_ENABLE=1
    TFCI_ARTIFACT_STAGING_GCS_URI="gs://tensorflow-ci-staging/staging/versions/${_LOUHI_EXECUTION_ID:-$(git rev-parse HEAD)}/"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jul 16 21:54:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/tag.go

    referring to control plane revisions for sidecar injection.
    
    With revision tags, rather than relabeling a namespace from "istio.io/rev=revision-a" to "istio.io/rev=revision-b" to
    change which control plane revision handles injection, it's possible to create a revision tag "prod" and label our
    namespace "istio.io/rev=prod". The "prod" revision tag could point to "1-7-6" initially and then be changed to point to "1-8-1"
    at some later point.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    				programmed := kstatus.StatusFalse
    				rev := gw.Labels[label.IoIstioRev.Name]
    				if rev == "" {
    					rev = "default"
    				}
    				for _, cond := range gw.Status.Conditions {
    					if cond.Type == string(gateway.GatewayConditionProgrammed) {
    						programmed = string(cond.Status)
    					}
    				}
    				if allNamespaces {
    					_, _ = fmt.Fprintf(w, "%s\t%s\t%s\t%s\n", gw.Namespace, gw.Name, rev, programmed)
    				} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    	results := make([]webhookAnalysis, 0)
    	for _, mwc := range whs {
    		if !isIstioWebhook(&mwc) {
    			continue
    		}
    		rev := extractRevision(&mwc)
    		reason, injected := analyzeWebhooksMatchStatus(mwc.Webhooks, podLabels, nsLabels)
    		results = append(results, webhookAnalysis{
    			Name:     mwc.Name,
    			Revision: rev,
    			Injected: injected,
    			Reason:   reason,
    		})
    	}
    	sort.Slice(results, func(i, j int) bool {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    				"--internalIP", testCases[dir.Name()]["internalIP"],
    				"--ingressIP", testCases[dir.Name()]["ingressIP"],
    				"--clusterID", constants.DefaultClusterName,
    				"--revision", "rev-1",
    				"-o", testdir,
    			}
    			if _, err := runTestCmd(t, createClientFunc, "rev-1", cmdWithClusterID); err != nil {
    				t.Fatal(err)
    			}
    
    			cmdNoClusterID := []string{
    				"entry", "configure",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top