{ "info": { "author": "Viderum", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# CKAN Cloud Operator\n\nCKAN Cloud operator manages, provisions and configures Ckan Cloud instances and related infrastructure.\n\n## Install\n\nCreate secret `ckan-infra` under namespace `ckan-cloud` with the following values:\n\n* GCLOUD_SQL_INSTANCE_NAME\n* GCLOUD_SQL_PROJECT\n* POSTGRES_HOST\n* POSTGRES_USER\n* POSTGRES_PASSWORD\n* SOLR_HTTP_ENDPOINT\n* SOLR_NUM_SHARDS\n* SOLR_REPLICATION_FACTOR\n* DOCKER_REGISTRY_SERVER\n* DOCKER_REGISTRY_USERNAME\n* DOCKER_REGISTRY_PASSWORD\n* DOCKER_REGISTRY_EMAIL\n\n## Run using Docker\n\nYou will need the following details:\n\n* Path to .kube-config file with permissions to the relevant Kubernetes cluster\n* Path to Google Compute Cloud service account json with required permissions\n* The Google service account email associated with the service account json\n* The Google Project ID associated with the infrastructure and GKE cluster\n\nRun ckan-cloud-operator without arguments to get a help message:\n\n```\ndocker run \\\n -v /path/to/.kube-config:/etc/ckan-cloud/.kube-config \\\n -v /path/to/glcoud-service-account.json:/etc/ckan-cloud/gcloud-service-account.json \\\n -e GCLOUD_SERVICE_ACCOUNT_EMAIL= \\\n -e GCLOUD_AUTH_PROJECT= \\\n -it viderum/ckan-cloud-operator\n```\n\n## Run locally\n\nEnsure you have `kubectl` and `gcloud` binaries, authenticated to the relevant gcloud account / kubernetes cluster.\n\nSee the required system dependencies: [environment.yaml](environment.yaml)\n\nYou can [Install miniconda3](https://conda.io/miniconda.html), then create the environment using: `conda env create -f environment.yaml`\n\nActivate the conda environment using `conda activate ckan-cloud-operator`\n\nRun ckan-cloud-operator without arguments to get a help message:\n\n```\nckan-cloud-operator\n```\n\n## Install custom resource definitions\n\nKubernetes custom resource definitions are used for management of the CKAN Cloud resources\n\nRun the following command to ensure the crds are installed on the cluster\n\n```\nckan-cloud-operator install-crds\n```", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ViderumGlobal/ckan-cloud-operator", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ckan-cloud-operator", "package_url": "https://pypi.org/project/ckan-cloud-operator/", "platform": "", "project_url": "https://pypi.org/project/ckan-cloud-operator/", "project_urls": { "Homepage": "https://github.com/ViderumGlobal/ckan-cloud-operator" }, "release_url": "https://pypi.org/project/ckan-cloud-operator/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "CKAN Cloud Kubernetes operator", "version": "0.0.2" }, "last_serial": 5702035, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a4d46fddd4145b9f1c9ba77d22f7af7a", "sha256": "de770b1b453f0c0c874476e21bf25152c43bde2d47055f2791e7bd4a8884dae0" }, "downloads": -1, "filename": "ckan_cloud_operator-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a4d46fddd4145b9f1c9ba77d22f7af7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8288, "upload_time": "2019-01-01T15:27:16", "url": "https://files.pythonhosted.org/packages/bc/2a/80370ba2b5860081524697fba8f64c455e617605a8ec3df4e7508df28cdb/ckan_cloud_operator-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ce071934fd275378fcc1408b541ef502", "sha256": "2791cbff30b205647a0cbda98864b786a1e5247a1f01f63fee64162e0b2d8abc" }, "downloads": -1, "filename": "ckan_cloud_operator-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ce071934fd275378fcc1408b541ef502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9499, "upload_time": "2019-01-01T16:52:01", "url": "https://files.pythonhosted.org/packages/85/d2/8d7e0191d5bc31c9fb062418118ba73b7db38201d65249874a37c52b0a40/ckan_cloud_operator-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ce071934fd275378fcc1408b541ef502", "sha256": "2791cbff30b205647a0cbda98864b786a1e5247a1f01f63fee64162e0b2d8abc" }, "downloads": -1, "filename": "ckan_cloud_operator-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ce071934fd275378fcc1408b541ef502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9499, "upload_time": "2019-01-01T16:52:01", "url": "https://files.pythonhosted.org/packages/85/d2/8d7e0191d5bc31c9fb062418118ba73b7db38201d65249874a37c52b0a40/ckan_cloud_operator-0.0.2.tar.gz" } ] }