fix(imagePullSecrets): restore ability to set image pull secrets (#139)
diff --git a/couchdb/Chart.yaml b/couchdb/Chart.yaml
index c6f74c9..0317803 100644
--- a/couchdb/Chart.yaml
+++ b/couchdb/Chart.yaml
@@ -1,6 +1,6 @@
apiVersion: v1
name: couchdb
-version: 4.5.2
+version: 4.5.3
appVersion: 3.3.3
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/NEWS.md b/couchdb/NEWS.md
index 4ef47be..99a6c2e 100644
--- a/couchdb/NEWS.md
+++ b/couchdb/NEWS.md
@@ -1,5 +1,9 @@
# NEWS
+## 4.5.3
+
+- Fix ability to define pull secrets using `imagePullSecrets`.
+
## 4.5.2
- Allow to specify a persistentVolumeClaimRetentionPolicy in both the primary and secondary StatefulSet.
diff --git a/couchdb/README.md b/couchdb/README.md
index a4200f0..98b2572 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 @@
```bash
$ helm repo add couchdb https://apache.github.io/couchdb-helm
$ helm install couchdb/couchdb \
- --version=4.5.2 \
+ --version=4.5.3 \
--set allowAdminParty=true \
--set couchdbConfig.couchdb.uuid=$(curl https://www.uuidgenerator.net/api/version4 2>/dev/null | tr -d -)
```
@@ -44,7 +44,7 @@
```bash
$ helm install \
--name my-release \
- --version=4.5.2 \
+ --version=4.5.3 \
--set couchdbConfig.couchdb.uuid=decafbaddecafbaddecafbaddecafbad \
couchdb/couchdb
```
@@ -78,7 +78,7 @@
```bash
$ helm install \
--name my-release \
- --version=4.5.2 \
+ --version=4.5.3 \
--set createAdminSecret=false \
--set couchdbConfig.couchdb.uuid=decafbaddecafbaddecafbaddecafbad \
couchdb/couchdb
@@ -133,7 +133,7 @@
```bash
$ helm repo add couchdb https://apache.github.io/couchdb-helm
-$ helm upgrade my-release --version=4.5.2 couchdb/couchdb
+$ helm upgrade my-release --version=4.5.3 couchdb/couchdb
```
## Configuration
@@ -222,7 +222,7 @@
| `networkPolicy.enabled` | true |
| `serviceAccount.enabled` | true |
| `serviceAccount.create` | true |
-| `serviceAccount.imagePullSecrets` | |
+| `imagePullSecrets` | |
| `sidecars` | {} |
| `livenessProbe.enabled` | true |
| `livenessProbe.failureThreshold` | 3 |
diff --git a/couchdb/templates/statefulset.yaml b/couchdb/templates/statefulset.yaml
index f9c7bcf..587fa6a 100644
--- a/couchdb/templates/statefulset.yaml
+++ b/couchdb/templates/statefulset.yaml
@@ -37,6 +37,9 @@
{{- if .Values.serviceAccount.enabled }}
serviceAccountName: {{ template "couchdb.serviceAccount" . }}
{{- end }}
+ {{- if .Values.imagePullSecrets }}
+ imagePullSecrets: {{ .Values.imagePullSecrets | toYaml | nindent 8 }}
+ {{- end }}
initContainers:
- name: init-copy
image: "{{ .Values.initImage.repository }}:{{ .Values.initImage.tag }}"
diff --git a/couchdb/values.yaml b/couchdb/values.yaml
index 30941c5..cf4b5ce 100644
--- a/couchdb/values.yaml
+++ b/couchdb/values.yaml
@@ -57,8 +57,9 @@
enabled: true
create: true
# name:
+
# imagePullSecrets:
-# - name: myimagepullsecret
+# - name: myimagepullsecret
# -- The storage volume used by each Pod in the StatefulSet. If a
# persistentVolume is not enabled, the Pods will use `emptyDir` ephemeral