This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
forked from openshift/console
-
Notifications
You must be signed in to change notification settings - Fork 11
/
e2e.yaml
75 lines (70 loc) · 1.56 KB
/
e2e.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
apiVersion: v1
kind: Pod
metadata:
name: tectonic-console-tester
namespace: tectonic-system
labels:
framework: protractor
spec:
restartPolicy: Never
imagePullSecrets:
- name: coreos-console-ui-e2e-pull-secret
volumes:
- name: results
persistentVolumeClaim:
claimName: test-output
containers:
- name: tectonic-console-tester
image: 'quay.io/coreos/tectonic-console-tester:protractor'
imagePullPolicy: Always
volumeMounts:
- mountPath: "/out"
name: results
env:
- name: BRIDGE_AUTH_USERNAME
valueFrom:
secretKeyRef:
name: tectonic-console-tester
key: username
- name: BRIDGE_AUTH_PASSWORD
valueFrom:
secretKeyRef:
name: tectonic-console-tester
key: password
- name: BRIDGE_BASE_ADDRESS
valueFrom:
configMapKeyRef:
name: tectonic-config
key: consoleBaseAddress
- name: BRIDGE_BASE_PATH
value: /
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: test-output-volume
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: slow
hostPath:
path: /tmp/test-output
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: test-output
namespace: tectonic-system
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
storageClassName: slow
selector:
matchName:
test-output-volume