You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wi...@apache.org on 2020/06/27 09:00:11 UTC

[couchdb-helm] 35/43: Handle when chttpd.require_valid_user_except_for_up is set to true

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

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

commit 65e8de0c43b3847e5ad8ce523e979a9ffe541c9d
Author: natcohen <co...@gmail.com>
AuthorDate: Tue Jun 2 15:24:04 2020 +0200

    Handle when chttpd.require_valid_user_except_for_up is set to true
    
    K8s will fail if liveness is not pointing to the `_up` endpoint
---
 couchdb/templates/statefulset.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml
index c631dfa..aecf2da 100644
--- a/couchdb/templates/statefulset.yaml
+++ b/couchdb/templates/statefulset.yaml
@@ -88,10 +88,10 @@ spec:
               command:
                 - sh
                 - -c
-                - curl -G --silent --fail -u ${COUCHDB_USER}:${COUCHDB_PASSWORD} http://localhost:5984/
+                - curl -G --silent --fail -u ${COUCHDB_USER}:${COUCHDB_PASSWORD} http://localhost:5984/_up
 {{- else }}
             httpGet:
-              path: /
+              path: /_up
               port: 5984
 {{- end }}
             failureThreshold: {{ .Values.livenessProbe.failureThreshold }}