Skip to content

Commit

Permalink
redpanda: fix typo in connectors integration
Browse files Browse the repository at this point in the history
In commit 5d44bb5, a typo was accidentally
introduced that broke the connectors integration of the redpanda chart. This
issue went unnoticed until discovered by an end user due to a lack of any test
case that specified `connectors.enabled=true`.

This commit corrects the typo and adds a minimal regression test. A manual
check was also performed to ensure that the behavior of
`connectors.enabled=true` is the same prior to
`5d44bb5a3866608c435ce57ffbcc172dd91ec74c`

Fixes #1321
  • Loading branch information
chrisseto authored and RafalKorepta committed May 24, 2024
1 parent 2878f4c commit fdc7602
Show file tree
Hide file tree
Showing 79 changed files with 3,116 additions and 1,490 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.8.6
version: 5.8.7

# 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
2 changes: 1 addition & 1 deletion charts/redpanda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
description: Find the default values and descriptions of settings in the Redpanda Helm chart.
---

![Version: 5.8.6](https://img.shields.io/badge/Version-5.8.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v24.1.1](https://img.shields.io/badge/AppVersion-v24.1.1-informational?style=flat-square)
![Version: 5.8.7](https://img.shields.io/badge/Version-5.8.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v24.1.1](https://img.shields.io/badge/AppVersion-v24.1.1-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.

Expand Down
4 changes: 4 additions & 0 deletions charts/redpanda/ci/35-connectors-novalues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
connectors:
enabled: true
deployment:
create: true
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ limitations under the License.

{{ $connectConfig := dict }}
{{ if .Values.connectors.enabled }}
{{ $connectorsValues = merge (dict) $.Subcharts.connector .Values.connectors }}
{{ $connectorsValues := merge (dict) $.Subcharts.connectors .Values.connectors }}
{{/* Connector */}}
{{/* Currently Kafka connect helm chart does not support TLS configuraiton. That's why tls enabled is set explicitly to false*/}}
{{/* Currently Kafka connect helm chart does not support basic auth. That's why username and password is set explicitly to empty string*/}}
Expand Down
40 changes: 20 additions & 20 deletions charts/redpanda/testdata/ci/01-default-values.yaml.golden
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
maxUnavailable: 1
selector:
Expand Down Expand Up @@ -44,7 +44,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
type: Opaque
stringData:
common.sh: |-
Expand Down Expand Up @@ -138,7 +138,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
type: Opaque
stringData:
sasl-user.sh: |-
Expand Down Expand Up @@ -175,7 +175,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
type: Opaque
stringData:
configurator.sh: |-
Expand Down Expand Up @@ -234,7 +234,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
data:

bootstrap.yaml: |
Expand Down Expand Up @@ -451,7 +451,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
data:
profile: |
name: default
Expand Down Expand Up @@ -543,7 +543,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
type: ClusterIP
publishNotReadyAddresses: true
Expand Down Expand Up @@ -585,7 +585,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
name: redpanda-external
namespace: default
spec:
Expand Down Expand Up @@ -748,7 +748,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
selector:
matchLabels:
Expand All @@ -767,7 +767,7 @@ spec:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
redpanda.com/poddisruptionbudget: redpanda
annotations:
config.redpanda.com/checksum: bdc12c59ed4146a58b5b4bfca4bdd4495b1b9e19e49457cce50c827e3d8977ea
Expand Down Expand Up @@ -1066,7 +1066,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
duration: 43800h
isCA: true
Expand All @@ -1092,7 +1092,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
duration: 43800h
isCA: true
Expand All @@ -1116,7 +1116,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
name: redpanda-default-cert
namespace: default
spec:
Expand Down Expand Up @@ -1155,7 +1155,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
name: redpanda-external-cert
namespace: default
spec:
Expand Down Expand Up @@ -1196,7 +1196,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
selfSigned: {}
---
Expand All @@ -1212,7 +1212,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
ca:
secretName: redpanda-default-root-certificate
Expand All @@ -1229,7 +1229,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
selfSigned: {}
---
Expand All @@ -1245,7 +1245,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
spec:
ca:
secretName: redpanda-external-root-certificate
Expand Down Expand Up @@ -1284,7 +1284,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
annotations:
# This is what defines this resource as a hook. Without this line, the
# job is considered part of the release.
Expand Down Expand Up @@ -1369,7 +1369,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
annotations:
"helm.sh/hook": post-upgrade
"helm.sh/hook-delete-policy": before-hook-creation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
spec:
maxUnavailable: 1
Expand Down Expand Up @@ -45,7 +45,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
type: Opaque
stringData:
Expand Down Expand Up @@ -141,7 +141,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
type: Opaque
stringData:
Expand Down Expand Up @@ -179,7 +179,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
type: Opaque
stringData:
Expand Down Expand Up @@ -227,7 +227,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
data:

Expand Down Expand Up @@ -361,7 +361,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
data:
profile: |
Expand Down Expand Up @@ -444,7 +444,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
spec:
type: ClusterIP
Expand Down Expand Up @@ -487,7 +487,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
name: redpanda-external
namespace: default
Expand Down Expand Up @@ -613,7 +613,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
spec:
selector:
Expand All @@ -633,7 +633,7 @@ spec:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
redpanda.com/poddisruptionbudget: redpanda
testlabel: exercise_common_labels_template
annotations:
Expand Down Expand Up @@ -932,7 +932,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
annotations:
# This is what defines this resource as a hook. Without this line, the
Expand Down Expand Up @@ -1007,7 +1007,7 @@ metadata:
app.kubernetes.io/instance: redpanda
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: redpanda
helm.sh/chart: redpanda-5.8.6
helm.sh/chart: redpanda-5.8.7
testlabel: exercise_common_labels_template
annotations:
"helm.sh/hook": post-upgrade
Expand Down
Loading

0 comments on commit fdc7602

Please sign in to comment.