...
1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
2name: "[Stable] DNSRecord"
3crd: 0000_50_dns-record.yaml
4tests:
5 onCreate:
6 - name: Should be able to create a minimal DNSRecord
7 initial: |
8 apiVersion: ingress.operator.openshift.io/v1
9 kind: DNSRecord
10 spec:
11 dnsName: foo
12 targets:
13 - foo
14 recordType: A
15 recordTTL: 0
16 expected: |
17 apiVersion: ingress.operator.openshift.io/v1
18 kind: DNSRecord
19 spec:
20 dnsName: foo
21 targets:
22 - foo
23 recordType: A
24 recordTTL: 0
25 dnsManagementPolicy: Managed
View as plain text