Go to the example
directory.
- Update build.sh to install the necessary plugins
- Build your custom ckan-core image, with
docker build -t MYREPO/my-ckan-image:MYTAG
and push it up withdocker push
- Set the plugins in values.yaml, and correct the ckan-core image name to
MYREPO/my-ckan-image:MYTAG
- If you have added plugins that have settings not already included in this Helm chart, you may need to add appropriate settings to
./subcharts/ckan-core/templates/_productionIni.tpl
and re-runhelm dependencies update .
(please consider a pull request, to help us support more plugins out of the box)
- Copy the
values.yaml
file from theexample
subdirectory into a new location outside the gitroot, e.g.development.yaml
in the directory above. helm install --name development-ckan . --values=../development.yaml --namespace=ckan
At present, we do not have any default ingress, so you can reach the CKAN web interface using:
kubectl port-forward $(kubectl get pods --no-headers | awk '{print $1}' | head -n 1) 5000:5000
and hitting http://localhost:5000 will give you the CKAN UI. When you wish to remove it you will need to:
helm delete --purge development-ckan
helm delete job development-ckan-post-install
(the second command is only required in the event that the database initialization fails, otherwise the job will be cleaned on start-up)
- a Helm delete and Helm install pair require removal of PVCs in between, and any post-install job
- Harvest should not be included on first install
SELECT package.id, package.title FROM package join harvest_object ho on package.id=ho.package_id group by package.id having count(package.id) >1;