Skip to content

Latest commit

 

History

History

README.md

Central configuration folder

This folder is the single place to create your configuration files for the toolbox. Deploy and lifecycle make targets automatically sync files from here to the locations where the scripts and playbooks actually read them; make sync-config runs the sync explicitly. A file is only copied when it is missing at the destination or the config/ copy is newer, so editing the canonical locations directly still works as before.

Only templates and examples are tracked in git; the .gitignore in this folder prevents your real config files (including the pull secret) from ever being committed.

Files

Create this file Used by Synced to How to create
instance.env AWS hypervisor (all make instance targets) deploy/aws-hypervisor/instance.env cp config/instance.env.template config/instance.env
pull-secret.json dev-scripts and kcli deployments deploy/openshift-clusters/roles/dev-scripts/install-dev/files/pull-secret.json and deploy/openshift-clusters/roles/kcli/kcli-install/files/pull-secret.json Paste your pull secret from https://cloud.redhat.com/openshift/install/pull-secret
config_arbiter.sh dev-scripts arbiter topology deploy/openshift-clusters/roles/dev-scripts/install-dev/files/config_arbiter.sh cp config/config_arbiter_example.sh config/config_arbiter.sh
config_fencing.sh dev-scripts fencing topology deploy/openshift-clusters/roles/dev-scripts/install-dev/files/config_fencing.sh cp config/config_fencing_example.sh config/config_fencing.sh
config_sno.sh dev-scripts SNO topology deploy/openshift-clusters/roles/dev-scripts/install-dev/files/config_sno.sh cp config/config_sno_example.sh config/config_sno.sh
config_baremetal_fencing.sh dev-scripts baremetal fencing topology deploy/openshift-clusters/roles/dev-scripts/install-dev/files/config_baremetal_fencing.sh Generated by make baremetal-adopt, or copy from canonical location
kcli.yml kcli deployment (optional overrides) deploy/openshift-clusters/vars/kcli.yml cp config/kcli.yml.template config/kcli.yml
assisted.yml assisted installer spoke deployment deploy/openshift-clusters/vars/assisted.yml cp config/assisted.yml.template config/assisted.yml
init-host.yml.local external host initialization (optional RHSM overrides) deploy/openshift-clusters/vars/init-host.yml.local cp deploy/openshift-clusters/vars/init-host.yml config/init-host.yml.local

Syncing

The sync runs automatically as a Makefile prerequisite before deploy and cluster targets. To run it on its own (for example before invoking ansible-playbook directly):

cd deploy/
make sync-config

Scripts run directly (bypassing make) do not auto-sync — run make sync-config first, or use make targets.