k8sConfigs/efk_cluster/createSecure_passwd_forES.sh
2025-03-24 19:12:41 +08:00

5 lines
139 B
Bash
Executable File

#!/bin/bash
microk8s kubectl create secret generic elasticsearch-secret -n efk \
--from-literal=elastic_password='your_secure_password'