Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/kibana] allow to disable test (#15462)
Browse files Browse the repository at this point in the history
not everyone might want the test
the hardcoded image `dwdraju/alpine-curl-jq` in templates/tests/test.yaml might pose a problem
as well as writing to the local filesystem

Signed-off-by: Christoph Maser <christoph.maser+github@gmail.com>
  • Loading branch information
TheMeier authored and k8s-ci-robot committed Jul 11, 2019
1 parent e00bbe3 commit 09004fa
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/kibana/Chart.yaml
@@ -1,6 +1,6 @@
apiVersion: v1
name: kibana
version: 3.2.2
version: 3.2.3
appVersion: 6.7.0
description: Kibana is an open source data visualization plugin for Elasticsearch
icon: https://raw.githubusercontent.com/elastic/kibana/master/src/ui/public/icons/kibana-color.svg
Expand Down
1 change: 1 addition & 0 deletions stable/kibana/README.md
Expand Up @@ -118,6 +118,7 @@ The following table lists the configurable parameters of the kibana chart and th
| `extraConfigMapMounts` | Additional configmaps to be mounted | `[]` |
| `deployment.annotations` | Annotations for deployment | `{}` |
| `initContainers` | Init containers to add to the kibana deployment | `{}` |
| `testFramework.enabled` | enable the test framework | true |
| `testFramework.image` | `test-framework` image repository. | `dduportal/bats` |
| `testFramework.tag` | `test-framework` image tag. | `0.4.0` |

Expand Down
2 changes: 2 additions & 0 deletions stable/kibana/templates/tests/test-configmap.yaml
@@ -1,3 +1,4 @@
{{- if .Values.testFramework.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down Expand Up @@ -33,3 +34,4 @@ data:
[ "$result" == "" ]
{{- end }}
}
{{- end }}
2 changes: 2 additions & 0 deletions stable/kibana/templates/tests/test.yaml
@@ -1,3 +1,4 @@
{{- if .Values.testFramework.enabled }}
apiVersion: v1
kind: Pod
metadata:
Expand Down Expand Up @@ -40,3 +41,4 @@ spec:
- name: tools
emptyDir: {}
restartPolicy: Never
{{- end }}
1 change: 1 addition & 0 deletions stable/kibana/values.yaml
Expand Up @@ -4,6 +4,7 @@ image:
pullPolicy: "IfNotPresent"

testFramework:
enabled: "true"
image: "dduportal/bats"
tag: "0.4.0"

Expand Down

0 comments on commit 09004fa

Please sign in to comment.