Restoring the IoT tool namespace

You need to restore three encryption secrets for the mas-{MAS_INSTANCE_ID}-iot namespace.

About this task

You need to restore each one of the encryption secrets.
  • actions-credsenckey
  • auth-encryption-secret
  • provision-creds-enckey

Procedure

  1. Use the command oc apply -f to restore each secret.
    oc apply -f ./{MAS_INSTANCE_ID}-{secret_name}.yaml
  2. Restart the datapower-datapower pods.
    oc get pod -n mas-{MAS_INSTANCE_ID}-iot | grep "datapower-datapower" | awk '{print $1}' | xargs oc delete pod -n mas-{MAS_INSTANCE_ID}-iot
  3. Wait for datapower-datapower pods to be running and in the ready status.
    To monitor the status of the datapower-datapower pods, use the following command:
    oc get pod -n mas-{MAS_INSTANCE_ID}-iot | grep datapower-datapower