atst/deploy/kubernetes/set_htpasswd_secret.sh

5 lines
140 B
Bash
Executable File

#!/bin/bash
kubectl -n atat delete secret atst-nginx-htpasswd
kubectl -n atat create secret generic atst-nginx-htpasswd --from-file="${1}"