On Kubernetes, if all subsystems are in the same namespace, run:
python3 save_v2018_source_configuration.py -n <namespace> -u admin -p <password> -s <platform_api_endpoint> -r admin/default-idp-1 --storage_class <storage class> -registry_secret <image_pull_secret> -extract_image <extract_image_url>
On OpenShift, if all subsystems are in the same namespace, run:
python3 save_v2018_source_configuration.py -ocp -n <namespace> -u admin -p <password> -s <platform_api_endpoint> -r admin/default-idp-1 --storage_class <storage class> -registry_secret <image_pull_secret> -extract_image <extract_image_url>
Where
Example
(Kubernetes):
python3 save_v2018_source_configuration.py -n apicsrc -u admin -p cuISlavSuFImPjwW5cjmMJwLZt -s api.ops-isl.jp-tok.apiconnect.cloud.ibm.com -r admin/default-idp-1 --storage_class apic-mz-ibmc-block-gold-monthly -registry_secret apiconnect-image-pull-secret -extract_image apic-dev-docker-local.artifactory.swg-devops.com/ibm-apiconnect-management-v2018-to-v10-extract@sha256:6ec184f756e03f916b1bb1b22952d8ecc2dff1b445b3c81b9fa943d775ab665a
If
Management, Portal, and Gateway subsystems are in different namespaces, use
-mgmt_ns
,
-ptl_ns
, and
-gw_ns
to specify each.
Example (Kubernetes):
python3 save_v2018_source_configuration.py -mgmt_ns <management_namespace> -ptl_ns <portal_namespace> -a7s_ns <analytics_namespace> -gw_ns <gateway_namespace> -u admin -p <password> -s <platform_api_endpoint> -r admin/default-idp-1 --storage_class <storage class> -registry_secret <image_pull_secret> -extract_image <extract_image_url>
Note: Command
help for the script is available with
--help
:
python3 save_v2018_source_configuration.py --help