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