diff --git a/charts/longhorn/templates/deployment-ui.yaml b/charts/longhorn/templates/deployment-ui.yaml index 0ee86c79..4392a1c8 100644 --- a/charts/longhorn/templates/deployment-ui.yaml +++ b/charts/longhorn/templates/deployment-ui.yaml @@ -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 @@ -180,3 +181,4 @@ spec: {{- else }} nodePort: null {{- end }} +{{- end }} diff --git a/charts/longhorn/values.yaml b/charts/longhorn/values.yaml index af356cf0..65d94df2 100644 --- a/charts/longhorn/values.yaml +++ b/charts/longhorn/values.yaml @@ -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.