chore(dashboard): add basic auth

This commit is contained in:
David Landry 2024-05-08 01:10:36 -04:00
parent 631685e74f
commit 55e54d83dd
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
david:$apr1$BW4HLezv$jcSwJ3k6XbuRjkG3zWcnQ0

View file

@ -5,6 +5,9 @@ metadata:
labels:
app.kubernetes.io/name: homepage
annotations:
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: basic-auth
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required"
cert-manager.io/cluster-issuer: letsencrypt-issuer
gethomepage.dev/description: Dynamically Detected Homepage
gethomepage.dev/enabled: "true"

View file

@ -8,3 +8,8 @@ resources:
- sa.yaml
- secret.yaml
- service.yaml
secretGenerator:
- name: basic-auth
files:
- auth=auth.passwd