I need to incorporate a shell command to `htpasswd...
# general
i
I need to incorporate a shell command to
htpasswd
to create a basic auth token prior to creating a secret with that token, the equivalent of
Copy code
htpasswd -cb ${FILE} admin@${DOMAIN} ${TRAEFIK_PW}

kubectl create secret generic \
    ${NAME} \
    --from-file=${FILE} \
    --namespace=${TRAEFIK_NAMESPACE}
can I use a promise or other to make this happen?