Skip to content

Commit 163c844

Browse files
committed
fix basic auth
1 parent 9963a0c commit 163c844

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.7-rc.5
1+
0.1.7-rc.6

helm-charts/kuberoapp/templates/secret-basic-auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{- $accounts := .Values.basicAuth.accounts }}
33
{{- $val := "" }}
44
{{- range $account := $accounts }}
5-
{{- $hash := htpasswd $account.user $account.password }}
5+
{{- $hash := htpasswd $account.user $account.pass }}
66
{{- $val = printf "%s%s\n" $val $hash }}
77
{{- end }}
88
apiVersion: v1

helm-charts/kuberoapp/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ resources: {}
160160

161161
basicAuth:
162162
realm: "Protected"
163-
accounts:
164-
- user: foo
165-
password: bar
163+
accounts: []
164+
#- user: foo
165+
# pass: bar
166166
#- user: bar
167-
# password: foo
167+
# pass: foo
168168

169169
autoscaling:
170170
enabled: false

0 commit comments

Comments
 (0)