Skip to content

Installation/Upgrade/Removal of Predicate UI Release

Installation/Upgrade

  1. Obtain the default values-predicate-ui.yaml from the chart:
    export CHART_NAME=
    export CHART_VERSION=
    helm show values $CHART_NAME --version $CHART_VERSION >> values-predicate-ui.yaml
    
  2. Edit the values-predicate-ui.yaml file

    • Specify the current image repository - service.image.repository and image tag - service.image.tag;
    • Specify the current service.ingress.host and service.ingress.baseDomain;
    • Specify the current environment variables service.secrets.data, which are described in the section Environment Variables; at a minimum, you need to override the following variables in values-predicate-ui.yaml:

      • KEYCLOAK_URL
      • KEYCLOAK_REALM
      • KEYCLOAK_CLIENT_ID
  3. Run the command

    helm upgrade \
    --namespace=<namespace> \
    --install \
    --atomic \
    --values values-predicate-ui.yaml \
    <releasename> <path to chart>
    

where namespace is the k8s namespace in which the release is installed, releasename is the name of the release, path to chart is the path to the chart folder or archive

Removal

To remove the chart, run the command:

helm delete --namespace=<namespace> <releasename>
where namespace is the k8s namespace in which the release is installed, releasename is the name of the release,

Important

To completely remove the release, you must run the command helm delete --namespace=<namespace> <releasename> --purge.