Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for Label (0.12 sec)

  1. istioctl/pkg/util/ambient/util.go

    // limitations under the License.
    
    package ambient
    
    import (
    	"context"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    	registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized",
    		"The key portion of the label which will be set by the race repair if label pods is true")
    	registerStringParameter(constants.RepairLabelValue, "true",
    		"The value portion of the label which will be set by the race repair if label pods is true")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  3. manifests/charts/default/templates/mutatingwebhook.yaml

          - enabled
      objectSelector:
        matchExpressions:
        - key: sidecar.istio.io/inject
          operator: NotIn
          values:
          - "false"
    
    {{- /* Case 2: no namespace label, but object selector is enabled (and revision label is not, which has priority) */}}
    {{- include "core" (mergeOverwrite (deepCopy $whv) (dict "Prefix" "object.") ) }}
      namespaceSelector:
        matchExpressions:
        - key: istio-injection
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. .github/workflows/stale-pr.yml

              # This workflow should touch no issues, so times are set to -1
              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
                **BUG!** This issue should not be marked stale by the "stale" workflow.
                Please report it to @gradle/bt-support team
              days-before-issue-close: -1
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin.go

    		return nil
    	}
    
    	val := pi.Annotations[injectAnnotationKey]
    	if lbl, labelPresent := pi.Labels[label.SidecarInject.Name]; labelPresent {
    		// The label is the new API; if both are present we prefer the label
    		val = lbl
    	}
    	if val != "" {
    		log.Debugf("contains inject annotation: %s", val)
    		if injectEnabled, err := strconv.ParseBool(val); err == nil {
    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)
  6. cni/pkg/util/podutil_test.go

    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		{
    			name: "pod has label to disable ambient redirection",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithAmbientDisabledLabel,
    			},
    			want: false,
    		},
    		{
    			name: "pod has sidecar, pod has ambient mode label",
    			args: args{
    				namespace: unlabelledNamespace,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/mutatingwebhook.yaml

          - enabled
      objectSelector:
        matchExpressions:
        - key: sidecar.istio.io/inject
          operator: NotIn
          values:
          - "false"
    
    {{- /* Case 2: no namespace label, but object selector is enabled (and revision label is not, which has priority) */}}
    {{- include "core" (mergeOverwrite (deepCopy $whv) (dict "Prefix" "object.") ) }}
      namespaceSelector:
        matchExpressions:
        - key: istio-injection
    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)
  8. cni/pkg/config/config.go

    	// The node name that the CNI DaemonSet runs on
    	NodeName string
    
    	// Key and value for broken pod label
    	LabelKey   string
    	LabelValue string
    
    	// Whether to fix race condition by repairing them
    	RepairPods bool
    
    	// Whether to fix race condition by delete broken pods
    	DeletePods bool
    
    	// Whether to label broken pods
    	LabelPods bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/values.yaml

          # Repair controller has 3 modes. Pick which one meets your use cases. Note only one may be used.
          # This defines the action the controller will take when a pod is detected as broken.
    
          # labelPods will label all pods with <brokenPodLabelKey>=<brokenPodLabelValue>.
          # This is only capable of identifying broken pods; the user is responsible for fixing them (generally, by deleting them).
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.2K bytes
    - Viewed (1)
  10. manifests/charts/istio-cni/templates/clusterrole.yaml

      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.cni.repair.labelPods }}
      - apiGroups: [""]
        {{- /* pods/status is less privileged than the full pod, and either can label. So use the lower pods/status */}}
        resources: ["pods/status"]
        verbs: ["patch", "update"]
    {{- end }}
    {{- end }}
    ---
    {{- if .Values.cni.ambient.enabled }}
    apiVersion: rbac.authorization.k8s.io/v1
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat May 04 01:55:56 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top