Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 201 for serviceaccountname (0.43 sec)

  1. 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)
  2. 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)
  3. 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)
  4. samples/bookinfo/platform/kube/bookinfo-dualstack.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.9K bytes
    - Viewed (0)
  5. plugin/pkg/admission/serviceaccount/admission.go

    	// Set the default service account if needed
    	if len(pod.Spec.ServiceAccountName) == 0 {
    		pod.Spec.ServiceAccountName = DefaultServiceAccountName
    	}
    
    	serviceAccount, err := s.getServiceAccount(a.GetNamespace(), pod.Spec.ServiceAccountName)
    	if err != nil {
    		return admission.NewForbidden(a, fmt.Errorf("error looking up service account %s/%s: %w", a.GetNamespace(), pod.Spec.ServiceAccountName, err))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. plugin/pkg/admission/serviceaccount/admission_test.go

    	if err != nil {
    		t.Errorf("Unexpected error: %v", err)
    	}
    	if pod.Spec.ServiceAccountName != DefaultServiceAccountName {
    		t.Errorf("Expected service account %s assigned, got %s", DefaultServiceAccountName, pod.Spec.ServiceAccountName)
    	}
    }
    
    func TestDeniesInvalidServiceAccount(t *testing.T) {
    	ns := "myns"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. tests/integration/security/egress_sidecar_tls_origination_test.go

    				t.NewSubTest(tc.name).Run(func(t framework.TestContext) {
    					if tc.authorizeSidecar {
    						serviceAccount := tc.from.Config().ServiceAccountName()
    						serviceAccountName := serviceAccount[strings.LastIndex(serviceAccount, "/")+1:]
    						authorizeSidecar(t, tc.from.Config().Namespace, serviceAccountName)
    					}
    					newTLSSidecarDestinationRule(t, apps.External.All, "MUTUAL", tc.drSelector, tc.credentialToUse,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

            - <nil>
            - --log_output_level
            - <nil>
            env:
            - name: ISTIO_META_SERVICE_ACCOUNT
              valueFrom:
                fieldRef:
                  fieldPath: spec.serviceAccountName
            - name: ISTIO_META_NODE_NAME
              valueFrom:
                fieldRef:
                  fieldPath: spec.nodeName
            - name: PILOT_CERT_PROVIDER
              value: <no value>
            - name: CA_ADDR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint.yaml

            - <nil>
            - --log_output_level
            - <nil>
            env:
            - name: ISTIO_META_SERVICE_ACCOUNT
              valueFrom:
                fieldRef:
                  fieldPath: spec.serviceAccountName
            - name: ISTIO_META_NODE_NAME
              valueFrom:
                fieldRef:
                  fieldPath: spec.nodeName
            - name: PILOT_CERT_PROVIDER
              value: <no value>
            - name: CA_ADDR
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. manifests/charts/gateway/templates/deployment.yaml

            {{- end }}
            {{- end }}
        spec:
          {{- with .Values.imagePullSecrets }}
          imagePullSecrets:
            {{- toYaml . | nindent 8 }}
          {{- end }}
          serviceAccountName: {{ include "gateway.serviceAccountName" . }}
          securityContext:
          {{- if .Values.securityContext }}
            {{- toYaml .Values.securityContext | nindent 8 }}
          {{- else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 22:42:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top