Installation/Upgrade/Removal of Predicate UI Release
Installation/Upgrade
- Obtain the default
values-predicate-ui.yamlfrom the chart:export CHART_NAME= export CHART_VERSION= helm show values $CHART_NAME --version $CHART_VERSION >> values-predicate-ui.yaml -
Edit the
values-predicate-ui.yamlfile- Specify the current image repository -
service.image.repositoryand image tag -service.image.tag; - Specify the current
service.ingress.hostandservice.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 invalues-predicate-ui.yaml:KEYCLOAK_URLKEYCLOAK_REALMKEYCLOAK_CLIENT_ID
- Specify the current image repository -
-
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>
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.