Skip to content

bbrewer-forge/helm-ckan

 
 

Repository files navigation

Helm Chart for CKAN

Plugin configuration

  1. Update build.sh to install the necessary plugins
  2. Build your custom ckan-core image, with docker build -t MYREPO/my-ckan-image:MYTAG and push it up
  3. Set the plugins in values.yaml, and correct the ckan-core image name to MYREPO/my-ckan-image:MYTAG
  4. If you have added not-yet-incorporated plugins, you may need to add appropriate settings to ./subcharts/ckan-core/templates/_productionIni.tpl and re-run helm dependencies update .

Deployment

  1. Copy the important components of the values.yaml file into a new development.yaml file outside the git tree
  2. 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)

About

Helm Chart for CKAN

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 95.1%
  • Shell 4.7%
  • Dockerfile 0.2%