longhorn ingress with basicauth
This commit is contained in:
parent
c4033903b4
commit
63d60746f3
2 changed files with 14 additions and 1 deletions
11
longhorn/ingress.yaml
Normal file
11
longhorn/ingress.yaml
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: longhorn-basic-auth-secret
|
||||
namespace: longhorn-system
|
||||
apiVersion: v1
|
||||
type: nginx.org/htpasswd
|
||||
stringData:
|
||||
htpasswd: |
|
||||
aaron:$2y$05$B2.Q.9/e4VEXsnoe.ypjYOkiykmrF2hpApE7CYc2DPIr0pFIdDO1O
|
||||
tom:$2y$05$BsM7fvmf3Gpuznak5OSgre0x81K4.vxUQO/aKW5cY4gmQOzvssPLO
|
|
@ -7,3 +7,5 @@ ingress:
|
|||
enabled: true
|
||||
ingressClassName: nginx
|
||||
host: longhorn.services.yolokube.de
|
||||
annotations:
|
||||
nginx.org/basic-auth-secret: longhorn-basic-auth-secret
|
Loading…
Reference in a new issue