###############################################################################
# Role: OpenShiftInfra                                                        #
###############################################################################
- name: OpenShiftInfra
  description: |
    OpenShiftInfra role, a specialized worker that only runs infra pods.
  CountDefault: 1
  RoleParametersDefault:
    OpenShiftNodeGroupName: 'node-config-infra'
    DockerSkipUpdateReconfiguration: true
  tags:
    - openshift
  networks:
    InternalApi:
      subnet: internal_api_subnet
    Storage:
      subnet: storage_subnet
  # For systems with both IPv4 and IPv6, you may specify a gateway network for
  # each, such as ['ControlPlane', 'External']
  default_route_networks: ['ControlPlane']
  ServicesDefault:
    - OS::TripleO::Services::BootParams
    - OS::TripleO::Services::Docker
    - OS::TripleO::Services::OpenShift::GlusterFS
    - OS::TripleO::Services::OpenShift::Infra
    - OS::TripleO::Services::Podman
    - OS::TripleO::Services::Rhsm
    - OS::TripleO::Services::Sshd
    - OS::TripleO::Services::Timesync
    - OS::TripleO::Services::TripleoFirewall