This is an automated email from the ASF dual-hosted git repository.

willholley pushed a commit to branch prometheus
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git

commit 95612fa1c5802dea4524fad863306c2502ad0b4b
Author: Will Holley <[email protected]>
AuthorDate: Wed Nov 6 18:23:10 2019 +0000

    Cover sidecar configurations in tests
---
 couchdb/ci/ingress-values.yaml   |  2 ++
 couchdb/ci/search-values.yaml    |  1 +
 couchdb/ci/telemetry-values.yaml | 10 ++++++++++
 test/e2e-kind.sh                 |  6 ++----
 4 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/couchdb/ci/ingress-values.yaml b/couchdb/ci/ingress-values.yaml
new file mode 100644
index 0000000..f6ccc62
--- /dev/null
+++ b/couchdb/ci/ingress-values.yaml
@@ -0,0 +1,2 @@
+ingress:
+  enabled: true
diff --git a/couchdb/ci/search-values.yaml b/couchdb/ci/search-values.yaml
new file mode 100644
index 0000000..c3f0a79
--- /dev/null
+++ b/couchdb/ci/search-values.yaml
@@ -0,0 +1 @@
+enableSearch: true
diff --git a/couchdb/ci/telemetry-values.yaml b/couchdb/ci/telemetry-values.yaml
new file mode 100644
index 0000000..b769ce5
--- /dev/null
+++ b/couchdb/ci/telemetry-values.yaml
@@ -0,0 +1,10 @@
+telemetry:
+  enabled: true
+  databases: "foo"
+  resources:
+    requests:
+      cpu: 100m
+      memory: 128Mi
+    limits:
+      cpu: 1
+      memory: 1Gi
diff --git a/test/e2e-kind.sh b/test/e2e-kind.sh
index a24d17b..8297506 100755
--- a/test/e2e-kind.sh
+++ b/test/e2e-kind.sh
@@ -79,10 +79,8 @@ install_local-path-provisioner() {
     echo
 }
 
-install_charts() {
-    docker_exec ct lint-and-install --charts couchdb --upgrade --chart-dirs . 
--helm-extra-args "--set 'telemetry.enabled=true'"
-    # without telemetry
-    docker_exec ct lint --charts couchdb --chart-dirs . --helm-extra-args 
"--set ingress.enabled=true'"
+install_charts() {    # without telemetry
+    docker_exec ct lint-and-install --charts couchdb --upgrade --chart-dirs .
     echo
 }
 

Reply via email to