Skip to content

Commit e1e3f11

Browse files
committed
feat: extraObjects support
this allow to declare arbitraty kubernetes resources. Fixes #57
1 parent 8f38cec commit e1e3f11

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

charts/kafka-ui/CONFIGURATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
| `imagePullSecrets` | Docker registry secret names as an array | `[]` |
1313
| `nameOverride` | String to partially override chart name | `""` |
1414
| `fullnameOverride` | String to fully override app name | `""` |
15+
| `extraObjects` | Arbitrary K8s resources | `[]` |
1516

1617
### ServiceAccount configuration
1718

charts/kafka-ui/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: kafka-ui
33
description: A Helm chart for kafka-UI
44
type: application
5-
version: 1.6.4
5+
version: 1.7.0
66
appVersion: v1.5.0
77
icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{{ range .Values.extraObjects }}
2+
---
3+
{{- if typeIs "string" . }}
4+
{{ tpl . $ }}
5+
{{ else }}
6+
{{ tpl (. | toYaml) $ }}
7+
{{- end }}
8+
{{ end }}

charts/kafka-ui/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,6 @@ affinity: {}
294294

295295
## @param revisionHistoryLimit [nullable] Specify how many old ReplicaSets for this Deployment you want to retain
296296
revisionHistoryLimit: null
297+
298+
## @param extraObjects Arbitrary Kubernetes spec
299+
extraObjects: []

0 commit comments

Comments
 (0)