apiVersion: apiextensions.k8s.io/v1 # Hack because controller-gen complains if we don't have this
name: "[Stable] DNS"
crd: 0000_70_dns-operator_00.crd.yaml
tests:
  onCreate:
  - name: Should be able to create a minimal DNS
    initial: |
      apiVersion: operator.openshift.io/v1
      kind: DNS
      spec: {} # No spec is required for a DNS
    expected: |
      apiVersion: operator.openshift.io/v1
      kind: DNS
      spec:
        logLevel: Normal
        operatorLogLevel: Normal
        upstreamResolvers:
          policy: Sequential
          upstreams:
          - port: 53
            type: SystemResolvConf
