Skip to content

Commit

Permalink
add optional pw authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
jusa3 committed Dec 11, 2024
1 parent 92a765d commit 10e183e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/semlookp-ui/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: semlookp-ui
description: A Helm chart to deploy the semlookp-ui.
type: application
version: 0.0.8
version: 0.0.9
appVersion: "1.0.0"
5 changes: 5 additions & 0 deletions k8s/semlookp-ui/templates/semlookp-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ metadata:
cert-manager.io/issuer: {{ .Values.ingress.certIssuer | quote}}
{{ end }}
nginx.ingress.kubernetes.io/proxy-buffer-size: 12k
{{- if .Values.auth.enabled }}
nginx.ingress.kubernetes.io/auth-type: "basic"
nginx.ingress.kubernetes.io/auth-secret: {{ .Values.auth.secretName }}
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required"
{{- end }}
spec:
{{ if .Values.ingress.enableSSL }}
tls:
Expand Down
5 changes: 4 additions & 1 deletion k8s/semlookp-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ ingress:
frontend:
apiURL:
images:
frontend:
frontend:
auth:
enabled:
secretName:

0 comments on commit 10e183e

Please sign in to comment.