...
1---
2apiVersion: v1
3kind: Namespace
4metadata:
5 name: conformance
6---
7apiVersion: v1
8kind: ServiceAccount
9metadata:
10 labels:
11 component: conformance
12 name: conformance-serviceaccount
13 namespace: conformance
14---
15apiVersion: rbac.authorization.k8s.io/v1
16kind: ClusterRoleBinding
17metadata:
18 labels:
19 component: conformance
20 name: conformance-serviceaccount-role
21roleRef:
22 apiGroup: rbac.authorization.k8s.io
23 kind: ClusterRole
24 name: conformance-serviceaccount
25subjects:
26- kind: ServiceAccount
27 name: conformance-serviceaccount
28 namespace: conformance
29---
30apiVersion: rbac.authorization.k8s.io/v1
31kind: ClusterRole
32metadata:
33 labels:
34 component: conformance
35 name: conformance-serviceaccount
36rules:
37- apiGroups:
38 - '*'
39 resources:
40 - '*'
41 verbs:
42 - '*'
43- nonResourceURLs:
44 - '/metrics'
45 - '/logs'
46 - '/logs/*'
47 verbs:
48 - 'get'
49---
50apiVersion: v1
51kind: Pod
52metadata:
53 name: e2e-conformance-test
54 namespace: conformance
55spec:
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
View as plain text