Skip to content
Permalink
Browse files
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
  • Loading branch information
natcohen committed Jun 2, 2020
1 parent bb17404 commit 65e8de0c43b3847e5ad8ce523e979a9ffe541c9d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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 }}

0 comments on commit 65e8de0

Please sign in to comment.