20690: Bring back the WorkbenchSecretKey config as a dummy value.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 28 Nov 2023 18:43:09 +0000 (15:43 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Tue, 28 Nov 2023 21:25:12 +0000 (18:25 -0300)
Also, make config-check non-strict, to support deprecated config knobs on the
config.yml file.
Eventually, the arvados-formula will require updating but we have to make sure
that a proper branch strategy is in use, as changing it now would break
existing deployments.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

tools/salt-install/config_examples/multi_host/aws/pillars/arvados.sls
tools/salt-install/config_examples/single_host/multiple_hostnames/pillars/arvados.sls
tools/salt-install/config_examples/single_host/single_hostname/pillars/arvados.sls

index 177e60cb74761aa8c85a02d587780a373621fe39..bd95c5a868345487705df68afb4e540fa661807f 100644 (file)
@@ -54,7 +54,8 @@ arvados:
     #     - ruby-dev
     #     - zlib1g-dev
 
-  # config:
+  config:
+    check_command: /usr/bin/arvados-server config-check -strict=false -config
   #   file: /etc/arvados/config.yml
   #   user: root
   ## IMPORTANT!!!!!
@@ -105,6 +106,7 @@ arvados:
     ### KEYS
     secrets:
       blob_signing_key: __BLOB_SIGNING_KEY__
+      workbench_secret_key: "deprecated"
 
     Login:
       Test:
index e50e5c677a4a05c07402790974f2d1a733529572..275c2c78ab7ac81bfa106a3da0d8949838c366d6 100644 (file)
@@ -53,7 +53,8 @@ arvados:
     #     - ruby-dev
     #     - zlib1g-dev
 
-  # config:
+  config:
+    check_command: /usr/bin/arvados-server config-check -strict=false -config
   #   file: /etc/arvados/config.yml
   #   user: root
   ## IMPORTANT!!!!!
@@ -106,6 +107,7 @@ arvados:
     ### KEYS
     secrets:
       blob_signing_key: __BLOB_SIGNING_KEY__
+      workbench_secret_key: "deprecated"
 
     Login:
       Test:
index 1dec7633d43595f40a002683fbd40e39942a1183..f83984b01a93c0d6851470f6b8740370f23f7a63 100644 (file)
@@ -53,7 +53,8 @@ arvados:
     #     - ruby-dev
     #     - zlib1g-dev
 
-  # config:
+  config:
+    check_command: /usr/bin/arvados-server config-check -strict=false -config
   #   file: /etc/arvados/config.yml
   #   user: root
   ## IMPORTANT!!!!!
@@ -106,6 +107,7 @@ arvados:
     ### KEYS
     secrets:
       blob_signing_key: __BLOB_SIGNING_KEY__
+      workbench_secret_key: "deprecated"
 
     Login:
       Test: