Files
open-cluster-management/vendor/github.com/openshift/api/console/v1/stable.consolelink.testsuite.yaml
Wei Liu 33525a94ff upgrade kube to 1.26 (#302)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-03-02 03:50:47 +01:00

21 lines
564 B
YAML

apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "[Stable] ConsoleLink"
crd: 0000_10_consolelink.crd.yaml
tests:
onCreate:
- name: Should be able to create a minimal ConsoleLink
initial: |
apiVersion: console.openshift.io/v1
kind: ConsoleLink
spec:
href: "https://"
location: HelpMenu
text: foo
expected: |
apiVersion: console.openshift.io/v1
kind: ConsoleLink
spec:
href: "https://"
location: HelpMenu
text: foo