Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for Franke (0.16 sec)

  1. cni/pkg/plugin/plugin_test.go

    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := dedupPorts(tt.args.ports); !reflect.DeepEqual(got, tt.want) {
    				t.Errorf("dedupPorts() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. manifests/charts/ztunnel/templates/rbac.yaml

    apiVersion: v1
    kind: ServiceAccount
      {{- with .Values.imagePullSecrets }}
    imagePullSecrets:
      {{- range . }}
      - name: {{ . }}
      {{- end }}
      {{- end }}
    metadata:
      name: ztunnel
      namespace: {{ .Release.Namespace }}
      labels:
        {{- .Values.labels | toYaml | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    ---
    {{- if (eq .Values.platform "openshift") }}
    apiVersion: rbac.authorization.k8s.io/v1
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:17:57 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    // K8S may not have received the pod IPs yet, and may not report the pod as having any.
    func GetPodIPsIfPresent(pod *corev1.Pod) []netip.Addr {
    	var podIPs []netip.Addr
    	if len(pod.Status.PodIPs) != 0 {
    		for _, pip := range pod.Status.PodIPs {
    			ip := netip.MustParseAddr(pip.IP)
    			podIPs = append(podIPs, ip)
    		}
    	} else if len(pod.Status.PodIP) != 0 {
    		ip := netip.MustParseAddr(pod.Status.PodIP)
    		podIPs = append(podIPs, ip)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin.go

    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    		if podNamespace == excludeNs {
    			log.Infof("pod namespace excluded")
    			return nil
    		}
    	}
    
    	// Begin ambient plugin logic
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

        install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
        operator.istio.io/component: "Pilot"
        istio: pilot
        release: {{ .Release.Name }}
    {{- range $key, $val := .Values.pilot.deploymentLabels }}
        {{ $key }}: "{{ $val }}"
    {{- end }}
    spec:
    {{- if not .Values.pilot.autoscaleEnabled }}
    {{- if .Values.pilot.replicaCount }}
      replicas: {{ .Values.pilot.replicaCount }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list_test.go

    					},
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision":"test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) {
    			assert.Equal(t, c.expectedRevision, extractRevisionFromPod(c.pod))
    		})
    	}
    }
    
    func Test_getNamespaces(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. manifests/charts/ztunnel/templates/daemonset.yaml

            {{- if .Values.meshConfig.defaultConfig.proxyMetadata }}
            {{- range $key, $value := .Values.meshConfig.defaultConfig.proxyMetadata}}
            - name: {{ $key }}
              value: "{{ $value }}"
            {{- end }}
            {{- end }}
            {{- with .Values.env }}
            {{- range $key, $val := . }}
            - name: {{ $key }}
              value: "{{ $val }}"
            {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    				log.Warn("log level reset; using default value \"info\" for Ztunnel")
    				loggerLevelString = "info"
    			} else if loggerLevelString != "" {
    				levels := strings.Split(loggerLevelString, ",")
    				for _, ol := range levels {
    					if !strings.Contains(ol, ":") && !strings.Contains(ol, "=") {
    						level, ok := stringToLevel[ol]
    						if ok {
    							destLoggerLevels = map[string]Level{
    								defaultLoggerName: level,
    							}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
Back to top