You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/02/03 09:52:25 UTC

[streampipes] branch 1207-improve-helm-charts updated: Add couchdb credentials to values.yaml (#1207)

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch 1207-improve-helm-charts
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/1207-improve-helm-charts by this push:
     new 6327cf3a8 Add couchdb credentials to values.yaml (#1207)
6327cf3a8 is described below

commit 6327cf3a8a16bbf15c78a1bd7f9114b612a45e18
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Fri Feb 3 10:52:14 2023 +0100

    Add couchdb credentials to values.yaml (#1207)
---
 installer/k8s/templates/external/couchdb/couchdb-deployment.yaml | 4 ++--
 installer/k8s/values.yaml                                        | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/installer/k8s/templates/external/couchdb/couchdb-deployment.yaml b/installer/k8s/templates/external/couchdb/couchdb-deployment.yaml
index 6729cc3a3..9e3eb670e 100644
--- a/installer/k8s/templates/external/couchdb/couchdb-deployment.yaml
+++ b/installer/k8s/templates/external/couchdb/couchdb-deployment.yaml
@@ -37,9 +37,9 @@ spec:
           imagePullPolicy: {{ .Values.pullPolicy }}
           env:
             - name: COUCHDB_USER
-              value: "admin"
+              value: {{ .Values.external.couchdb.user }}
             - name: COUCHDB_PASSWORD
-              value: "admin"
+              value: {{ .Values.external.couchdb.password }}
           ports:
             - containerPort: 5984
           volumeMounts:
diff --git a/installer/k8s/values.yaml b/installer/k8s/values.yaml
index e7609949b..a7fdffa5e 100644
--- a/installer/k8s/values.yaml
+++ b/installer/k8s/values.yaml
@@ -41,6 +41,8 @@ external:
   couchdb:
     appName: "couchdb"
     version: 3.3.1
+    user: "admin"
+    password: "admin"
     persistence:
       storageClassName: ""
       claimName: "couchdb-pvc"