Skip to main content

Updating Platform ID

  1. (Recommended) Back up the PostgreSQL database that the service uses.

  2. Fetch new installation artifacts.

    1. Specify the new version of the core component in the DGCLI configuration file (see Core releases).

    2. Run the fetch command.

      For more settings, see DGCLI command-line arguments reference.

  3. Check out breaking changes. If necessary, update settings in the values-platform-id.yaml configuration file. For more information, see the installation guide.

  4. Run the command to update the service:

    helm upgrade --version=VERSION --atomic --values ./values-platform-id.yaml platform-id 2gis-on-premise/platform-id

    In the --version parameter, set the new core component version that you specified in the DGCLI configuration file.

    warning

    Versions of services within a component must be the same and match the component version.

  5. Test if the update succeeded.