From 98375b041fd04e16a152eb40737dd25feeb98f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Thu, 24 Jan 2019 14:56:28 +0100 Subject: [PATCH] updated zammad docker images to 2.8.0-26 (#13) --- zammad/Chart.yaml | 2 +- zammad/README.md | 91 ++++++++++++++++++++++------------------------ zammad/values.yaml | 4 +- 3 files changed, 47 insertions(+), 50 deletions(-) diff --git a/zammad/Chart.yaml b/zammad/Chart.yaml index bc3f877a..465011ae 100644 --- a/zammad/Chart.yaml +++ b/zammad/Chart.yaml @@ -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 diff --git a/zammad/README.md b/zammad/README.md index 7f6f3489..549e07dc 100644 --- a/zammad/README.md +++ b/zammad/README.md @@ -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 @@ -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: @@ -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. diff --git a/zammad/values.yaml b/zammad/values.yaml index 1df1f21d..6a962644 100644 --- a/zammad/values.yaml +++ b/zammad/values.yaml @@ -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: @@ -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