/ocpnv

Go program written to build MachineConfigs for OpenShift to enable RHCOS images to get access to additional repos via an entitlement certificate.

Primary LanguageGoMIT LicenseMIT

ocpnv

Go CI Go Release License: MIT GitHub repo size in bytes GitHub last commit

Generate OCP complaint MachineConfigs from RHEL Entitlements Certificates

Overview

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.

Installation

ocpnv is available from the project's releases page.

Usage

# 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 -

Contributing

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.

License

MIT