Skip to content

Commit

Permalink
allow pod annotations to be specified (#59)
Browse files Browse the repository at this point in the history
This allows pod annotations to be specified for the Pods created by the
StatefulSet.
This can be used to, e.g., Velero backups of the persistent volume.
Raise image tag to 3.5.0

Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt authored Sep 23, 2020
1 parent 7945c5c commit 19e71af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: zammad
version: 2.4.0
appVersion: 3.4.0
version: 2.5.0
appVersion: 3.5.0
description: Zammad is a web based open source helpdesk/customer support system with many features to manage customer communication via several channels like telephone, facebook, twitter, chat and e-mails.
home: https://zammad.org
icon: https://raw.githubusercontent.com/zammad/zammad-documentation/master/images/zammad_logo_600x520.png
Expand Down
1 change: 1 addition & 0 deletions zammad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ The following table lists the configurable parameters of the zammad chart and th
| `envConfig.zammad.websocket.livenessProbe` | Liveness probe on websocket | `true` |
| `autoWizard.enabled` | enable autowizard | `false` |
| `autoWizard.config` | autowizard json config | `""` |
| `podAnnotations` | Annotations for Pods | `{}` |
| `persistence.enabled` | Enable persistence | `true` |
| `persistence.accessModes` | Access modes | `["ReadWriteOnce"]` |
| `persistence.size` | Volume size | `15Gi` |
Expand Down
4 changes: 4 additions & 0 deletions zammad/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ spec:
{{- include "zammad.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "zammad.labels" . | nindent 8 }}
spec:
Expand Down
7 changes: 5 additions & 2 deletions zammad/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: zammad/zammad-docker-compose
tag: 3.4.0-18
tag: 3.5.0
pullPolicy: IfNotPresent
imagePullSecrets: []
# - name: "image-pull-secret"
Expand Down Expand Up @@ -99,6 +99,9 @@ autoWizard:
# ]
# }

podAnnotations: {}
# my-annotation: "value"

persistence:
enabled: true
## A manually managed Persistent Volume and Claim
Expand Down Expand Up @@ -156,7 +159,7 @@ affinity: {}
elasticsearch:
enabled: true
image: "zammad/zammad-docker-compose"
imageTag: "zammad-elasticsearch-3.4.0-18"
imageTag: "zammad-elasticsearch-3.5.0"
clusterName: zammad
replicas: 1
# Workaround to get helm test to work in GitHub action CI
Expand Down

0 comments on commit 19e71af

Please sign in to comment.