Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 507 for ServiceAccountName (0.21 sec)

  1. pkg/kube/kclient/index_test.go

    		if len(pod.Spec.NodeName) == 0 {
    			return nil
    		}
    		if len(pod.Spec.ServiceAccountName) == 0 {
    			return nil
    		}
    		return []SaNode{{
    			ServiceAccount: types.NamespacedName{
    				Namespace: pod.Namespace,
    				Name:      pod.Spec.ServiceAccountName,
    			},
    			Node: pod.Spec.NodeName,
    		}}
    	})
    	k1 := SaNode{
    		ServiceAccount: types.NamespacedName{
    			Namespace: "ns",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. pkg/serviceaccount/legacy.go

    	}
    	secretName := private.SecretName
    	if len(secretName) == 0 {
    		return nil, errors.New("secretName claim is missing")
    	}
    	serviceAccountName := private.ServiceAccountName
    	if len(serviceAccountName) == 0 {
    		return nil, errors.New("serviceAccountName claim is missing")
    	}
    	serviceAccountUID := private.ServiceAccountUID
    	if len(serviceAccountUID) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. manifests/charts/gateway/templates/role.yaml

    kind: RoleBinding
    metadata:
      name: {{ include "gateway.serviceAccountName" . }}
      namespace: {{ .Release.Namespace }}
      labels:
        {{- include "gateway.labels" . | nindent 4}}
      annotations:
        {{- .Values.annotations | toYaml | nindent 4 }}
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: {{ include "gateway.serviceAccountName" . }}
    subjects:
    - kind: ServiceAccount
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 21 16:58:32 UTC 2023
    - 963 bytes
    - Viewed (0)
  4. tests/integration/security/testdata/authz/deny-principal.yaml.tmpl

          from:
            - source:
                principals: [ "{{ .Denied.ServiceAccountName }}" ]
        - to:
            - operation: # GRPC
                ports: [ "{{ (.To.PortForName `grpc`).WorkloadPort }}" ]
                paths: [ "/proto.EchoTestService/Echo" ]
                methods: [ "POST" ]
          from:
            - source:
                principals: [ "{{ .Denied.ServiceAccountName }}" ]
        - to:
            - operation: # TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. tests/integration/security/testdata/authz/allow-principal.yaml.tmpl

          from:
            - source:
                principals: [ "{{ .Allowed.ServiceAccountName }}" ]
        - to:
            - operation: # GRPC
                ports: [ "{{ (.To.PortForName `grpc`).WorkloadPort }}" ]
                paths: [ "/proto.EchoTestService/Echo" ]
                methods: [ "POST" ]
          from:
            - source:
                principals: [ "{{ .Allowed.ServiceAccountName }}" ]
        - to:
            - operation: # TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 998 bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/testdata/deployment-multi-service.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
            - name: details
              image: docker.io/istio/examples-bookinfo-details-v1:1.15.0
              imagePullPolicy: IfNotPresent
              ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 21:52:53 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. samples/bookinfo/platform/kube/bookinfo-psa.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
          - name: details
            image: docker.io/istio/examples-bookinfo-details-v1:1.20.1
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. samples/bookinfo/platform/kube/bookinfo.yaml

    spec:
      replicas: 1
      selector:
        matchLabels:
          app: details
          version: v1
      template:
        metadata:
          labels:
            app: details
            version: v1
        spec:
          serviceAccountName: bookinfo-details
          containers:
          - name: details
            image: docker.io/istio/examples-bookinfo-details-v1:1.20.1
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 9080
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. pkg/config/model_test.go

    				c.(*networking.VirtualService).Gateways = []string{"bar"}
    				return c
    			},
    			protocmp.Transform(),
    		},
    		// Kubernetes type
    		{
    			&corev1.PodSpec{ServiceAccountName: "foobar"},
    			func(c Spec) Spec {
    				c.(*corev1.PodSpec).ServiceAccountName = "bar"
    				return c
    			},
    			nil,
    		},
    		// gateway-api type
    		{
    			&k8s.GatewayClassSpec{ControllerName: "foo"},
    			func(c Spec) Spec {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/conversion_test.go

    	}
    	if v.ServiceAccountName != name {
    		t.Fatalf("want v1.ServiceAccountName %q, got %q", name, v.ServiceAccountName)
    	}
    	if v.DeprecatedServiceAccount != name {
    		t.Fatalf("want v1.DeprecatedServiceAccount %q, got %q", name, v.DeprecatedServiceAccount)
    	}
    
    	// Test v1 -> internal. Either DeprecatedServiceAccount, ServiceAccountName,
    	// or both should translate to ServiceAccountName. ServiceAccountName wins
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:15 UTC 2023
    - 21.7K bytes
    - Viewed (0)
Back to top