infrapuzzle/k8s/home-assistant/hass-code-auth.secret.yml

13 lines
441 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# htpasswd -c htpasswd moritz
# => ooshi7doh0rutaNazeit
# cat htpasswd
# moritz:$apr1$Wes7/nZG$HvxzpYXrP9Ff0FRCxHnnn1
# k create secret generic --from-literal='auth=moritz:$apr1$Wes7/nZG$HvxzpYXrP9Ff0FRCxHnnn1' -o yaml --dry-run=server hass-coder-auth
apiVersion: v1
data:
auth: bW9yaXR6OiRhcHIxJFdlczcvblpHJEh2eHpwWVhyUDlGZjBGUkN4SG5ubjE=
kind: Secret
metadata:
name: hass-coder-auth
namespace: home-assistant
type: Opaque