...

Text file src/github.com/openshift/api/operator/v1/stable.dns.testsuite.yaml

Documentation: github.com/openshift/api/operator/v1

     1apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
     2name: "[Stable] DNS"
     3crd: 0000_70_dns-operator_00.crd.yaml
     4tests:
     5  onCreate:
     6  - name: Should be able to create a minimal DNS
     7    initial: |
     8      apiVersion: operator.openshift.io/v1
     9      kind: DNS
    10      spec: {} # No spec is required for a DNS
    11    expected: |
    12      apiVersion: operator.openshift.io/v1
    13      kind: DNS
    14      spec:
    15        logLevel: Normal
    16        operatorLogLevel: Normal
    17        upstreamResolvers:
    18          policy: Sequential
    19          upstreams:
    20          - port: 53
    21            type: SystemResolvConf

View as plain text