Skip to content

Commit

Permalink
Add configurable path
Browse files Browse the repository at this point in the history
* Makes the path in the ingress configurable, defaulting to '/'. Fixes #4
  • Loading branch information
arjundhawan-tomtom committed Oct 30, 2019
1 parent e0d2ab9 commit 40832bb
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion couchdb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: couchdb
version: 2.2.0
version: 2.3.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
Expand Down
1 change: 1 addition & 0 deletions couchdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ A variety of other parameters are also configurable. See the comments in the
| `initImage.pullPolicy` | Always |
| `ingress.enabled` | false |
| `ingress.hosts` | chart-example.local |
| `ingress.path` | / |
| `ingress.annotations` | |
| `ingress.tls` | |
| `persistentVolume.accessModes` | ReadWriteOnce |
Expand Down
2 changes: 1 addition & 1 deletion couchdb/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- host: {{ $host }}
http:
paths:
- path: /
- path: {{ .Values.ingress.path | quote }}
backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
Expand Down
1 change: 1 addition & 0 deletions couchdb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ingress:
enabled: false
hosts:
- chart-example.local
path: /
annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
Expand Down
Binary file added docs/couchdb-2.3.0.tgz
Binary file not shown.
27 changes: 25 additions & 2 deletions docs/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,30 @@ entries:
couchdb:
- apiVersion: v1
appVersion: 2.3.1
created: 2019-10-28T09:24:10.747431Z
created: "2019-10-30T16:35:32.516156223+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: 0eba7c20ec47bc8556b3cb3b5137b578d46b37397493087d61b8199066f84782
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-2.3.0.tgz
version: 2.3.0
- apiVersion: v1
appVersion: 2.3.1
created: "2019-10-30T16:35:32.515759808+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: f68e6187c2b65a02fdde9d49ec38e76a68c3d82421e5ea9e599bac87f4193c6a
Expand All @@ -24,4 +47,4 @@ entries:
urls:
- https://apache.github.io/couchdb-helm/couchdb-2.2.0.tgz
version: 2.2.0
generated: 2019-10-28T09:24:10.746176Z
generated: "2019-10-30T16:35:32.515247385+01:00"

0 comments on commit 40832bb

Please sign in to comment.