# OKD cluster configuration
okd_version: "4.16"
base_domain: hub.container.mom

# Cluster configuration
okd_name: "hub"  # Name of the cluster
okd_base_domain: "{{ base_domain }}"
okd_cluster_artifacts: "/opt/okd/{{ okd_name }}"

# Network configuration
okd_machine_network: "188.244.117.0/24"  # Network CIDR for Hatch ZRH
okd_network_type: "OVNKubernetes"
okd_api_vip: "188.244.117.199"  # Virtual IP for API (adjust as needed)
okd_ingress_vip: "188.244.117.198"  # Virtual IP for Ingress (adjust as needed)

# Bootstrap node configuration
okd_bootstrap_external_static_ip: "188.244.117.197"  # Bootstrap node IP (adjust as needed)
okd_bootstrap_external_static_dns: "8.8.8.8"  # DNS server
okd_bootstrap_external_static_gateway: "188.244.117.1"  # Network gateway (adjust as needed)

# Node configuration
okd_controller_architecture: "x86_64"
okd_worker_architecture: "x86_64"
okd_controller_replicas: 3  # 3 master nodes
okd_worker_replicas: 0  # Masters will be schedulable (hybrid mode)

# Network bridges
okd_external_bridge: "br-ex"
okd_provisioning_bridge: "br-prov"
okd_provisioning_network: "Disabled"  # Using existing network
okd_provisioning_network_cidr: "172.22.0.0/24"

# Authentication
okd_pull_secret: '{"auths":{"fake":{"auth":"aWQ6cGFzcwo="}}}'  # Replace with your actual pull secret
okd_ssh_key: "ssh-rsa AAAA..."  # Replace with your actual SSH public key

# Node IPs
okd_masters:
  - name: master0
    ip: "188.244.117.200"
  - name: master1
    ip: "188.244.117.223"
  - name: master2
    ip: "188.244.117.142"

# Since we're using hybrid masters (masters are also workers), 
# we need to make masters schedulable
okd_make_masters_schedulable: true