The OpenShift Day-2 Configuration Tool is a tool to configure Day-2 environment on a running OpenShift Cluster.
- LDAP
- Ingress
- Nodes
ETCD, MachineConfig operator and Infra/Worker nodes tasks configurators are to be added in the future.
- OpenShift cluster must be provisioned and running.
- Cluster admin privileges are required.
- bitnami-labs SealedSecrets custom resource must be installed.
- butane CLI tool must be installed.
- Edit day2 config file; replace all placeholders with values.
- Set
kubeconfig
to point to the cluster's kubeconfig file. - Unset
KUBECONFIG
environment variable.
unset KUBECONFIG
poetry install
poetry run python openshift_day2_configurator/cli.py -c <path to config file>
To run in debug mode, add --verbose
or -v
to the command.
To drop to ipdb
shell on exception, add -pdb
to the command.