Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/redpanda-console/config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export USE_OPENSOURCE_CHART=false
export REPO_URL=https://charts.redpanda.com
export REPO_NAME=redpanda-data
export CHART_NAME=console
export VERSION=3.2.0
export VERSION=3.3.0

# pr, issue, none
export UPGRADE_METHOD=pr
Expand Down
2 changes: 1 addition & 1 deletion charts/redpanda-console/redpanda-console/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ type: application
version: 3.2.0
dependencies:
- name: console
version: "3.2.0"
version: "3.3.0"

Choose a reason for hiding this comment

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

high

While the dependency version is correctly updated, the parent chart's metadata is inconsistent. This can cause versioning issues.

  • The chart version on line 24 should be 3.3.0, not 3.2.0.
  • The appVersion (line 12) should be v3.3.2, not v3.2.2.
  • The artifacthub.io/images annotation (line 4) should point to v3.3.2, not v3.2.2.
    Please update these for consistency with the dependency upgrade.

repository: "https://charts.redpanda.com"
2 changes: 1 addition & 1 deletion charts/redpanda-console/redpanda-console/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 Console Helm chart.
---

![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.2](https://img.shields.io/badge/AppVersion-v3.2.2-informational?style=flat-square)
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.3.2](https://img.shields.io/badge/AppVersion-v3.3.2-informational?style=flat-square)

Choose a reason for hiding this comment

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

medium

The version badges here are updated to 3.3.0 and v3.3.2, but this is inconsistent with the parent Chart.yaml which still has older versions (3.2.0 and v3.2.2). Please ensure the Chart.yaml is fully updated to match.


This page describes the official Redpanda Console 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/console/values.yaml).
Each of the settings is listed and described on this page, along with any default values.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
annotations:
artifacthub.io/images: |
- name: console
image: docker.redpanda.com/redpandadata/console:v3.2.2
image: docker.redpanda.com/redpandadata/console:v3.3.2
artifacthub.io/license: Apache-2.0
artifacthub.io/links: |
- name: Documentation
url: https://docs.redpanda.com
- name: "Helm (>= 3.6.0)"
url: https://helm.sh/docs/intro/install/
apiVersion: v2
appVersion: v3.2.2
appVersion: v3.3.2
description: Helm chart to deploy Redpanda Console.
icon: https://go.redpanda.com/hubfs/Redpandas/skate-stand-panda.svg
kubeVersion: '>= 1.25.0-0'
Expand All @@ -20,4 +20,4 @@ name: console
sources:
- https://github.com/redpanda-data/redpanda-operator/tree/main/charts/console
type: application
version: 3.2.0
version: 3.3.0
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 Console Helm chart.
---

![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.2](https://img.shields.io/badge/AppVersion-v3.2.2-informational?style=flat-square)
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.3.2](https://img.shields.io/badge/AppVersion-v3.3.2-informational?style=flat-square)

This page describes the official Redpanda Console 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/console/values.yaml).
Each of the settings is listed and described on this page, along with any default values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
{{- end -}}
{{- if (ne (toJson $kafka.sasl) "null") -}}
{{- $_ := (set $cfg "sasl" (mustMergeOverwrite (dict) (dict "enabled" true "username" $kafka.sasl.username "mechanism" (toString $kafka.sasl.mechanism)))) -}}
{{- if (ne (toJson $kafka.sasl.passwordSecretRef) "null") -}}
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "KAFKA_SASL_PASSWORD" $kafka.sasl.passwordSecretRef)))) "r") -}}
{{- end -}}
{{- end -}}
{{- $_is_returning = true -}}
{{- (dict "r" $cfg) | toJson -}}
{{- break -}}
Expand All @@ -104,7 +106,7 @@
{{- end -}}
{{- if (ne (toJson $schema.sasl) "null") -}}
{{- $_ := (set $cfg "authentication" (mustMergeOverwrite (dict) (dict "basic" (mustMergeOverwrite (dict) (dict "username" $schema.sasl.username))))) -}}
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD" $schema.sasl.passwordSecretRef)))) "r") -}}
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD" $schema.sasl.password)))) "r") -}}
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BEARERTOKEN" $schema.sasl.token)))) "r") -}}
{{- end -}}
{{- $_is_returning = true -}}
Expand All @@ -127,15 +129,15 @@
{{- if $tls.insecureSkipTlsVerify -}}
{{- $_ := (set $out "insecureSkipTlsVerify" $tls.insecureSkipTlsVerify) -}}
{{- end -}}
{{- $ca_7 := (get (fromJson (include "console.volumes.MaybeAdd" (dict "a" (list $m.Volumes $tls.caCertSecretRef)))) "r") -}}
{{- $ca_7 := (get (fromJson (include "console.volumes.MaybeAdd" (dict "a" (list $m.Volumes $tls.caCert)))) "r") -}}
{{- if (ne (toJson $ca_7) "null") -}}
{{- $_ := (set $out "caFilepath" $ca_7) -}}
{{- end -}}
{{- $cert_8 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.certSecretRef)))) "r") -}}
{{- $cert_8 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.cert)))) "r") -}}
{{- if (ne (toJson $cert_8) "null") -}}
{{- $_ := (set $out "certFilepath" $cert_8) -}}
{{- end -}}
{{- $key_9 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.keySecretRef)))) "r") -}}
{{- $key_9 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.key)))) "r") -}}
{{- if (ne (toJson $key_9) "null") -}}
{{- $_ := (set $out "keyFilepath" $key_9) -}}
{{- end -}}
Expand All @@ -148,9 +150,15 @@
{{- define "console.configMapper.addEnv" -}}
{{- $m := (index .a 0) -}}
{{- $name := (index .a 1) -}}
{{- $ref := (index .a 2) -}}
{{- $secretRef := (index .a 2) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- if (or (eq (toJson $secretRef) "null") (eq (toJson $secretRef.secretKeyRef) "null")) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (list)) | toJson -}}
{{- break -}}
{{- end -}}
{{- $ref := $secretRef.secretKeyRef -}}
{{- if (or (eq $ref.key "") (eq $ref.name "")) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (list)) | toJson -}}
Expand Down Expand Up @@ -179,7 +187,7 @@
{{- $skr_11 := $ref.secretKeyRef -}}
{{- if (ne (toJson $skr_11) "null") -}}
{{- $_is_returning = true -}}
{{- (dict "r" (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $v (mustMergeOverwrite (dict "name" "") (dict "name" $skr_11.name "key" $skr_11.key)))))) "r")) | toJson -}}
{{- (dict "r" (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $v (mustMergeOverwrite (dict) (dict "secretKeyRef" (mustMergeOverwrite (dict "key" "") (mustMergeOverwrite (dict) (dict "name" $skr_11.name)) (dict "key" $skr_11.key)))))))) "r")) | toJson -}}
{{- break -}}
{{- end -}}
{{- $_is_returning = true -}}
Expand All @@ -198,9 +206,9 @@
{{- (dict "r" (coalesce nil)) | toJson -}}
{{- break -}}
{{- end -}}
{{- $_236___ok_12 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.ConfigMaps $ref.name (coalesce nil))))) "r") -}}
{{- $_ := (index $_236___ok_12 0) -}}
{{- $ok_12 := (index $_236___ok_12 1) -}}
{{- $_245___ok_12 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.ConfigMaps $ref.name (coalesce nil))))) "r") -}}
{{- $_ := (index $_245___ok_12 0) -}}
{{- $ok_12 := (index $_245___ok_12 1) -}}
{{- if (not $ok_12) -}}
{{- $_ := (set $v.ConfigMaps $ref.name (dict)) -}}
{{- end -}}
Expand All @@ -213,17 +221,23 @@

{{- define "console.volumes.MaybeAddSecret" -}}
{{- $v := (index .a 0) -}}
{{- $ref := (index .a 1) -}}
{{- $secretRef := (index .a 1) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- if (or (eq (toJson $secretRef) "null") (eq (toJson $secretRef.secretKeyRef) "null")) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (coalesce nil)) | toJson -}}
{{- break -}}
{{- end -}}
{{- $ref := $secretRef.secretKeyRef -}}
{{- if (or (eq (toJson $ref) "null") ((and (eq $ref.key "") (eq $ref.name "")))) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (coalesce nil)) | toJson -}}
{{- break -}}
{{- end -}}
{{- $_248___ok_13 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.Secrets $ref.name (coalesce nil))))) "r") -}}
{{- $_ := (index $_248___ok_13 0) -}}
{{- $ok_13 := (index $_248___ok_13 1) -}}
{{- $_262___ok_13 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.Secrets $ref.name (coalesce nil))))) "r") -}}
{{- $_ := (index $_262___ok_13 0) -}}
{{- $ok_13 := (index $_262___ok_13 1) -}}
{{- if (not $ok_13) -}}
{{- $_ := (set $v.Secrets $ref.name (dict)) -}}
{{- end -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{{- $_is_returning := false -}}
{{- $tag := $state.Values.image.tag -}}
{{- if (eq $tag "") -}}
{{- $tag = "v3.2.2" -}}
{{- $tag = "v3.3.2" -}}
{{- end -}}
{{- $image := (printf "%s:%s" $state.Values.image.repository $tag) -}}
{{- if (not (empty $state.Values.image.registry)) -}}
Expand Down