Skip to content

Commit

Permalink
updated zammad docker images to 2.8.0-26 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
monotek authored Jan 24, 2019
1 parent df29ae1 commit 98375b0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 50 deletions.
2 changes: 1 addition & 1 deletion zammad/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: zammad
version: 0.1.8
version: 0.1.9
appVersion: 2.8.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
Expand Down
91 changes: 44 additions & 47 deletions zammad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@

This directory contains a Kubernetes chart to deploy [Zammad](https://zammad.org/) ticket system.


## Prerequisites Details

* Kubernetes 1.8+

- Kubernetes 1.8+

## Chart Details

This chart will do the following:

* Install Zammad deployment
* Install Elasticsearch, Memcached & PostgreSQL as requirements

- Install Zammad deployment
- Install Elasticsearch, Memcached & PostgreSQL as requirements

## Installing the Chart

Expand All @@ -25,59 +22,58 @@ $ helm repo add zammad https://zammad.github.io
$ helm upgrade --install zammad zammad/zammad --namespace zammad
```


## Configuration

The following table lists the configurable parameters of the zammad chart and their default values.

| Parameter | Description | Default |
|-----------------------------------|------------------------------------------|-------------------------------------|
| `useElasticsearch` | Use Elasticsearch dependency | `true` |
| `useMemcached` | Use Memcached dependency | `true` |
| `usePostgresql` | Use PostgreSQL dependency | `true` |
| `image.repository` | Container image to use | `zammad/zammad-docker-compose` |
| `image.tag` | Container image tag to deploy | `2.8.0-22` |
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `service.type` | Service type | `ClusterIP` |
| `service.port` | Service port | `80` |
| `ingress.enabled` | Enable Ingress | `false` |
| `ingress.annotations` | Additional ingress annotations | `` |
| `ingress.path` | Ingress path | `` |
| `ingress.hosts` | Ingress hosts | `` |
| `ingress.tls` | Ingress TLS | `[]` |
| `env` | Environment variables | `See values.yaml` |
| `persistence.enabled` | Enable persistence | `true` |
| `persistence.accessMode` | Access mode | `ReadWriteOnce` |
| `persistence.size` | Volume size | `15Gi` |
| `resources.nginx` | Resource usage of Zammad's nginx container | `{}` |
| `resources.railsserver` | Resource usage of Zammad's railsserver container | `{}` |
| `resources.scheduler` | Resource usage of Zammad's scheduler container | `{}` |
| `resources.websocket` | Resource usage of Zammad's websocket container | `{}` |
| `nodeSelector` | Node Selector | `{}` |
| `tolerations` | Tolerations | `[]` |
| `affinity` | Affinity | `{}` |
| `elasticsearch.image.repository` | Elasticsearch image repo | `zammad/zammad-docker-compose` |
| `elasticsearch.image.tag` | Elasticsearch image tag | `zammad-elasticsearch-2.8.0-22` |
| `elasticsearch.cluster.xpackEnable` | Enable Elasticsearch Xpack option | `false` |
| `elasticsearch.cluster.env` | Elasticsearch environment variables | `` |
| `elasticsearch.client.replicas` | Elasticsearch client replicas | `1` |
| `elasticsearch.data.terminationGracePeriodSeconds` | Elasticsearch termination Grace Period | `60` |
| `elasticsearch.data.replicas` | Elasticsearch data replicas | `1` |
| `elasticsearch.master.replicas` | Elasticsearch master replicas | `1` |
| `memcached.replicaCount` | Memcached replicas | `1` |
| `postgresql.postgresqlUsername` | PostgreSQL user | `zammad` |
| `postgresql.postgresqlPassword` | PostgreSQL password | `zammad` |
| `postgresql.postgresqlDatabase` | PostgreSQL DB | `zammad_production` |

| Parameter | Description | Default |
| -------------------------------------------------- | ------------------------------------------------ | ------------------------------- |
| `useElasticsearch` | Use Elasticsearch dependency | `true` |
| `useMemcached` | Use Memcached dependency | `true` |
| `usePostgresql` | Use PostgreSQL dependency | `true` |
| `image.repository` | Container image to use | `zammad/zammad-docker-compose` |
| `image.tag` | Container image tag to deploy | `2.8.0-26` |
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `service.type` | Service type | `ClusterIP` |
| `service.port` | Service port | `80` |
| `ingress.enabled` | Enable Ingress | `false` |
| `ingress.annotations` | Additional ingress annotations | `` |
| `ingress.path` | Ingress path | `` |
| `ingress.hosts` | Ingress hosts | `` |
| `ingress.tls` | Ingress TLS | `[]` |
| `env` | Environment variables | `See values.yaml` |
| `persistence.enabled` | Enable persistence | `true` |
| `persistence.accessMode` | Access mode | `ReadWriteOnce` |
| `persistence.size` | Volume size | `15Gi` |
| `resources.nginx` | Resource usage of Zammad's nginx container | `{}` |
| `resources.railsserver` | Resource usage of Zammad's railsserver container | `{}` |
| `resources.scheduler` | Resource usage of Zammad's scheduler container | `{}` |
| `resources.websocket` | Resource usage of Zammad's websocket container | `{}` |
| `nodeSelector` | Node Selector | `{}` |
| `tolerations` | Tolerations | `[]` |
| `affinity` | Affinity | `{}` |
| `elasticsearch.image.repository` | Elasticsearch image repo | `zammad/zammad-docker-compose` |
| `elasticsearch.image.tag` | Elasticsearch image tag | `zammad-elasticsearch-2.8.0-26` |
| `elasticsearch.cluster.xpackEnable` | Enable Elasticsearch Xpack option | `false` |
| `elasticsearch.cluster.env` | Elasticsearch environment variables | `` |
| `elasticsearch.client.replicas` | Elasticsearch client replicas | `1` |
| `elasticsearch.data.terminationGracePeriodSeconds` | Elasticsearch termination Grace Period | `60` |
| `elasticsearch.data.replicas` | Elasticsearch data replicas | `1` |
| `elasticsearch.master.replicas` | Elasticsearch master replicas | `1` |
| `memcached.replicaCount` | Memcached replicas | `1` |
| `postgresql.postgresqlUsername` | PostgreSQL user | `zammad` |
| `postgresql.postgresqlPassword` | PostgreSQL password | `zammad` |
| `postgresql.postgresqlDatabase` | PostgreSQL DB | `zammad_production` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

### Properly configuring Elasticsearch

The default **elasticsearch.yml** set by the Elasticsearch chart expects 2 masters. If using just 1 master replica, there are 3 environment variables which should be set equally to avoid issues starting Elasticsearch.

Set the following environment variables under **elasticsearch.cluster.env**. The Zammad StatefulSet will most likely fail without setting these correctly.

Refer to the Elasticsearch documentation for info on these variables. [[1](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-gateway.html)] [[2](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-node.html#split-brain)]
Refer to the Elasticsearch documentation for info on these variables. \[[1](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-gateway.html)] \[[2](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-node.html#split-brain)]

```yaml
elasticsearch:
Expand All @@ -91,6 +87,7 @@ elasticsearch:
```
### Important note for NFS filesystems
For persistent volumes, NFS filesystems should work correctly for **Elasticsearch** and **PostgreSQL**; however, errors will occur if Zammad itself uses an NFS-based persistent volume. Websockets will break completely. This is particularly bad news for receiving notifications from the application and using the Chat module.
Don't use an NFS-based storage class for Zammad's persistent volume.
Expand Down
4 changes: 2 additions & 2 deletions zammad/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ usePostgresql: true

image:
repository: zammad/zammad-docker-compose
tag: 2.8.0-22
tag: 2.8.0-26
pullPolicy: IfNotPresent

service:
Expand Down Expand Up @@ -104,7 +104,7 @@ affinity: {}
elasticsearch:
image:
repository: "zammad/zammad-docker-compose"
tag: "zammad-elasticsearch-2.8.0-22"
tag: "zammad-elasticsearch-2.8.0-26"
cluster:
xpackEnable: false
# See README for proper configuration
Expand Down

0 comments on commit 98375b0

Please sign in to comment.