update auth

This commit is contained in:
2023-05-07 17:08:04 -05:00
parent 3b8a189507
commit 1d2b0af769
2 changed files with 6 additions and 1 deletions

View File

@@ -14,6 +14,11 @@ spec:
services:
- name: {{ .Chart.Name }}-service
port: {{ .Values.service.port }}
- match: Host("{{ .Values.ingress.host }}") && PathPrefix(`/swagger/index.html`)
kind: Rule
services:
- name: {{ .Chart.Name }}-service
port: {{ .Values.service.port }}
tls:
secretName: {{ .Values.ingress.tls }}

View File

@@ -51,7 +51,7 @@ func main() {
}
unraid := v1.Group("/unraid")
{
unraid.Use(authMiddleware())
//unraid.Use(authMiddleware())
unraid.GET("powerusage", c.UnraidPowerUsage)
}
}