Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Towers (0.15 sec)

  1. 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
    kind: ClusterRole
    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)
  2. cni/pkg/util/podutil.go

    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    func AnnotateUnenrollPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    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)
Back to top