Skip to content

Commit b3090fc

Browse files
WielewoutRafalKorepta
authored andcommitted
feat(kminion): add option to disable tests
1 parent 0a81aa9 commit b3090fc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

charts/kminion/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type: application
2525
# The chart version and the app version are not the same and will not track
2626
# together. The chart version is a semver representation of changes to this
2727
# chart.
28-
version: 0.12.5
28+
version: 0.12.6
2929

3030
# The app version is the default version of Redpanda to install.
3131
# ** NOTE for maintainers: please ensure the artifacthub image annotation is updated before merging

charts/kminion/templates/tests/01-rpk-test-consume-from-test-topic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ See the License for the specific language governing permissions and
1515
limitations under the License.
1616
*/}}
1717
{{- $brokers := dig "kafka" "brokers" "" .Values.kminion.config -}}
18-
{{- if gt (len $brokers) 0 -}}
18+
{{- if and (.Values.tests.enabled) (gt (len $brokers) 0) -}}
1919
apiVersion: v1
2020
kind: Pod
2121
metadata:

charts/kminion/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,3 +289,6 @@ kminion:
289289
# logger:
290290
# # Level is a logging priority. Higher levels are more important. Valid values are: debug, info, warn, error, fatal, panic
291291
# level: info
292+
293+
tests:
294+
enabled: true

0 commit comments

Comments
 (0)