Kubernetes.K3s.installLog/services/Adminer/configMap-Adminer.yml

17 lines
395 B
YAML
Raw Normal View History

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(
$password_hash = password_hash(getEnv('sqlitepw'), PASSWORD_DEFAULT)
);
?>