Skip to content

Commit

Permalink
Do not call rpk cluster import twice
Browse files Browse the repository at this point in the history
If cluster has sasl enabled that is realised by external Kubernetes secret the
post-upgrade job (`-post-upgrade` name suffix) can clean configuration like
superuser list. As the post-install and post-upgrade (`-configuration` name
suffix) job is doing correct configuration drift correction this change will
remove rpk cluster import call from post-upgrade job.
  • Loading branch information
RafalKorepta committed Mar 3, 2024
1 parent b918d99 commit 5809e65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/redpanda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type: application
# The chart version and the app version are not the same and will not track
# together. The chart version is a semver representation of changes to this
# chart.
version: 5.7.32
version: 5.7.33

# The app version is the default version of Redpanda to install.
# ** NOTE for maintainers: please ensure the artifacthub image annotation is updated before merging
Expand Down
4 changes: 2 additions & 2 deletions charts/redpanda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
description: Find the default values and descriptions of settings in the Redpanda Helm chart.
---

![Version: 5.7.32](https://img.shields.io/badge/Version-5.7.32-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v23.3.6](https://img.shields.io/badge/AppVersion-v23.3.6-informational?style=flat-square)
![Version: 5.7.33](https://img.shields.io/badge/Version-5.7.33-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v23.3.6](https://img.shields.io/badge/AppVersion-v23.3.6-informational?style=flat-square)

This page describes the official Redpanda Helm Chart. In particular, this page describes the contents of the chart’s [`values.yaml` file](https://github.com/redpanda-data/helm-charts/blob/main/charts/redpanda/values.yaml). Each of the settings is listed and described on this page, along with any default values.

For instructions on how to install and use the chart, including how to override and customize the chart’s values, refer to the [deployment documentation](https://docs.redpanda.com/docs/deploy/deployment-option/self-hosted/kubernetes/kubernetes-deploy/).

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.2](https://github.com/norwoodj/helm-docs/releases/v1.11.2)
Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3)

## Source Code

Expand Down
1 change: 0 additions & 1 deletion charts/redpanda/templates/post-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ spec:
args:
- |
set -e
rpk cluster config import -f /etc/redpanda/bootstrap.yaml
{{- range $key, $value := .Values.config.cluster }}
{{- if eq $key "default_topic_replications" }}
{{/* "sub (add $i (mod $i 2)) 1" calculates the closest odd number less than or equal to $i: 1=1, 2=1, 3=3, ... */}}
Expand Down

0 comments on commit 5809e65

Please sign in to comment.