Skip to content

Commit

Permalink
fix helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
splattner committed Jun 15, 2023
1 parent 5b05d98 commit a9e7cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/charts/webshell/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: webshell
description: A Helm chart to deploy a webshell environment
type: application
version: 0.3.0
appVersion: "0.3.0"
version: 0.3.1
appVersion: "0.3.1"
2 changes: 1 addition & 1 deletion deploy/charts/webshell/templates/secret-basicauth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{- include "webshell.labels" . | nindent 4 }}
type: Opaque
data:
{{ if .Values.ingress.className == "haproxy"}}
{{ if eq .Values.ingress.className "haproxy"}}
{{ .Values.user }}: {{ .Values.password | b64enc | quote }}
{{ else }}
auth: {{ (htpasswd .Values.user .Values.password) | b64enc | quote }}
Expand Down

0 comments on commit a9e7cd5

Please sign in to comment.