From 6792cadca90a2a1081b1ba3b51b6a0939d7f857f Mon Sep 17 00:00:00 2001
From: Syrine Neifar <syrine@greenhost.nl>
Date: Thu, 20 Oct 2022 14:07:13 +0000
Subject: [PATCH] Removes default passwords in values.yaml and
 values-local.yaml.example

---
 CHANGELOG.md              |  4 ++++
 Chart.yaml                |  2 +-
 README.md                 | 10 ++++++----
 values-local.yaml.example | 14 +++++++-------
 values.yaml               |  8 ++++----
 5 files changed, 22 insertions(+), 16 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 710ed44c..13c5bc99 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+## [0.14.1] - 2022-10-20
+
+* Removes default passwords in values.yaml and values-local.yaml.example
+
 ## [0.14.0] - 2022-10-18
 
 * Fix helm test when you try to use ssoLogin
diff --git a/Chart.yaml b/Chart.yaml
index 56f69b28..aa5d802c 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -4,7 +4,7 @@ description: |
   A helm chart for installing NextCloud and setting up ONLYOFFICE integration
 name: nextcloud-onlyoffice
 appVersion: NC-24.0.5-OO-7.2.0.204
-version: 0.14.0
+version: 0.14.1
 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
 dependencies:
   # https://artifacthub.io/packages/helm/nextcloud/nextcloud
diff --git a/README.md b/README.md
index b5354d8a..cccdcf1d 100644
--- a/README.md
+++ b/README.md
@@ -22,11 +22,13 @@ configurations you might want to do. These instructions assume you copy
 secrets variables manually when you run helm install:
 
 - `nextcloud.nextcloud.password`
-- `nextcloud.mariadb.db.password`
-- `nextcloud.mariadb.rootUser.password`
+- `nextcloud.mariadb.auth.password`
+- `nextcloud.mariadb.auth.rootPassword`
+- `redis.auth.password`
 - `onlyoffice.jwtSecret`
-- `onlyoffice.database.password`
-- `rabbitmq.rabbitmq.password`
+- `rabbitmq.auth.password`
+- `rabbitmq.auth.erlangCookie`
+- `global.onlyofficeDb.password`
 
 ### Install from the remote repo
 
diff --git a/values-local.yaml.example b/values-local.yaml.example
index e6d81bd1..6d61cad9 100644
--- a/values-local.yaml.example
+++ b/values-local.yaml.example
@@ -1,7 +1,7 @@
 nextcloud:
   nextcloud:
     host: "files.your.domain"
-    password: CHANGE_ME
+    # password: CHANGE_ME
 
   ingress:
     enabled: true
@@ -19,8 +19,8 @@ nextcloud:
   # Configure MariaDB chart
   mariadb:
     auth:
-      password: CHANGE_ME
-      rootPassword: CHANGE_ME
+      # password: CHANGE_ME
+      # rootPassword: CHANGE_ME
     architecture: standalone
     # Enable persistence
     # primary:
@@ -31,7 +31,7 @@ nextcloud:
   redis:
     auth:
       # Shared redis password for Nextcloud and OnlyOffice
-      password: CHANGE_ME
+      # password: CHANGE_ME
 
   # Creates a kubernetes cronJob object that runs nextcloud's cron.php
   # every 5 minutes (*/5 * * * *)
@@ -44,11 +44,11 @@ nextcloud:
 
 global:
   onlyofficeDb:
-    password: CHANGE_ME
+    # password: CHANGE_ME
 
 onlyoffice:
   server_name: "office.your.domain"
-  jwtSecret: CHANGE_ME
+  # jwtSecret: CHANGE_ME
   ingress:
     enabled: true
     annotations:
@@ -63,7 +63,7 @@ onlyoffice:
 
 rabbitmq:
   auth:
-    password: CHANGE_ME
+    # password: CHANGE_ME
 
 # apps controls which apps will be installed and enabled in nextcloud
 # apps:
diff --git a/values.yaml b/values.yaml
index e73770c3..361d8a41 100644
--- a/values.yaml
+++ b/values.yaml
@@ -68,7 +68,7 @@ global:
     name: onlyoffice
     port: 3306
     user: onlyoffice
-    # password:
+    # password: password
 
 
 onlyoffice:
@@ -76,7 +76,7 @@ onlyoffice:
 
   replicaCount: 1
 
-  jwtSecret: secret
+  # jwtSecret: secret
 
   # Enable font generation during startup.
   # This takes a long time and is not needed if you don't provide custom
@@ -195,8 +195,8 @@ onlyoffice:
 
 rabbitmq:
   auth:
-    password: password
-    erlangCookie: stub
+    # password: password
+    # erlangCookie: stub
 
 sociallogin:
   update_profile_on_login: 1
-- 
GitLab