{"id":18962306,"url":"https://github.com/privatebin/helm-chart","last_synced_at":"2025-04-07T15:06:43.088Z","repository":{"id":38188926,"uuid":"189691957","full_name":"PrivateBin/helm-chart","owner":"PrivateBin","description":"helm chart for easily deploying PrivateBin to kubernetes","archived":false,"fork":false,"pushed_at":"2025-02-01T11:41:32.000Z","size":348,"stargazers_count":34,"open_issues_count":11,"forks_count":37,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T14:13:28.565Z","etag":null,"topics":["hacktoberfest","helm-chart","kubernetes","privatebin"],"latest_commit_sha":null,"homepage":"","language":"Mustache","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrivateBin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-01T04:55:39.000Z","updated_at":"2025-03-18T17:22:46.000Z","dependencies_parsed_at":"2023-02-09T21:30:45.186Z","dependency_job_id":"58b17873-7077-4abe-a5aa-a4f69a8ed4d4","html_url":"https://github.com/PrivateBin/helm-chart","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrivateBin%2Fhelm-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrivateBin%2Fhelm-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrivateBin%2Fhelm-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrivateBin%2Fhelm-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrivateBin","download_url":"https://codeload.github.com/PrivateBin/helm-chart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675597,"owners_count":20977376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","helm-chart","kubernetes","privatebin"],"created_at":"2024-11-08T14:15:54.634Z","updated_at":"2025-04-07T15:06:43.059Z","avatar_url":"https://github.com/PrivateBin.png","language":"Mustache","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrivateBin Helm Chart\n\nThis is a kubernetes chart to deploy [PrivateBin](https://github.com/PrivateBin/PrivateBin).\n\n## Quick Start\n\nTo install the privatebin chart with default options:\n\n```bash\nhelm repo add privatebin https://privatebin.github.io/helm-chart\nhelm repo update\nhelm install privatebin/privatebin\n```\n\n## Installation\n\n1. Customize your values.yaml for your needs. Add a [custom conf.php](https://github.com/PrivateBin/PrivateBin/blob/master/cfg/conf.sample.php) to change any default settings.\n\n1. Deploy with helm\n\n    ```bash\n    helm install \\\n      your-release \\\n      --values your-values.yaml \\\n      privatebin/privatebin\n    ```\n\n## Configuration\n\nSee values.yaml for full documentation\n\n|              Parameter       |                    Description                     |                     Default                      |\n| ---------------------------- | -------------------------------------------------- | ------------------------------------------------ |\n| `replicaCount`               | Number of replicas                                 | `1`                                              |\n| `image.repository`           | Container image name                               | `privatebin/nginx-fpm-alpine`                    |\n| `image.tag`                  | Container image tag                                | ``                                               |\n| `image.pullPolicy`           | Container image pull policy                        | `IfNotPresent`                                   |\n| `nameOverride`               | Name Override                                      | `\"\"`                                             |\n| `fullnameOverride`           | FullName Override                                  | `\"\"`                                             |\n| `datapath`                   | Datapath for persistent data                       | `/srv/data`                                      |\n| `controller.kind`            | Controller kind (StatefulSet, Deployment, Both)    | `Deployment`                                     |\n| `controller.pvc.accessModes` | Access Mode for PVC (only with StatefulSet)        | `ReadWriteOnce`                                  |\n| `controller.pvc.requests`    | Requests for PVC (only with StatefulSet)           | `1Gi`                                            |\n| `controller.pvc.storageClass`| StorageClass to use for PVC (only with StatefulSet)| `\"\"`                                             |\n| `controller.emptyDir`        | EmptyDir for storage (only for Deployment)         | `false`                                          |\n| `service.type`               | Service type (ClusterIP, NodePort or LoadBalancer) | `ClusterIP`                                      |\n| `service.port`               | Ports exposed by service                           | `80`                                             |\n| `service.portName`           | Name of exposed port, becomes LB protocol on ELB   | `http`                                           |\n| `service.annotations`        | Service annotations                                | `{}`                                             |\n| `ingress.enabled`            | Enables Ingress                                    | `false`                                          |\n| `ingress.annotations`        | Ingress annotations                                | `{}`                                             |\n| `ingress.hosts.host`         | Ingress accepted hostnames                         | `privatebin.local`                               |\n| `ingress.hosts.paths`        | Ingress paths                                      | `[]`                                             |\n| `ingress.hosts.paths.0.path` | Ingress path                                       | `/`                                              |\n| `ingress.hosts.paths.0.type` | Ingress path type                                  | `Prefix`                                         |\n| `ingress.tls`                | Ingress TLS configuration                          | `[]`                                             |\n| `resources`                  | Pod resource requests \u0026 limits                     | `{}`                                             |\n| `nodeSelector`               | Node selector                                      | `{}`                                             |\n| `tolerations`                | Tolerations                                        | `[]`                                             |\n| `affinity`                   | Affinity or Anti-Affinity                          | `{}`                                             |\n| `topologySpreadConstraints`  | Topology Spread Constraints                        | `[]`                                             |\n| `configs`                    | Optional Privatebin configuration file             | `{}`                                             |\n| `podAnnotations`             | Additional annotations to add to the pods          | `{}`                                             |\n| `additionalLabels`           | Additional labels to add to resources              | `{}`                                             |\n| `extraVolumes`               | Additional volumes to add to the pods              | `[]`                                             |\n| `extraVolumeMounts`          | Additional volume mounts to add to the pods        | `[]`                                             |\n\n\n## Upgrades\n\nStandard helm upgrade process applies.\n\nChart releases default to the latest [stable image](https://github.com/PrivateBin/docker-nginx-fpm-alpine/tags) for PrivateBin at the time. You can find the release notes at https://github.com/PrivateBin/PrivateBin/releases.\n\n## Running administrative scripts\n\nThe image includes two administrative scripts, which you can use to migrate from one storage backend to another, delete pastes by ID, removing empty directories when using the Filesystem backend, to purge all expired pastes and display statistics. These can be executed within the running image or by running the commands as alternative entrypoints with the same volumes attached as in the running service image, the former option is recommended.\n\n```console\n# assuming you named your install \"your-release\":\n\n$ POD_NAME=$(kubectl get pod -l \"app=your-release\" -o jsonpath='{.items[0].metadata.name}')\n$ kubectl exec \"${POD_NAME}\" -t -- administration --help\nUsage:\n  administration [--delete \u003cpaste id\u003e | --empty-dirs | --help | --purge | --statistics]\n\nOptions:\n  -d, --delete      deletes the requested paste ID\n  -e, --empty-dirs  removes empty directories (only if Filesystem storage is\n                    configured)\n  -h, --help        displays this help message\n  -p, --purge       purge all expired pastes\n  -s, --statistics  reads all stored pastes and comments and reports statistics\n\n$ kubectl exec \"${POD_NAME}\" -t -- migrate --help\nmigrate - Copy data between PrivateBin backends\n\nUsage:\n  migrate [--delete-after] [--delete-during] [-f] [-n] [-v] srcconfdir\n          [\u003cdstconfdir\u003e]\n  migrate [-h|--help]\n\nOptions:\n  --delete-after   delete data from source after all pastes and comments have\n                   successfully been copied to the destination\n  --delete-during  delete data from source after the current paste and its\n                   comments have successfully been copied to the destination\n  -f               forcefully overwrite data which already exists at the\n                   destination\n  -h, --help       displays this help message\n  -n               dry run, do not copy data\n  -v               be verbose\n  \u003csrcconfdir\u003e     use storage backend configuration from conf.php found in\n                   this directory as source\n  \u003cdstconfdir\u003e     optionally, use storage backend configuration from conf.php\n                   found in this directory as destination; defaults to:\n                   /srv/bin/../cfg/conf.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivatebin%2Fhelm-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprivatebin%2Fhelm-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprivatebin%2Fhelm-chart/lists"}