rebase secrets
Eval nix flake / evals (push) Failing after 1m48s
Details
Eval nix flake / evals (push) Failing after 1m48s
Details
This commit is contained in:
parent
ccbf081be2
commit
205fba0a10
|
@ -476,13 +476,13 @@ $config = [
|
|||
* Ensure that you have the required PDO database driver installed
|
||||
* for your connection string.
|
||||
*/
|
||||
'database.dsn' => 'postgres:host=bicep.pvv.ntnu.no;dbname=idp',
|
||||
'database.dsn' => $SAML_DATABASE_DSN,
|
||||
|
||||
/*
|
||||
* SQL database credentials
|
||||
*/
|
||||
'database.username' => 'idp',
|
||||
'database.password' => 'secret',
|
||||
'database.username' => $SAML_DATABASE_USERNAME,
|
||||
'database.password' => $SAML_DATABASE_PASSWORD,
|
||||
'database.options' => [],
|
||||
|
||||
/*
|
||||
|
@ -1195,13 +1195,13 @@ $config = [
|
|||
* See http://www.php.net/manual/en/pdo.drivers.php for the various
|
||||
* syntaxes.
|
||||
*/
|
||||
'store.sql.dsn' => 'sqlite:$STATE_DIRECTORY/simplesamlphp.sqlite3',
|
||||
'store.sql.dsn' => $SAML_DATABASE_DSN,
|
||||
|
||||
/*
|
||||
* The username and password to use when connecting to the database.
|
||||
*/
|
||||
'store.sql.username' => null,
|
||||
'store.sql.password' => null,
|
||||
'store.sql.username' => $SAML_DATABASE_USERNAME,
|
||||
'store.sql.password' => $SAML_DATABASE_PASSWORD,
|
||||
|
||||
/*
|
||||
* The prefix we should use on our tables.
|
||||
|
|
|
@ -93,7 +93,6 @@ let
|
|||
--replace '$SAML_DATABASE_DSN' '"pgsql:host=postgres.pvv.ntnu.no;port=5432;dbname=idp"' \
|
||||
--replace '$SAML_DATABASE_USERNAME' '"idp"' \
|
||||
--replace '$SAML_DATABASE_PASSWORD' 'file_get_contents("${config.sops.secrets."idp/postgres_password".path}")' \
|
||||
--replace '$STATE_DIRECTORY' '/var/lib/idp' \
|
||||
--replace '$CACHE_DIRECTORY' '/var/cache/idp'
|
||||
'';
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
--replace '$SAML_DATABASE_DSN' '"pgsql:host=postgres.pvv.ntnu.no;port=5432;dbname=mediawiki_simplesamlphp"' \
|
||||
--replace '$SAML_DATABASE_USERNAME' '"mediawiki_simplesamlphp"' \
|
||||
--replace '$SAML_DATABASE_PASSWORD' 'file_get_contents("${config.sops.secrets."mediawiki/simplesamlphp/postgres_password".path}")' \
|
||||
--replace '$STATE_DIRECTORY' '/var/lib/mediawiki' \
|
||||
--replace '$CACHE_DIRECTORY' '/var/cache/mediawiki/idp'
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -1195,13 +1195,13 @@ $config = [
|
|||
* See http://www.php.net/manual/en/pdo.drivers.php for the various
|
||||
* syntaxes.
|
||||
*/
|
||||
'store.sql.dsn' => 'sqlite:$STATE_DIRECTORY/simplesamlphp.sqlite3',
|
||||
'store.sql.dsn' => $SAML_DATABASE_DSN,
|
||||
|
||||
/*
|
||||
* The username and password to use when connecting to the database.
|
||||
*/
|
||||
'store.sql.username' => null,
|
||||
'store.sql.password' => null,
|
||||
'store.sql.username' => $SAML_DATABASE_USERNAME,
|
||||
'store.sql.password' => $SAML_DATABASE_PASSWORD,
|
||||
|
||||
/*
|
||||
* The prefix we should use on our tables.
|
||||
|
|
Loading…
Reference in New Issue