Add configurable path
* Makes the path in the ingress configurable, defaulting to '/'. Fixes #4
diff --git a/couchdb/Chart.yaml b/couchdb/Chart.yaml
index a4519e4..d976350 100644
--- a/couchdb/Chart.yaml
+++ b/couchdb/Chart.yaml
@@ -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
diff --git a/couchdb/README.md b/couchdb/README.md
index a0bfc15..1f4bc60 100644
--- a/couchdb/README.md
+++ b/couchdb/README.md
@@ -125,6 +125,7 @@
| `initImage.pullPolicy` | Always |
| `ingress.enabled` | false |
| `ingress.hosts` | chart-example.local |
+| `ingress.path` | / |
| `ingress.annotations` | |
| `ingress.tls` | |
| `persistentVolume.accessModes` | ReadWriteOnce |
diff --git a/couchdb/templates/ingress.yaml b/couchdb/templates/ingress.yaml
index e73d7a5..3eefddd 100644
--- a/couchdb/templates/ingress.yaml
+++ b/couchdb/templates/ingress.yaml
@@ -20,7 +20,7 @@
- host: {{ $host }}
http:
paths:
- - path: /
+ - path: {{ .Values.ingress.path | quote }}
backend:
serviceName: {{ $serviceName }}
servicePort: {{ $servicePort }}
diff --git a/couchdb/values.yaml b/couchdb/values.yaml
index e3461dd..8cc24f8 100644
--- a/couchdb/values.yaml
+++ b/couchdb/values.yaml
@@ -98,6 +98,7 @@
enabled: false
hosts:
- chart-example.local
+ path: /
annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
diff --git a/docs/couchdb-2.3.0.tgz b/docs/couchdb-2.3.0.tgz
new file mode 100644
index 0000000..2f657d8
--- /dev/null
+++ b/docs/couchdb-2.3.0.tgz
Binary files differ
diff --git a/docs/index.yaml b/docs/index.yaml
index 28b731f..944494b 100644
--- a/docs/index.yaml
+++ b/docs/index.yaml
@@ -3,7 +3,30 @@
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
@@ -24,4 +47,4 @@
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"