[incubator/kafka] Adding a testsEnabled option (#20556)

Signed-off-by: Paul Woolley <pwoolley@cloudbees.com>
This commit is contained in:
Paul Woolley
2020-03-30 07:45:54 -07:00
committed by GitHub
parent 3a8edb04b9
commit 6c85be7b88
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: Apache Kafka is publish-subscribe messaging rethought as a distributed
commit log.
name: kafka
version: 0.20.8
version: 0.20.9
appVersion: 5.0.1
keywords:
- kafka
+1
View File
@@ -136,6 +136,7 @@ following configurable parameters:
| `prometheus.operator.prometheusRule.rules` | Define the prometheus rules. See values file for examples | `{}` |
| `configJob.backoffLimit` | Number of retries before considering kafka-config job as failed | `6` |
| `topics` | List of topics to create & configure. Can specify name, partitions, replicationFactor, reassignPartitions, config. See values.yaml | `[]` (Empty list) |
| `testsEnabled` | Enable/disable the chart's tests | `true` |
| `zookeeper.enabled` | If True, installs Zookeeper Chart | `true` |
| `zookeeper.resources` | Zookeeper resource requests and limits | `{}` |
| `zookeeper.env` | Environmental variables provided to Zookeeper Zookeeper | `{ZK_HEAP_SIZE: "1G"}` |
@@ -1,3 +1,4 @@
{{- if .Values.testsEnabled -}}
apiVersion: v1
kind: Pod
metadata:
@@ -21,3 +22,4 @@ spec:
# Consume a test message from the topic
kafka-console-consumer --bootstrap-server {{ include "kafka.fullname" . }}-headless:9092 --topic helm-test-topic-create-consume-produce --from-beginning --timeout-ms 2000 --max-messages 1 | grep "$MESSAGE"
restartPolicy: Never
{{- end }}
+5
View File
@@ -459,6 +459,11 @@ topics: []
# - user: all
# operations: [ All ]
## Enable/disable the chart's tests. Useful if using this chart as a dependency of
## another chart and you don't want these tests running when trying to develop and
## test your own chart.
testsEnabled: true
# ------------------------------------------------------------------------------
# Zookeeper:
# ------------------------------------------------------------------------------