Skip to content

Commit 2c7ba05

Browse files
author
Jeff Peeler
committed
test(e2e): add bundle data image extraction test
The image-bundle directory contains files for the data inside a bundle image in addition to buildling both the bundle and init container images.
1 parent 2186398 commit 2c7ba05

File tree

8 files changed

+1387
-0
lines changed

8 files changed

+1387
-0
lines changed

test/e2e/bundle_image_test.go

Lines changed: 773 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# docker build -t bundle-image .
2+
FROM fedora
3+
4+
COPY manifests /manifests
5+
COPY metadata /metadata
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# docker build -t init-operator-manifest .
2+
FROM busybox
3+
4+
COPY opm /
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: kialis.kiali.io
5+
labels:
6+
app: kiali-operator
7+
spec:
8+
group: kiali.io
9+
names:
10+
kind: Kiali
11+
listKind: KialiList
12+
plural: kialis
13+
singular: kiali
14+
scope: Namespaced
15+
subresources:
16+
status: {}
17+
version: v1alpha1
18+
versions:
19+
- name: v1alpha1
20+
served: true
21+
storage: true
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: apiextensions.k8s.io/v1beta1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
name: monitoringdashboards.monitoring.kiali.io
5+
labels:
6+
app: kiali
7+
spec:
8+
group: monitoring.kiali.io
9+
names:
10+
kind: MonitoringDashboard
11+
listKind: MonitoringDashboardList
12+
plural: monitoringdashboards
13+
singular: monitoringdashboard
14+
scope: Namespaced
15+
version: v1alpha1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
packageName: kiali
2+
channels:
3+
- name: alpha
4+
currentCSV: kiali-operator.v1.4.2
5+
- name: stable
6+
currentCSV: kiali-operator.v1.4.2
7+
defaultChannel: stable

0 commit comments

Comments
 (0)