Skip to content

Commit

Permalink
fix: use backoffLimit, since activedeadlineseconds can interrupt a mi… (
Browse files Browse the repository at this point in the history
#6)

* fix: use backoffLimit, since activedeadlineseconds can interrupt a migration

* doc: use helm.papercups.io
  • Loading branch information
jim80net authored Mar 28, 2021
1 parent 3ba3536 commit ffa0d12
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/papercups/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart to deploy the papercups chat server to Kubernetes
type: application

# This is the chart version.
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed.
appVersion: "latest"
Expand Down
8 changes: 4 additions & 4 deletions charts/papercups/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Papercups Helm Chart

![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

This chart was designed to deploy [papercups](https://papercups.io) to your Kubernetes cluster.

## Deploying Papercups

### Install the Helm repository

```
$ helm repo add papercups-io https://papercups-io.github.io/charts/
$ helm install papercups papercups-io/papercups \
```bash
$ helm repo add papercups https://helm.papercups.io/
$ helm install papercups papercups/papercups \
--set secrets.SECRET_KEY_BASE=dvPPvOjpgX2Wk8Y3ONrqWsgM9ZtU4sSrs4l/5CFD1sLm4H+CjLU+EidjNGuSz7bz \
--set secrets.DATABASE_URL="ecto://papercups:[email protected]/papercups"
```
Expand Down
6 changes: 3 additions & 3 deletions charts/papercups/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ This chart was designed to deploy [papercups](https://papercups.io) to your Kube

### Install the Helm repository

```
$ helm repo add papercups-io https://papercups-io.github.io/charts/
$ helm install papercups papercups-io/papercups \
```bash
$ helm repo add papercups https://helm.papercups.io/
$ helm install papercups papercups/papercups \
--set secrets.SECRET_KEY_BASE=dvPPvOjpgX2Wk8Y3ONrqWsgM9ZtU4sSrs4l/5CFD1sLm4H+CjLU+EidjNGuSz7bz \
--set secrets.DATABASE_URL="ecto://papercups:[email protected]/papercups"
```
Expand Down
2 changes: 1 addition & 1 deletion charts/papercups/templates/initialize_database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
annotations:
"helm.sh/hook-delete-policy": "hook-succeeded"
spec:
activeDeadlineSeconds: 60
backoffLimit: 6
template:
metadata:
name: {{ template "papercups.fullname" . }}-initialize-database
Expand Down
2 changes: 1 addition & 1 deletion charts/papercups/templates/migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
annotations:
"helm.sh/hook-delete-policy": "hook-succeeded"
spec:
activeDeadlineSeconds: 60
backoffLimit: 6
template:
metadata:
name: {{ template "papercups.fullname" . }}-migration
Expand Down

0 comments on commit ffa0d12

Please sign in to comment.