Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for labels (0.13 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    			if selector == nil {
    				return nil
    			}
    			labels := make([]string, 0)
    			for _, me := range selector.MatchExpressions {
    				if me.Operator != metav1.LabelSelectorOpIn {
    					continue
    				}
    				for _, v := range me.Values {
    					labels = append(labels, fmt.Sprintf("%s=%s", me.Key, v))
    				}
    			}
    			return labels
    		}
    
    		var isDeactivated bool
    		for _, wh := range whs {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. manifests/charts/gateway/templates/_helpers.tpl

    }} {{- define "gateway.selectorLabels" -}} {{- if hasKey .Values.labels "app" }} {{- with .Values.labels.app }}app: {{.|quote}} {{- end}} {{- else }}app: {{ include "gateway.name" . }} {{- end }} {{- if hasKey .Values.labels "istio" }} {{- with .Values.labels.istio }} istio: {{.|quote}} {{- end}} {{- else }} istio: {{ include "gateway.name" . | trimPrefix "istio-" }} {{- end }} {{- end }} {{- define "gateway.serviceAccountName" -}} {{- if .Values.serviceAccount.create }} {{- .Values.serviceAccount.name...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 06 16:57:46 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    	cases := []struct {
    		anno klabels.Set
    
    		expected string
    	}{
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: "",
    			},
    			expected: "",
    		},
    		{
    			anno:     klabels.Set{},
    			expected: "",
    		},
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: `
    				{
    					"initContainers": [
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. manifests/charts/gateway/templates/role.yaml

    {{- if .Values.rbac.enabled }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: Role
    metadata:
      name: {{ include "gateway.serviceAccountName" . }}
      namespace: {{ .Release.Namespace }}
      labels:
        {{- include "gateway.labels" . | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    rules:
    - apiGroups: [""]
      resources: ["secrets"]
      verbs: ["get", "watch", "list"]
    ---
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 21 16:58:32 GMT 2023
    - 963 bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/files/gateway-injection-template.yaml

    metadata:
      labels:
        service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name  | quote }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 27 16:55:16 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. cni/pkg/plugin/kubernetes.go

    	log.Debugf("Pod %v/%v info: \n%+v", podNamespace, podName, pi)
    
    	return pi, nil
    }
    
    func ExtractPodInfo(pod *v1.Pod) *PodInfo {
    	pi := &PodInfo{
    		Containers:        sets.New[string](),
    		Labels:            pod.Labels,
    		Annotations:       pod.Annotations,
    		ProxyEnvironments: make(map[string]string),
    	}
    	for _, c := range containers(pod) {
    		pi.Containers.Insert(c.Name)
    		if c.Name == ISTIOPROXY {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

    metadata:
      labels:
        {{/* security.istio.io/tlsMode: istio must be set by user, if gRPC is using mTLS initialization code. We can't set it automatically. */}}
        service.istio.io/canonical-name: {{ index .ObjectMeta.Labels `service.istio.io/canonical-name` | default (index .ObjectMeta.Labels `app.kubernetes.io/name`) | default (index .ObjectMeta.Labels `app`) | default .DeploymentMeta.Name  | quote }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  9. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

    {{- end }}
    {{- end }}
      selector:
        matchLabels:
    {{ $gateway.labels | toYaml | indent 6 }}
      strategy:
        rollingUpdate:
          maxSurge: {{ $gateway.rollingMaxSurge }}
          maxUnavailable: {{ $gateway.rollingMaxUnavailable }}
      template:
        metadata:
          labels:
    {{ $gateway.labels | toYaml | indent 8 }}
    {{- if eq .Release.Namespace "istio-system"}}
            heritage: Tiller
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (1)
  10. manifests/charts/gateways/istio-ingress/templates/poddisruptionbudget.yaml

    {{ $gateway := index .Values "gateways" "istio-ingressgateway" }}
    apiVersion: policy/v1
    kind: PodDisruptionBudget
    metadata:
      name: {{ $gateway.name }}
      namespace: {{ .Release.Namespace }}
      labels:
    {{ $gateway.labels | toYaml | trim | indent 4 }}
        release: {{ .Release.Name }}
        istio.io/rev: {{ .Values.revision | default "default" | quote }}
        install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 666 bytes
    - Viewed (0)
Back to top