Customizing Product Master

Instead of creating a custom image, you can use default image for deployment and then proceed with customization.

About this task

During deployment process, fixed set of directories get created and you need to copy your modified (custom) files to the specific directories. For more information see Customizing the containerized deployment topic in the Product Master documentation.

Procedure

Proceed as follows to enable Global Data Synchronization (GDS).

Add the following properties and apply the productmaster_instance CR.
gds_datapool_glen
The Global Location Number (GLN) of the datapool service.
gds_self_gln
The GLN of the trading partner that is using this application.
gds_company_name
The name of the company where GDS is to be configured or used.

Example

cat <<EOF |oc apply -f
apiVersion: productmaster.cpd.ibm.com/v1
kind: ProductMaster
metadata:
  name: productmaster-cr
  labels:
    app.kubernetes.io/instance: ibm-cpd-productmaster-operator
    app.kubernetes.io/managed-by: ibm-cpd-productmaster-operator
    app.kubernetes.io/name: ibm-cpd-productmaster-operator
spec:
  version: "10.0.0"
  scaleConfig: small
  license:
    accept: false
  shutdown: false
  autoScaleConfig: false
  fileStorageClass: <file storage name>
  blockStorageClass: <block storage name>
#Specify for GDS service
  gds_datapool_gln: ""
  gds_self_gln: ""
  gds_company_name: <gds company name>