Deploy a simple mashup to QSEfE.
- install QSEfE
- install Elastic Distributor Tester (or QSEfW)
- clone this repo
Use Elastic Distributor Tester or QSEfW to distribute your app to QSEfE (e.g., cereal.qvf).
$ helm install --name qlik-mashup ./chart/qlik-mashup
browse to https://elastic.example/extensions/cereal/cereal.html
Here are the steps to update the mashup.
Replace the mashup files in ./src with your mashup files and distribute your mashup app to QSEfE (see App Requirements below).
The mashup files are bundled in a caddy server in the docker image.
docker build --tag qlik-mashup .
Change ./chart/qlik-mashup/values.yaml to point to the docker image you just built.
From:
repository: jimareed/qlik-mashup
To:
repository: qlik-mashup
The values.yaml and templates/ingress.yaml files defines an ingress which exposes the extensions folder to the cluster and adds the hooks to authenticate to QSEfE.
Referring to a locally built image works if you are using Kubernetes with Docker for Mac but it may not work for Minicube or cloud based kubernetes clusters. If you have trouble using a local image, then add the image to a docker registry that your Kubernetes cluster has access to.
From:
ingress:
targetAuthReleaseName: qsefe
To:
ingress:
targetAuthReleaseName: my-qsefe-release
helm upgrade qlik-mashup ./chart/qlik-mashup
You should be able to open the mashup after making these changes.
browse to https://elastic.example/extensions/{mashup}/{mashup}.html
In order to distribute an app to QSEfE, it must contain access control custom properties (e.g., groupswithaccess or userswithaccess) and it must be published.