| At the moment we store the Variant Information for the Openshift side in Config Maps and we create one Config Map for every variant. We want to change two things:
- Use Secrets instead of Config Maps
- Don't create a Secret for every variant but only per mobile client
Why this change? The UPS SDKs that already exist (Android, Cordova, iOS) expect a certain format, especially when multiple variants are involved like it is common on Cordova. We don't want the mobile-cli to know about this format. The mobile-cli should not format the config and should not have to know about UPS. Instead we store the UPS config for a mobile client inside a secret (as a JSON string). When a second variant is added to this mobile client then we update this string. The format will look like this:
{ |
"android": <variant JSON for android>, |
"ios": <variant JSON for iOS> |
}
|
|