Skip to content

Commit b91b220

Browse files
committed
charts/console: split core rendering and chart package
Following in the footsteps of `charts/redpanda/chart`, this commit splits the console package into a core rendering package and chart package. There is no functional change with this commit, just reorganization. A later commit will leverage this work and changes to gotohelm to replace redpanda's console subcharting with gotohelm's bundling.
1 parent f29e701 commit b91b220

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+672
-3969
lines changed

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ tasks:
5151
- golangci-lint run --timeout 28m {{.PKG}} {{.CLI_ARGS}}
5252
- task: charts:download-dependencies
5353
vars: { CHART: redpanda/chart }
54-
- helm lint --strict ./charts/console ./charts/connectors ./charts/redpanda/chart ./operator/chart/
54+
- helm lint --strict ./charts/console/chart ./charts/connectors ./charts/redpanda/chart ./operator/chart/
5555
- actionlint
5656

5757
lint-fix:

acceptance/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ require (
289289
)
290290

291291
replace (
292+
github.com/redpanda-data/redpanda-operator/charts/console/v3 => ../charts/console
292293
github.com/redpanda-data/redpanda-operator/charts/redpanda/v25 => ../charts/redpanda
293294
github.com/redpanda-data/redpanda-operator/harpoon => ../harpoon
294295
github.com/redpanda-data/redpanda-operator/operator => ../operator

acceptance/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,6 @@ github.com/redpanda-data/common-go/secrets v0.1.3 h1:VRo+OFS4Zgb2UMvwcIuUujdMhAP
720720
github.com/redpanda-data/common-go/secrets v0.1.3/go.mod h1:WjUU/5saSXwItZx6veFOGbQZUgPQz4MQ65z22y0Ky84=
721721
github.com/redpanda-data/console/backend v0.0.0-20240303221210-05d5d9e85f20 h1:+zsE3W1V86k2sjAGWOySIlF0xn5R1aXXQBaIdr80F48=
722722
github.com/redpanda-data/console/backend v0.0.0-20240303221210-05d5d9e85f20/go.mod h1:DC42/3+k5PefSo4IalYbDN3yRZrVFP0b69+gC/NwGd4=
723-
github.com/redpanda-data/redpanda-operator/charts/console/v3 v3.1.0 h1:6jvBn+Xr1+62BEFSHoKxayRM/Xt9hp6O5nhnE368ge4=
724-
github.com/redpanda-data/redpanda-operator/charts/console/v3 v3.1.0/go.mod h1:y/8tR/cBC11uDPvjosxT8DAxnuSlPWtEzVYeCAqa4K4=
725723
github.com/redpanda-data/redpanda-operator/gotohelm v1.1.0 h1:IV2Ic66JDKPtCnNU4Kn1naJlzZmhl0izRj17qgTCo20=
726724
github.com/redpanda-data/redpanda-operator/gotohelm v1.1.0/go.mod h1:usCpPzzzhgtPrRTiUQOzFqGmukce8U0SrzEeX2ONDFE=
727725
github.com/redpanda-data/redpanda/src/go/rpk v0.0.0-20250716004441-6e1647296ad6 h1:SbcvWTYFEbH5+NQOl1To5jppEa8RCK1HAkRNfhdUGLg=

charts/console/README.md

Lines changed: 2 additions & 338 deletions
Original file line numberDiff line numberDiff line change
@@ -1,339 +1,3 @@
1-
# Redpanda Console Helm Chart Specification
2-
---
3-
description: Find the default values and descriptions of settings in the Redpanda Console Helm chart.
4-
---
5-
6-
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.1.0](https://img.shields.io/badge/AppVersion-v3.1.0-informational?style=flat-square)
7-
8-
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).
9-
Each of the settings is listed and described on this page, along with any default values.
10-
11-
The Redpanda Console Helm chart is included as a subchart in the Redpanda Helm chart so that you can deploy and configure Redpanda and Redpanda Console together.
12-
For instructions on how to install and use the chart, refer to the [deployment documentation](https://docs.redpanda.com/docs/deploy/deployment-option/self-hosted/kubernetes/kubernetes-deploy/).
13-
For instructions on how to override and customize the chart’s values, see [Configure Redpanda Console](https://docs.redpanda.com/docs/manage/kubernetes/configure-helm-chart/#configure-redpanda-console).
14-
15-
----------------------------------------------
16-
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
17-
18-
## Source Code
19-
20-
* <https://github.com/redpanda-data/redpanda-operator/tree/main/charts/console>
21-
22-
## Requirements
23-
24-
Kubernetes: `>= 1.25.0-0`
25-
26-
## Settings
27-
28-
### [affinity](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=affinity)
29-
30-
**Default:** `{}`
31-
32-
### [annotations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=annotations)
33-
34-
Annotations to add to the deployment.
35-
36-
**Default:** `{}`
37-
38-
### [automountServiceAccountToken](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=automountServiceAccountToken)
39-
40-
Automount API credentials for the Service Account into the pod. Console does not communicate with Kubernetes API.
41-
42-
**Default:** `false`
43-
44-
### [autoscaling.enabled](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=autoscaling.enabled)
45-
46-
**Default:** `false`
47-
48-
### [autoscaling.maxReplicas](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=autoscaling.maxReplicas)
49-
50-
**Default:** `100`
51-
52-
### [autoscaling.minReplicas](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=autoscaling.minReplicas)
53-
54-
**Default:** `1`
55-
56-
### [autoscaling.targetCPUUtilizationPercentage](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=autoscaling.targetCPUUtilizationPercentage)
57-
58-
**Default:** `80`
59-
60-
### [commonLabels](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=commonLabels)
61-
62-
**Default:** `{}`
63-
64-
### [config](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=config)
65-
66-
Settings for the `Config.yaml` (required). For a reference of configuration settings, see the [Redpanda Console documentation](https://docs.redpanda.com/docs/reference/console/config/).
67-
68-
**Default:** `{}`
69-
70-
### [configmap.create](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=configmap.create)
71-
72-
**Default:** `true`
73-
74-
### [deployment.create](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=deployment.create)
75-
76-
**Default:** `true`
77-
78-
### [extraContainers](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=extraContainers)
79-
80-
Add additional containers, such as for oauth2-proxy.
81-
82-
**Default:** `[]`
83-
84-
### [extraEnv](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=extraEnv)
85-
86-
Additional environment variables for the Redpanda Console Deployment.
87-
88-
**Default:** `[]`
89-
90-
### [extraEnvFrom](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=extraEnvFrom)
91-
92-
Additional environment variables for Redpanda Console mapped from Secret or ConfigMap.
93-
94-
**Default:** `[]`
95-
96-
### [extraVolumeMounts](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=extraVolumeMounts)
97-
98-
Add additional volume mounts, such as for TLS keys.
99-
100-
**Default:** `[]`
101-
102-
### [extraVolumes](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=extraVolumes)
103-
104-
Add additional volumes, such as for TLS keys.
105-
106-
**Default:** `[]`
107-
108-
### [fullnameOverride](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=fullnameOverride)
109-
110-
Override `console.fullname` template.
111-
112-
**Default:** `""`
113-
114-
### [image](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=image)
115-
116-
Redpanda Console Docker image settings.
117-
118-
**Default:**
119-
120-
```
121-
{"pullPolicy":"IfNotPresent","registry":"docker.redpanda.com","repository":"redpandadata/console","tag":""}
122-
```
123-
124-
### [image.pullPolicy](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=image.pullPolicy)
125-
126-
The imagePullPolicy.
127-
128-
**Default:** `"IfNotPresent"`
129-
130-
### [image.repository](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=image.repository)
131-
132-
Docker repository from which to pull the Redpanda Docker image.
133-
134-
**Default:** `"redpandadata/console"`
135-
136-
### [image.tag](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=image.tag)
137-
138-
The Redpanda Console version. See DockerHub for: [All stable versions](https://hub.docker.com/r/redpandadata/console/tags) and [all unstable versions](https://hub.docker.com/r/redpandadata/console-unstable/tags).
139-
140-
**Default:** `Chart.appVersion`
141-
142-
### [imagePullSecrets](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=imagePullSecrets)
143-
144-
Pull secrets may be used to provide credentials to image repositories See https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
145-
146-
**Default:** `[]`
147-
148-
### [ingress.annotations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.annotations)
149-
150-
**Default:** `{}`
151-
152-
### [ingress.enabled](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.enabled)
153-
154-
**Default:** `false`
155-
156-
### [ingress.hosts[0].host](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.hosts[0].host)
157-
158-
**Default:** `"chart-example.local"`
159-
160-
### [ingress.hosts[0].paths[0].path](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.hosts[0].paths[0].path)
161-
162-
**Default:** `"/"`
163-
164-
### [ingress.hosts[0].paths[0].pathType](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.hosts[0].paths[0].pathType)
165-
166-
**Default:** `"ImplementationSpecific"`
167-
168-
### [ingress.tls](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=ingress.tls)
169-
170-
**Default:** `[]`
171-
172-
### [initContainers](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=initContainers)
173-
174-
Any initContainers defined should be written here
175-
176-
**Default:** `{"extraInitContainers":""}`
177-
178-
### [initContainers.extraInitContainers](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=initContainers.extraInitContainers)
179-
180-
Additional set of init containers
181-
182-
**Default:** `""`
183-
184-
### [livenessProbe](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=livenessProbe)
185-
186-
Settings for liveness and readiness probes. For details, see the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes).
187-
188-
**Default:**
189-
190-
```
191-
{"failureThreshold":3,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}
192-
```
193-
194-
### [nameOverride](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=nameOverride)
195-
196-
Override `console.name` template.
197-
198-
**Default:** `""`
199-
200-
### [nodeSelector](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=nodeSelector)
201-
202-
**Default:** `{}`
203-
204-
### [podAnnotations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=podAnnotations)
205-
206-
**Default:** `{}`
207-
208-
### [podLabels](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=podLabels)
209-
210-
**Default:** `{}`
211-
212-
### [podSecurityContext.fsGroup](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=podSecurityContext.fsGroup)
213-
214-
**Default:** `99`
215-
216-
### [podSecurityContext.fsGroupChangePolicy](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=podSecurityContext.fsGroupChangePolicy)
217-
218-
**Default:** `"Always"`
219-
220-
### [podSecurityContext.runAsUser](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=podSecurityContext.runAsUser)
221-
222-
**Default:** `99`
223-
224-
### [priorityClassName](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=priorityClassName)
225-
226-
PriorityClassName given to Pods. For details, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass).
227-
228-
**Default:** `""`
229-
230-
### [readinessProbe.failureThreshold](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=readinessProbe.failureThreshold)
231-
232-
**Default:** `3`
233-
234-
### [readinessProbe.initialDelaySeconds](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=readinessProbe.initialDelaySeconds)
235-
236-
Grant time to test connectivity to upstream services such as Kafka and Schema Registry.
237-
238-
**Default:** `10`
239-
240-
### [readinessProbe.periodSeconds](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=readinessProbe.periodSeconds)
241-
242-
**Default:** `10`
243-
244-
### [readinessProbe.successThreshold](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=readinessProbe.successThreshold)
245-
246-
**Default:** `1`
247-
248-
### [readinessProbe.timeoutSeconds](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=readinessProbe.timeoutSeconds)
249-
250-
**Default:** `1`
251-
252-
### [replicaCount](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=replicaCount)
253-
254-
**Default:** `1`
255-
256-
### [resources](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=resources)
257-
258-
**Default:** `{}`
259-
260-
### [secret](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=secret)
261-
262-
Create a new Kubernetes Secret for all sensitive configuration inputs. Each provided Secret is mounted automatically and made available to the Pod. If you want to use one or more existing Secrets, you can use the `extraEnvFrom` list to mount environment variables from string and secretMounts to mount files such as Certificates from Secrets.
263-
264-
**Default:**
265-
266-
```
267-
{"authentication":{"jwtSigningKey":"","oidc":{}},"create":true,"kafka":{},"license":"","redpanda":{"adminApi":{}},"schemaRegistry":{},"serde":{}}
268-
```
269-
270-
### [secret.kafka](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=secret.kafka)
271-
272-
Kafka Secrets.
273-
274-
**Default:** `{}`
275-
276-
### [secretMounts](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=secretMounts)
277-
278-
SecretMounts is an abstraction to make a Secret available in the container's filesystem. Under the hood it creates a volume and a volume mount for the Redpanda Console container.
279-
280-
**Default:** `[]`
281-
282-
### [securityContext.runAsNonRoot](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=securityContext.runAsNonRoot)
283-
284-
**Default:** `true`
285-
286-
### [service.annotations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=service.annotations)
287-
288-
Override the value in `console.config.server.listenPort` if not `nil` targetPort:
289-
290-
**Default:** `{}`
291-
292-
### [service.port](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=service.port)
293-
294-
**Default:** `8080`
295-
296-
### [service.type](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=service.type)
297-
298-
**Default:** `"ClusterIP"`
299-
300-
### [serviceAccount.annotations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=serviceAccount.annotations)
301-
302-
Annotations to add to the service account.
303-
304-
**Default:** `{}`
305-
306-
### [serviceAccount.automountServiceAccountToken](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=serviceAccount.automountServiceAccountToken)
307-
308-
Specifies whether a service account should automount API-Credentials. Console does not communicate with Kubernetes API. The ServiceAccount could be used for workload identity.
309-
310-
**Default:** `false`
311-
312-
### [serviceAccount.create](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=serviceAccount.create)
313-
314-
Specifies whether a service account should be created.
315-
316-
**Default:** `true`
317-
318-
### [serviceAccount.name](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=serviceAccount.name)
319-
320-
The name of the service account to use. If not set and `serviceAccount.create` is `true`, a name is generated using the `console.fullname` template
321-
322-
**Default:** `""`
323-
324-
### [strategy](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=strategy)
325-
326-
**Default:** `{}`
327-
328-
### [tests.enabled](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=tests.enabled)
329-
330-
**Default:** `true`
331-
332-
### [tolerations](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=tolerations)
333-
334-
**Default:** `[]`
335-
336-
### [topologySpreadConstraints](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=topologySpreadConstraints)
337-
338-
**Default:** `[]`
1+
# Redpanda Console Helm Chart
3392

3+
- See Chart [README](./chart/README.md)

0 commit comments

Comments
 (0)