This is an automated email from the ASF dual-hosted git repository.
willholley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-helm.git
The following commit(s) were added to refs/heads/main by this push:
new 3b071e2 Fix postinstall cluster domain (#119)
3b071e2 is described below
commit 3b071e2c452ec90a1b2e7a30cab4d6f10e6e402f
Author: bryopsida <[email protected]>
AuthorDate: Thu Jul 6 03:08:52 2023 -0500
Fix postinstall cluster domain (#119)
Updates the post install job to use the dns.clusterDomainSuffix value, if
that value is null it will default to cluster.local.
---
couchdb/README.md | 10 +++++-----
couchdb/templates/job.yaml | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/couchdb/README.md b/couchdb/README.md
index 7d1f86b..cb32002 100644
--- a/couchdb/README.md
+++ b/couchdb/README.md
@@ -1,6 +1,6 @@
# CouchDB
-

+

Apache CouchDB is a database featuring seamless multi-master sync, that scales
from big data to mobile, with an intuitive HTTP/JSON API and designed for
@@ -18,7 +18,7 @@ storage volumes to each Pod in the Deployment.
```bash
$ helm repo add couchdb https://apache.github.io/couchdb-helm
$ helm install couchdb/couchdb \
- --version=4.4.0 \
+ --version=4.4.1 \
--set allowAdminParty=true \
--set couchdbConfig.couchdb.uuid=$(curl
https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -)
```
@@ -44,7 +44,7 @@ Afterwards install the chart replacing the UUID
```bash
$ helm install \
--name my-release \
- --version=4.4.0 \
+ --version=4.4.1 \
--set couchdbConfig.couchdb.uuid=decafbaddecafbaddecafbaddecafbad \
couchdb/couchdb
```
@@ -78,7 +78,7 @@ and then install the chart while overriding the
`createAdminSecret` setting:
```bash
$ helm install \
--name my-release \
- --version=4.4.0 \
+ --version=4.4.1 \
--set createAdminSecret=false \
--set couchdbConfig.couchdb.uuid=decafbaddecafbaddecafbaddecafbad \
couchdb/couchdb
@@ -133,7 +133,7 @@ version semantics. You can upgrade directly from
`stable/couchdb` to this chart
```bash
$ helm repo add couchdb https://apache.github.io/couchdb-helm
-$ helm upgrade my-release --version=4.4.0 couchdb/couchdb
+$ helm upgrade my-release --version=4.4.1 couchdb/couchdb
```
## Configuration
diff --git a/couchdb/templates/job.yaml b/couchdb/templates/job.yaml
index fa5aafc..174e3ed 100644
--- a/couchdb/templates/job.yaml
+++ b/couchdb/templates/job.yaml
@@ -33,7 +33,7 @@ spec:
- name: DEFAULT_DBS
value: {{ join "," .Values.autoSetup.defaultDatabases }}
- name: COUCHDB_ADDRESS
- value: "{{ template "couchdb.svcname" . }}.{{ .Release.Namespace
}}.svc.cluster.local:{{ .Values.service.externalPort}}"
+ value: "{{ template "couchdb.svcname" . }}.{{ .Release.Namespace
}}.svc.{{ default "cluster.local" .Values.dns.clusterDomainSuffix }}:{{
.Values.service.externalPort}}"
- name: COUCHDB_ADMIN
valueFrom:
secretKeyRef: