Generate OCP complaint MachineConfigs from RHEL Entitlements Certificates
ocpnv
pronounced OCP-N-V (OCP Envy) is a very basic program to convert a downloaded zip file from access.redhat.com
into MachineConfig yaml for OpenShift to enable RHCOS access to additional repos.
ocpnv
is available from the project's releases page.
# Create MachineConfig yaml config file
$ ocpnv -f downloaded_entitlements.zip > template.yaml
# Import into your OpenShift cluster
$ oc create -f template.yaml
# Create and import MachineConfig in one shot
$ ocpnv -f downloaded_entitlements.zip | oc create -f -
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.