2020-09-01 15:44:43 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: configmap-adminer-conf
|
|
|
|
data:
|
|
|
|
login-password-less.php: |
|
|
|
|
<?php
|
|
|
|
require_once('plugins/login-password-less.php');
|
|
|
|
|
|
|
|
/** Set allowed password
|
|
|
|
* @param string result of password_hash
|
|
|
|
*/
|
|
|
|
return new AdminerLoginPasswordLess(
|
2021-06-14 14:27:19 +00:00
|
|
|
$password_hash = password_hash(getEnv('sqlitepw'), PASSWORD_DEFAULT)
|
2020-09-01 15:44:43 +00:00
|
|
|
);
|
|
|
|
?>
|