Converting an Existing Profile - Converting an Existing Profile - UG1656

Onload Operator for Kubernetes User Guide (UG1656)

Document ID
UG1656
Release Date
2024-04-26
Revision
1.0 English

If you have an existing profile defined as a .opf file, you can generate a new ConfigMap definition from this using the scripts/profiles/profile_to_configmap.sh script.

This script takes in a comma separated list of profiles and outputs the text definition of the ConfigMap. You can either save the output to a file, or send it immediately to the cluster as follows:

./scripts/profiles/profile_to_configmap.sh -p /path/to/profile.opf | kubectl apply -f -

Currently the script produces ConfigMaps with a fixed naming structure. For example if you create a ConfigMap from a profile called name.opf, the generated name is onload-name-profile.