...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] ConsolePlugin"
3crd: 0000_10_consoleplugin.crd.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal ConsolePlugin
7 initial: |
8 apiVersion: console.openshift.io/v1alpha1
9 kind: ConsolePlugin
10 spec:
11 service:
12 name: foo
13 namespace: foo
14 port: 80
15 expected: |
16 apiVersion: console.openshift.io/v1alpha1
17 kind: ConsolePlugin
18 spec:
19 service:
20 name: foo
21 namespace: foo
22 port: 80
23 basePath: /
View as plain text