Skip to content

Closes: #399 - Migrate away from bitnami/elasticsearch#445

Draft
mgruner wants to merge 6 commits into
mainfrom
migrate-es-bitnami-to-eck-operator
Draft

Closes: #399 - Migrate away from bitnami/elasticsearch#445
mgruner wants to merge 6 commits into
mainfrom
migrate-es-bitnami-to-eck-operator

Conversation

@mgruner

@mgruner mgruner commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Which issue this PR fixes

Special notes for your reviewer

  • Breaking change. Introduces dependency on eck-operator.

Checklist

  • Chart Version bumped
  • Upgrading instructions are documented in the zammad/README.md

@mgruner mgruner marked this pull request as draft June 29, 2026 12:27
@mgruner mgruner requested a review from monotek June 29, 2026 12:52
@mgruner

mgruner commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator Author

@monotek this is mostly a suggestion from Claude. Could you have a first look to see if this goes in the right direction? I need to do some manual testing.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates the Zammad Helm chart’s bundled Elasticsearch deployment from the Bitnami subchart to Elastic’s official ECK-based eck-elasticsearch chart, updating chart wiring, documentation, and CI to reflect the new operator-managed setup.

Changes:

  • Replaced the bitnami/elasticsearch dependency with elastic/eck-elasticsearch (breaking change; requires ECK operator + CRDs).
  • Updated Helm templates/helpers to derive Elasticsearch host/user/secret references for the ECK-managed service/credentials.
  • Updated README upgrade notes and CI validation to install the operator and validate CRD-backed manifests.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
zammad/values.yaml Replaced Bitnami Elasticsearch values with ECK Elasticsearch CR values and updated Elasticsearch config defaults/comments.
zammad/templates/job-init.yaml Adjusted init job to source Elasticsearch password via helper-based secret key selection.
zammad/templates/configmap-init.yaml Switched Elasticsearch URL/user composition to helper-based host/user resolution.
zammad/templates/_helpers.tpl Added helpers for ECK host/user/secret name/key resolution used across templates.
zammad/README.md Documented new ECK operator prerequisite and added upgrade notes for 16.x → 17.0.0.
zammad/ci/full-values.yaml Removed now-irrelevant “existingSecret” config for bundled Elasticsearch in CI values.
zammad/Chart.yaml Swapped chart dependency to eck-elasticsearch (aliased as elasticsearch) and bumped chart version to 17.0.0.
.github/workflows/ci.yaml Installs ECK operator in CI before rendering/testing the chart.
.github/kubeconform.sh Added CRD schema location to allow kubeconform validation of CRD-based kinds (ECK resources).
.github/ct.yaml Added Elastic chart repo for chart-testing.
.editorconfig Added shell indentation rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread zammad/templates/_helpers.tpl
Comment thread zammad/templates/_helpers.tpl
Comment thread zammad/templates/_helpers.tpl
Comment on lines +134 to +136
{{- if .Values.zammadConfig.elasticsearch.enabled -}}
{{ .Release.Name }}-elasticsearch-es-elastic-user
{{- else if .Values.secrets.elasticsearch.useExisting -}}
Comment thread zammad/values.yaml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/ci.yaml
Comment thread .github/kubeconform.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate away from bitnami/elasticsearch

2 participants