Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 292 for if (0.12 sec)

  1. manifests/charts/istiod-remote/templates/mutatingwebhook.yaml

    {{- if not .Values.global.operatorManageWebhooks }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
    {{- if eq .Release.Namespace "istio-system"}}
      name: istio-sidecar-injector{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}
    {{- else }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus.go

    func readConfigFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	data, err := io.ReadAll(file)
    	if err != nil {
    		return nil, err
    	}
    	return data, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-remove.go

    			if orArgs.revision == "" && !orArgs.purge {
    				return fmt.Errorf("at least one of the --revision or --purge flags must be set")
    			}
    			if len(args) > 0 {
    				return fmt.Errorf("istioctl operator remove does not take arguments")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/pod_cache.go

    // If uid is already present, a cached Netns is returned, and the given nspath is ignored.
    func (p *podNetnsCache) Get(uid string) Netns {
    	// lock current snapshot pod map
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	if info, f := p.currentPodCache[uid]; f {
    		return info.Netns
    	}
    	return nil
    }
    
    // make sure uid is in the cache, even if we don't have a netns
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			cd, _ := os.ReadFile(tt.inputFile)
    			err := cw.Prime(cd)
    			if cw.ztunnelDump == nil {
    				if tt.wantConfigs != 0 {
    					t.Errorf("wanted some configs loaded but config dump was nil")
    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. manifests/charts/istiod-remote/templates/default.yaml

    {{- if .Values.global.configCluster }}
    {{- if not (eq .Values.defaultRevision "") }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.defaultRevision | quote }}
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	out, err := json.MarshalIndent(workloads, "", "    ")
    	if err != nil {
    		return fmt.Errorf("failed to marshal workloads: %v", err)
    	}
    	if outputFormat == "yaml" {
    		if out, err = yaml.JSONToYAML(out); err != nil {
    			return err
    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) PrintConnectionsSummary(filter ConnectionsFilter) error {
    	w := c.tabwriter()
    	d := c.ztunnelDump
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. manifests/charts/istiod-remote/templates/endpoints.yaml

    {{- if regexMatch "^([0-9]*\\.){3}[0-9]*$" .Values.global.remotePilotAddress }}
    # if the remotePilotAddress is an IP addr
    apiVersion: v1
    kind: Endpoints
    metadata:
      {{- if .Values.pilot.enabled }}
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}-remote
      {{- else }}
      name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}
      {{- end }}
      namespace: {{ .Release.Namespace }}
    subsets:
    - addresses:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 17:36:40 GMT 2024
    - 620 bytes
    - Viewed (0)
  9. istioctl/pkg/internaldebug/internal-debug.go

    			if err != nil {
    				return err
    			}
    			sw := DebugWriter{
    				Writer:                 c.OutOrStdout(),
    				InternalDebugAllIstiod: internalDebugAllIstiod,
    			}
    			newResponse, err := HandlerForDebugErrors(kubeClient, &centralOpts, c.OutOrStdout(), ctx.IstioNamespace(), xdsResponses)
    			if err != nil {
    				return err
    			}
    			if newResponse != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    			// We need a pod IP - if the pod was added via the CNI plugin, that plugin told us the IPs
    			// for the pod. If this is a pod added via informer, the pod should have already gone thru
    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top