API Keys service | On-Premise | 2GIS Documentation

Updating API Keys service

  1. (Recommended) Back up data used by the service.

  2. Fetch new installation artifacts.

    To get artifacts for the API Keys service only, add --services=keys after the pull command. Without this parameter artifacts for all services will be fetched by default.

    See the reference of DGCLI command-line arguments.

  3. Copy the path to a new manifest file from the command output and set it as a value to the dgctlStorage.manifest parameter in the values-keys.yaml configuration file. For more information, see the service installation instructions.

  4. Check out breaking changes. If necessary, update other settings in the values-keys.yaml configuration file.

  5. Run the command to update the service:

    helm upgrade --version=1.21.0 --atomic --wait-for-jobs --values ./values-keys.yaml keys 2gis-on-premise/keys
    
  6. Test if the update succeeded.