updating unused values on config files with default values
authorChen, Jackie (jv246a) <jv246a@att.com>
Tue, 2 Feb 2021 20:26:39 +0000 (15:26 -0500)
committerChen, Jackie (jv246a) <jv246a@att.com>
Tue, 2 Feb 2021 20:26:59 +0000 (15:26 -0500)
Change-Id: I2ba9d416bf437bffa769abfd4d01260d3cfcf718
Signed-off-by: Chen, Jackie (jv246a) <jv246a@att.com>
otf-camunda/helm/otf-camunda/values.yaml
otf-frontend/helm/otf-frontend/templates/deployment.yaml
otf-helm/otf/charts/databases/mongodb/files/docker-entrypoint-initdb.d/one.js
otf-helm/otf/charts/databases/mongodb/values.yaml
otf-robot-test-head/helm/otf-robot-test-head/values.yaml
otf-service-api/helm/otf-service-api/templates/deployment.yaml

index 0c2edff..4e42c06 100644 (file)
@@ -22,8 +22,8 @@ otf:
       host: localhost:18720,localhost:18720,localhost:18720\r
       replicaSet: otf-rs-prod2\r
       database: otf\r
-    username: otfuser\r
-    password: Today.123\r
+    username: your-mongo-username\r
+    password: your-mongo-password\r
   camunda:\r
     executors_active:\r
       dev: true\r
@@ -39,8 +39,8 @@ otf:
         url: localhost:3306/otf_st-camunda\r
       prod:\r
         url: localhost:3306/otf-camunda\r
-      username: otfuser\r
-      password: Today.123\r
+      username: your-mysql-username\r
+      password: your-mysql-password\r
     router:\r
       config:\r
         dev: mysqlRouterConfig-dev.ini\r
index 70cbeb5..7bb59d1 100644 (file)
@@ -205,8 +205,6 @@ spec:
               key: mongodb-username\r
               optional: false\r
         - name: MONGO_PASSWORD\r
-          #value: otf.123\r
-          #value: Today.123\r
           valueFrom:\r
             secretKeyRef:\r
               name: {{ .Values.one_click.mongo.secret_name}}\r
index 825148e..2e218a1 100644 (file)
@@ -1,6 +1,6 @@
 sleep(12000);
 use admin;
-db.createUser({user: "otfuser", pwd: "Today.123", roles: [ { role: "readWrite", db: "test" } ]})
+db.createUser({user: "your-mongo-username", pwd: "your-mongo-password", roles: [ { role: "readWrite", db: "test" } ]})
 use otf;
 db.users.insert({"permissions":["user"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"username", "lastname":"username", "email":"username", "isVerified":true})
 db.users.insert({"permissions":["admin"], "enabled":true, "password":"$2a$14$QWEuhquhhT.1dtVsmXq0QOxOMSmInjvQtr43Jbyz07nEeTbABdwqa", "firstName":"otf", "lastname":"user", "email":"otfuser@email.com", "isVerified":true})
index 0683160..0c6f215 100644 (file)
@@ -76,8 +76,8 @@ mongodbRootPassword: otf.123
 ## MongoDB custom user and database
 ## ref: https://github.com/bitnami/bitnami-docker-mongodb/blob/master/README.md#creating-a-user-and-database-on-first-run
 ##
-mongodbUsername: otfuser
-mongodbPassword: Today.123
+mongodbUsername: your-mongo-username
+mongodbPassword: your-mongo-password
 mongodbDatabase: otf
 mongodbIP: ""
 
index 38957b9..5f916a9 100644 (file)
@@ -37,28 +37,8 @@ mongo:
     OTF_MONGO_HOSTS: "10.0.136.214:27017/"\r
     OTF_MONGO_DBOTF: "otf_st"\r
     OTF_MONGO_REPLICASET: "rs0"\r
-  username: "otfuser"\r
-  password: "Today.123"\r
+  username: "your-mongo-username"\r
+  password: "your-mongo-password"\r
 \r
-# mongo:\r
-#   prod:\r
-#     OTF_MONGO_HOSTS: "localhost:18720,localhost:18720,localhost:18720/"\r
-#     OTF_MONGO_DBOTF: "otf"\r
-#     OTF_MONGO_REPLICASET: "otf-rs-prod2"\r
-#   dev:\r
-#     OTF_MONGO_HOSTS: "10.0.136.214:27017/"\r
-#     #"localhost:27017,localhost:27017,localhost:27017/"\r
-#     OTF_MONGO_DBOTF: "otf"\r
-#     OTF_MONGO_REPLICASET: "rs0"\r
-#     # "mongoOTF"\r
-#   st:\r
-#     OTF_MONGO_HOSTS: "localhost:27017,localhost:27017,localhost:27017/"\r
-#     OTF_MONGO_DBOTF: "otf_st"\r
-#     OTF_MONGO_REPLICASET: "mongoOTF"\r
-\r
-#   username: "otfuser"\r
-#   # "username"\r
-#   password: "Today.123"\r
-#   # "password"\r
 sharedSecret: otf-aaf-credential-generator\r
 \r
index 819085c..069f8ac 100644 (file)
@@ -177,8 +177,6 @@ spec:
               key: mongodb-username\r
               optional: false\r
         - name: OTF_MONGO_PASSWORD\r
-          #value: otf.123\r
-          #value: Today.123\r
           valueFrom:\r
             secretKeyRef:\r
               name: {{ .Values.one_click.mongo.secret_name}}\r