Skip to content
Permalink
Browse files
Merge pull request #21 from arnediekmann/sidecar
Add support for arbitrary sidecar containers
  • Loading branch information
willholley committed Feb 24, 2020
2 parents 8288aba + d8a2194 commit 6272feedd911fb0d61e13d4ce51031f55a2cdece
Showing 7 changed files with 53 additions and 2 deletions.
@@ -1,6 +1,6 @@
apiVersion: v1
name: couchdb
version: 3.1.0
version: 3.2.0
appVersion: 2.3.1
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for
@@ -179,6 +179,7 @@ A variety of other parameters are also configurable. See the comments in the
| `serviceAccount.enabled` | true |
| `serviceAccount.create` | true |
| `serviceAccount.imagePullSecrets` | |
| `sidecars` | {} |
| `livenessProbe.enabled` | true |
| `livenessProbe.failureThreshold` | 3 |
| `livenessProbe.initialDelaySeconds` | 0 |
@@ -0,0 +1,9 @@
sidecars:
- name: foo
image: "busybox"
imagePullPolicy: IfNotPresent
resources:
requests:
cpu: "0.1"
memory: 10Mi
command: ['while true; do echo "foo"; sleep 5; done;']
@@ -122,6 +122,9 @@ spec:
- name: database-storage
mountPath: /opt/couchdb-search/data
{{- end }}
{{- if .Values.sidecars }}
{{ toYaml .Values.sidecars | indent 8}}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
@@ -182,3 +182,18 @@ readinessProbe:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1

# Configure arbitrary sidecar containers for CouchDB pods created by the
# StatefulSet
sidecars: {}
# - name: foo
# image: "busybox"
# imagePullPolicy: IfNotPresent
# resources:
# requests:
# cpu: "0.1"
# memory: 10Mi
# command: ['echo "foo";']
# volumeMounts:
# - name: database-storage
# mountPath: /opt/couchdb/data/
BIN +8.91 KB docs/couchdb-3.2.0.tgz
Binary file not shown.
@@ -1,6 +1,29 @@
apiVersion: v1
entries:
couchdb:
- apiVersion: v1
appVersion: 2.3.1
created: "2020-02-24T14:28:33.088976214+01:00"
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for reliability.
digest: bc1fc4cd7208209abce383d0f57ae7c628698462b63af78e9b2641f8afd40c6e
home: https://couchdb.apache.org/
icon: http://couchdb.apache.org/CouchDB-visual-identity/logo/CouchDB-couch-symbol.svg
keywords:
- couchdb
- database
- nosql
maintainers:
- email: kocolosk@apache.org
name: kocolosk
- email: willholley@apache.org
name: willholley
name: couchdb
sources:
- https://github.com/apache/couchdb-docker
urls:
- https://apache.github.io/couchdb-helm/couchdb-3.2.0.tgz
version: 3.2.0
- apiVersion: v1
appVersion: 2.3.1
created: "2020-01-06T12:56:30.320674+07:00"
@@ -139,4 +162,4 @@ entries:
urls:
- https://apache.github.io/couchdb-helm/couchdb-2.2.0.tgz
version: 2.2.0
generated: "2020-01-06T12:56:30.315772+07:00"
generated: "2020-02-24T14:28:33.083464834+01:00"

0 comments on commit 6272fee

Please sign in to comment.