Skip to content

RedHatQE/openshift-day2-configurator

Repository files navigation

OpenShift Day-2 Configuration Tool

The OpenShift Day-2 Configuration Tool is a tool to configure Day-2 environment on a running OpenShift Cluster.

Supported configurators

  • LDAP
  • Ingress
  • Nodes

ETCD, MachineConfig operator and Infra/Worker nodes tasks configurators are to be added in the future.

How to use

Setup

  • 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.

Configuration

  • 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

Run the tool

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.