Skip to content

Commit

Permalink
Allow disabling Longhorn UI
Browse files Browse the repository at this point in the history
  • Loading branch information
shikanime committed May 14, 2024
1 parent 97fe89d commit 0556dcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/longhorn/templates/deployment-ui.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.longhornUI.enabled }}
{{- if .Values.openshift.enabled }}
{{- if .Values.openshift.ui.route }}
# https://github.com/openshift/oauth-proxy/blob/master/contrib/sidecar.yaml
Expand Down Expand Up @@ -180,3 +181,4 @@ spec:
{{- else }}
nodePort: null
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/longhorn/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ longhornDriver:
# label-key2: "label-value2"

longhornUI:
# -- Setting that allows you to enable the Longhorn UI.
enabled: true
# -- Replica count for Longhorn UI.
replicas: 2
# -- PriorityClass for Longhorn UI.
Expand Down

0 comments on commit 0556dcd

Please sign in to comment.