You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fl...@apache.org on 2020/09/22 12:32:25 UTC

[couchdb-helm] branch lana updated: Fix template conditional

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

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


The following commit(s) were added to refs/heads/lana by this push:
     new 8cbdb73  Fix template conditional
8cbdb73 is described below

commit 8cbdb73a80e00be65cb907668db8f174319342ad
Author: Jonathan Hall <fl...@flimzy.com>
AuthorDate: Tue Sep 22 14:32:06 2020 +0200

    Fix template conditional
---
 couchdb/templates/clustersetup.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/couchdb/templates/clustersetup.yaml b/couchdb/templates/clustersetup.yaml
index 4afb0f1..336c653 100644
--- a/couchdb/templates/clustersetup.yaml
+++ b/couchdb/templates/clustersetup.yaml
@@ -16,7 +16,7 @@ data:
     set -x
 
     touch /tmp/curl.cf
-    {{ if or .Values.couchdbConfig.chttpd.require_valid_user not .Values.allowAdminParty }}
+    {{ if or .Values.couchdbConfig.chttpd.require_valid_user (not .Values.allowAdminParty) }}
         echo "-u $(cat /tmp/admin-password/adminUsername):$(cat /tmp/admin-password/adminPassword)" >> /tmp/curl.cf
     {{ end }}