Chapter 6. Installing Red Hat OpenShift 3.11 on IBM PowerVC 123
# enable ntp on masters to ensure proper failover
openshift_clock_enabled=True
##-----------------------------------------------------------------------##
## OpenShift Registries Locations
##-----------------------------------------------------------------------##
# NOTE: Need credentials from: https://access.redhat.com/terms-based-registry/
oreg_url=registry.redhat.io/openshift3/ose-${component}:${version}
oreg_auth_user={{CHANGEME_REGISTRY_SERVICE_ACCOUNT}}
oreg_auth_password={{CHANGEME_SERVICE_KEY}}
##-----------------------------------------------------------------------##
## OpenShift Master Vars
##-----------------------------------------------------------------------##
openshift_master_api_port=8443
openshift_master_console_port=8443
# Internal cluster name
openshift_master_cluster_hostname=ocp.domain.example.com
# Note: When using an external Load Balancer service or device, the FQDN 
# of the northbound VIP address must be specified in the inventory file 
# using the variable openshift_master_cluster_public_hostname 
openshift_master_cluster_public_hostname=ocp.domain.example.com
# Note: The OpenShift Routers at Infrastructure Nodes require a wildcard 
# subdomain it will use to dynamically build a URL or Route for applications 
# running on the platform and exposing a service outside the cluster
openshift_master_default_subdomain=apps.domain.example.com
##-----------------------------------------------------------------------##
## OpenShift Router and Registry Vars
##-----------------------------------------------------------------------##
# NOTE: Qty should NOT exceed the number of infra nodes
openshift_hosted_router_replicas=3
openshift_hosted_router_selector='node-role.kubernetes.io/infra=true'
# NOTE: PowerVC FlexVolume Driver doesn't support shared file systems
openshift_hosted_registry_replicas=1
openshift_hosted_registry_selector='node-role.kubernetes.io/infra=true'
##-----------------------------------------------------------------------##
## OpenShift Authentication Vars
##-----------------------------------------------------------------------##
# Available Identity Providers
# 
https://docs.openshift.com/container-platform/3.11/install_config/configuring_authenticatio
n.html
##---------------------##
# htpasswd Authentication
##---------------------##
# NOTE: read initial identities in htpasswd format from /root/htpasswd.openshift
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'True', 
'challenge': 'True', 'kind': 'HTPasswdPasswordIdentityProvider'}]
# To define initial users directly in the inventory file:
# Note: 
https://docs.openshift.com/container-platform/3.3/admin_solutions/master_node_config.html#h
tpasswd
openshift_master_htpasswd_users={'admin':'$apr1$hYehsOQ6$DQWSmGhPdS2LzS5cDJuU21','developer
':'$apr1$I0a9K2v0$ZLPrXnQseMlwTJIYzM8Hd.'}
##-----------------------------------------------------------------------##
## Docker Vars
##-----------------------------------------------------------------------##