k8s.io/kubernetes@v1.29.3/test/conformance/image/conformance-e2e.yaml (about)

     1  ---
     2  apiVersion: v1
     3  kind: Namespace
     4  metadata:
     5    name: conformance
     6  ---
     7  apiVersion: v1
     8  kind: ServiceAccount
     9  metadata:
    10    labels:
    11      component: conformance
    12    name: conformance-serviceaccount
    13    namespace: conformance
    14  ---
    15  apiVersion: rbac.authorization.k8s.io/v1
    16  kind: ClusterRoleBinding
    17  metadata:
    18    labels:
    19      component: conformance
    20    name: conformance-serviceaccount-role
    21  roleRef:
    22    apiGroup: rbac.authorization.k8s.io
    23    kind: ClusterRole
    24    name: conformance-serviceaccount
    25  subjects:
    26  - kind: ServiceAccount
    27    name: conformance-serviceaccount
    28    namespace: conformance
    29  ---
    30  apiVersion: rbac.authorization.k8s.io/v1
    31  kind: ClusterRole
    32  metadata:
    33    labels:
    34      component: conformance
    35    name: conformance-serviceaccount
    36  rules:
    37  - apiGroups:
    38    - '*'
    39    resources:
    40    - '*'
    41    verbs:
    42    - '*'
    43  - nonResourceURLs:
    44    - '/metrics'
    45    - '/logs'
    46    - '/logs/*'
    47    verbs:
    48    - 'get'
    49  ---
    50  apiVersion: v1
    51  kind: Pod
    52  metadata:
    53    name: e2e-conformance-test
    54    namespace: conformance
    55  spec:
    56    containers:
    57    - name: conformance-container
    58      image: registry.k8s.io/conformance-amd64:v1.14
    59      imagePullPolicy: IfNotPresent
    60      env:
    61      - name: E2E_FOCUS
    62        value: "\\[Conformance\\]"
    63      - name: E2E_SKIP
    64        value: ""
    65      - name: E2E_PROVIDER
    66        value: "skeleton"
    67      - name: E2E_PARALLEL
    68        value: "false"
    69      - name: E2E_VERBOSITY
    70        value: "4"
    71      volumeMounts:
    72      - name: output-volume
    73        mountPath: /tmp/results
    74    volumes:
    75    - name: output-volume
    76      hostPath:
    77        path: /tmp/results
    78    restartPolicy: Never
    79    serviceAccountName: conformance-serviceaccount