Skip to content

Commit 856f5fb

Browse files
author
robot
committed
robot: project redpanda-console chart upgrades from 3.2.0 to 3.3.0
Signed-off-by: robot <robot@example.com>
1 parent d53273b commit 856f5fb

File tree

7 files changed

+35
-21
lines changed

7 files changed

+35
-21
lines changed

charts/redpanda-console/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export USE_OPENSOURCE_CHART=false
44
export REPO_URL=https://charts.redpanda.com
55
export REPO_NAME=redpanda-data
66
export CHART_NAME=console
7-
export VERSION=3.2.0
7+
export VERSION=3.3.0
88

99
# pr, issue, none
1010
export UPGRADE_METHOD=pr

charts/redpanda-console/redpanda-console/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ type: application
2424
version: 3.2.0
2525
dependencies:
2626
- name: console
27-
version: "3.2.0"
27+
version: "3.3.0"
2828
repository: "https://charts.redpanda.com"

charts/redpanda-console/redpanda-console/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
description: Find the default values and descriptions of settings in the Redpanda Console Helm chart.
44
---
55

6-
![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)
6+
![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)
77

88
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).
99
Each of the settings is listed and described on this page, along with any default values.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
annotations:
22
artifacthub.io/images: |
33
- name: console
4-
image: docker.redpanda.com/redpandadata/console:v3.2.2
4+
image: docker.redpanda.com/redpandadata/console:v3.3.2
55
artifacthub.io/license: Apache-2.0
66
artifacthub.io/links: |
77
- name: Documentation
88
url: https://docs.redpanda.com
99
- name: "Helm (>= 3.6.0)"
1010
url: https://helm.sh/docs/intro/install/
1111
apiVersion: v2
12-
appVersion: v3.2.2
12+
appVersion: v3.3.2
1313
description: Helm chart to deploy Redpanda Console.
1414
icon: https://go.redpanda.com/hubfs/Redpandas/skate-stand-panda.svg
1515
kubeVersion: '>= 1.25.0-0'
@@ -20,4 +20,4 @@ name: console
2020
sources:
2121
- https://github.com/redpanda-data/redpanda-operator/tree/main/charts/console
2222
type: application
23-
version: 3.2.0
23+
version: 3.3.0

charts/redpanda-console/redpanda-console/charts/console/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
description: Find the default values and descriptions of settings in the Redpanda Console Helm chart.
44
---
55

6-
![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)
6+
![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)
77

88
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).
99
Each of the settings is listed and described on this page, along with any default values.

charts/redpanda-console/redpanda-console/charts/console/templates/_console.config.tpl

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,10 @@
7979
{{- end -}}
8080
{{- if (ne (toJson $kafka.sasl) "null") -}}
8181
{{- $_ := (set $cfg "sasl" (mustMergeOverwrite (dict) (dict "enabled" true "username" $kafka.sasl.username "mechanism" (toString $kafka.sasl.mechanism)))) -}}
82+
{{- if (ne (toJson $kafka.sasl.passwordSecretRef) "null") -}}
8283
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "KAFKA_SASL_PASSWORD" $kafka.sasl.passwordSecretRef)))) "r") -}}
8384
{{- end -}}
85+
{{- end -}}
8486
{{- $_is_returning = true -}}
8587
{{- (dict "r" $cfg) | toJson -}}
8688
{{- break -}}
@@ -104,7 +106,7 @@
104106
{{- end -}}
105107
{{- if (ne (toJson $schema.sasl) "null") -}}
106108
{{- $_ := (set $cfg "authentication" (mustMergeOverwrite (dict) (dict "basic" (mustMergeOverwrite (dict) (dict "username" $schema.sasl.username))))) -}}
107-
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD" $schema.sasl.passwordSecretRef)))) "r") -}}
109+
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BASIC_PASSWORD" $schema.sasl.password)))) "r") -}}
108110
{{- $_ := (get (fromJson (include "console.configMapper.addEnv" (dict "a" (list $m "SCHEMAREGISTRY_AUTHENTICATION_BEARERTOKEN" $schema.sasl.token)))) "r") -}}
109111
{{- end -}}
110112
{{- $_is_returning = true -}}
@@ -127,15 +129,15 @@
127129
{{- if $tls.insecureSkipTlsVerify -}}
128130
{{- $_ := (set $out "insecureSkipTlsVerify" $tls.insecureSkipTlsVerify) -}}
129131
{{- end -}}
130-
{{- $ca_7 := (get (fromJson (include "console.volumes.MaybeAdd" (dict "a" (list $m.Volumes $tls.caCertSecretRef)))) "r") -}}
132+
{{- $ca_7 := (get (fromJson (include "console.volumes.MaybeAdd" (dict "a" (list $m.Volumes $tls.caCert)))) "r") -}}
131133
{{- if (ne (toJson $ca_7) "null") -}}
132134
{{- $_ := (set $out "caFilepath" $ca_7) -}}
133135
{{- end -}}
134-
{{- $cert_8 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.certSecretRef)))) "r") -}}
136+
{{- $cert_8 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.cert)))) "r") -}}
135137
{{- if (ne (toJson $cert_8) "null") -}}
136138
{{- $_ := (set $out "certFilepath" $cert_8) -}}
137139
{{- end -}}
138-
{{- $key_9 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.keySecretRef)))) "r") -}}
140+
{{- $key_9 := (get (fromJson (include "console.volumes.MaybeAddSecret" (dict "a" (list $m.Volumes $tls.key)))) "r") -}}
139141
{{- if (ne (toJson $key_9) "null") -}}
140142
{{- $_ := (set $out "keyFilepath" $key_9) -}}
141143
{{- end -}}
@@ -148,9 +150,15 @@
148150
{{- define "console.configMapper.addEnv" -}}
149151
{{- $m := (index .a 0) -}}
150152
{{- $name := (index .a 1) -}}
151-
{{- $ref := (index .a 2) -}}
153+
{{- $secretRef := (index .a 2) -}}
152154
{{- range $_ := (list 1) -}}
153155
{{- $_is_returning := false -}}
156+
{{- if (or (eq (toJson $secretRef) "null") (eq (toJson $secretRef.secretKeyRef) "null")) -}}
157+
{{- $_is_returning = true -}}
158+
{{- (dict "r" (list)) | toJson -}}
159+
{{- break -}}
160+
{{- end -}}
161+
{{- $ref := $secretRef.secretKeyRef -}}
154162
{{- if (or (eq $ref.key "") (eq $ref.name "")) -}}
155163
{{- $_is_returning = true -}}
156164
{{- (dict "r" (list)) | toJson -}}
@@ -179,7 +187,7 @@
179187
{{- $skr_11 := $ref.secretKeyRef -}}
180188
{{- if (ne (toJson $skr_11) "null") -}}
181189
{{- $_is_returning = true -}}
182-
{{- (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 -}}
190+
{{- (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 -}}
183191
{{- break -}}
184192
{{- end -}}
185193
{{- $_is_returning = true -}}
@@ -198,9 +206,9 @@
198206
{{- (dict "r" (coalesce nil)) | toJson -}}
199207
{{- break -}}
200208
{{- end -}}
201-
{{- $_236___ok_12 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.ConfigMaps $ref.name (coalesce nil))))) "r") -}}
202-
{{- $_ := (index $_236___ok_12 0) -}}
203-
{{- $ok_12 := (index $_236___ok_12 1) -}}
209+
{{- $_245___ok_12 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.ConfigMaps $ref.name (coalesce nil))))) "r") -}}
210+
{{- $_ := (index $_245___ok_12 0) -}}
211+
{{- $ok_12 := (index $_245___ok_12 1) -}}
204212
{{- if (not $ok_12) -}}
205213
{{- $_ := (set $v.ConfigMaps $ref.name (dict)) -}}
206214
{{- end -}}
@@ -213,17 +221,23 @@
213221

214222
{{- define "console.volumes.MaybeAddSecret" -}}
215223
{{- $v := (index .a 0) -}}
216-
{{- $ref := (index .a 1) -}}
224+
{{- $secretRef := (index .a 1) -}}
217225
{{- range $_ := (list 1) -}}
218226
{{- $_is_returning := false -}}
227+
{{- if (or (eq (toJson $secretRef) "null") (eq (toJson $secretRef.secretKeyRef) "null")) -}}
228+
{{- $_is_returning = true -}}
229+
{{- (dict "r" (coalesce nil)) | toJson -}}
230+
{{- break -}}
231+
{{- end -}}
232+
{{- $ref := $secretRef.secretKeyRef -}}
219233
{{- if (or (eq (toJson $ref) "null") ((and (eq $ref.key "") (eq $ref.name "")))) -}}
220234
{{- $_is_returning = true -}}
221235
{{- (dict "r" (coalesce nil)) | toJson -}}
222236
{{- break -}}
223237
{{- end -}}
224-
{{- $_248___ok_13 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.Secrets $ref.name (coalesce nil))))) "r") -}}
225-
{{- $_ := (index $_248___ok_13 0) -}}
226-
{{- $ok_13 := (index $_248___ok_13 1) -}}
238+
{{- $_262___ok_13 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $v.Secrets $ref.name (coalesce nil))))) "r") -}}
239+
{{- $_ := (index $_262___ok_13 0) -}}
240+
{{- $ok_13 := (index $_262___ok_13 1) -}}
227241
{{- if (not $ok_13) -}}
228242
{{- $_ := (set $v.Secrets $ref.name (dict)) -}}
229243
{{- end -}}

charts/redpanda-console/redpanda-console/charts/console/templates/_console.deployment.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
{{- $_is_returning := false -}}
6565
{{- $tag := $state.Values.image.tag -}}
6666
{{- if (eq $tag "") -}}
67-
{{- $tag = "v3.2.2" -}}
67+
{{- $tag = "v3.3.2" -}}
6868
{{- end -}}
6969
{{- $image := (printf "%s:%s" $state.Values.image.repository $tag) -}}
7070
{{- if (not (empty $state.Values.image.registry)) -}}

0 commit comments

Comments
 (0)