Designate

# NOTE: This file serves as an example only!
# It demonstrates a subset of the API features which are available and
# is NOT FIT FOR PRODUCTIVE USE. You need to adapt them to your
# specific environment, needs and scale.
# DO NOT DEPLOY THIS FILE WITH THE EXPECTATION THAT YOU WILL GET A
# YAOOK DEPLOYMENT FIT FOR ANY USE EXCEPT LOOKING AT IT.
apiVersion: yaook.cloud/v1
kind: DesignateDeployment
metadata:
  name: designate
spec:
  keystoneRef:
    name: keystone
  api:
    replicas: 1
    ingress:
      fqdn: "designate.yaook.cloud"
      port: 32443
  database:
    replicas: 1
    timeoutClient: 300
    proxy:
      replicas: 1
    backup:
      schedule: "0 * * * *"
  memcached: {}
  messageQueue:
    replicas: 1
    resources:
      rabbitmq:
        limits:
          memory: 1G
          cpu: 1000m
  issuerRef:
    name: ca-issuer
  targetRelease: "2024.1"
  region:
    name: MyRegion
  powerdns:
    replicas: 1
    subnetCidr: "172.30.99.0/24"  # configure this according to your cluster
    # the loadBalancerIP must be configured inside an A entry of the external DNS
    # provider, otherwise the PowerDNS setup won't be operational
    database:
      replicas: 1
      proxy:
        replicas: 1
      backup:
        schedule: "0 * * * *"
  nsRecords:
    # set this to the nameserver which was configured to use the loadBalancerIP
    - hostname: designate-yaook-dev-ns.yaook.cloud.
      priority: 1
  policy:
    "admin": "role:admin"
  designateConfig:
    DEFAULT:
      debug: True