Skip to content

Commit

Permalink
fix es auth (zammad#64)
Browse files Browse the repository at this point in the history
Signed-off-by: André Bauer <[email protected]>
  • Loading branch information
monotek authored Oct 6, 2020
1 parent 7a29179 commit 89d17e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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: 2.6.1
version: 2.6.2
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
Expand Down
4 changes: 2 additions & 2 deletions zammad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following table lists the configurable parameters of the zammad chart and th
| Parameter | Description | Default |
| -------------------------------------------------- | ------------------------------------------------ | ------------------------------- |
| `image.repository` | Container image to use | `zammad/zammad-docker-compose` |
| `image.tag` | Container image tag to deploy | `3.5.0-2` |
| `image.tag` | Container image tag to deploy | `3.5.0-5` |
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `image.imagePullSecrets` | An array of imagePullSecrets | `[]` |
| `service.type` | Service type | `ClusterIP` |
Expand Down Expand Up @@ -77,7 +77,7 @@ The following table lists the configurable parameters of the zammad chart and th
| `affinity` | Affinity | `{}` |
| `elasticsearch.enabled` | Use Elasticsearch dependency | `true` |
| `elasticsearch.image` | Elasticsearch docker image | `zammad/zammad-docker-compose` |
| `elasticsearch.imageTag` | Elasticsearch docker image tag | `zammad-elasticsearch-3.5.0-2` |
| `elasticsearch.imageTag` | Elasticsearch docker image tag | `zammad-elasticsearch-3.5.0-5` |
| `elasticsearch.clusterName` | Elasticsearch cluster name | `zammad` |
| `elasticsearch.replicas` | Elasticsearch replicas | `1` |
| `elasticsearch.clusterHealthCheckParams` | Workaround to get ES test work in GitHubCI | `"timeout=1s"` |
Expand Down
2 changes: 1 addition & 1 deletion zammad/templates/configmap-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
#!/bin/bash
set -e
bundle exec rails r 'Setting.set("es_url", "{{ .Values.envConfig.elasticsearch.schema }}://{{ if .Values.elasticsearch.enabled }}zammad-master{{ else }}{{ .Values.envConfig.elasticsearch.host }}{{ end }}:{{ .Values.envConfig.elasticsearch.port }}")'
{{- if and .Values.elasticsearch.user .Values.elasticsearch.pass }}
{{- if and .Values.envConfig.elasticsearch.user .Values.envConfig.elasticsearch.pass }}
bundle exec rails r 'Setting.set("es_user", "{{ .Values.envConfig.elasticsearch.user }}")'
bundle exec rails r 'Setting.set("es_password", "{{ .Values.envConfig.elasticsearch.pass }}")'
{{ end }}
Expand Down
4 changes: 2 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.5.0-2
tag: 3.5.0-5
pullPolicy: IfNotPresent
imagePullSecrets: []
# - name: "image-pull-secret"
Expand Down Expand Up @@ -160,7 +160,7 @@ affinity: {}
elasticsearch:
enabled: true
image: "zammad/zammad-docker-compose"
imageTag: "zammad-elasticsearch-3.5.0-2"
imageTag: "zammad-elasticsearch-3.5.0-5"
clusterName: zammad
replicas: 1
# Workaround to get helm test to work in GitHub action CI
Expand Down

0 comments on commit 89d17e3

Please sign in to comment.