Commit d79d8686 authored by maany's avatar maany
Browse files

Add http only mode for WebUI

parent 8823edcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: rucio-ui
version: 1.28.0
version: 1.28.1
apiVersion: v1
description: A Helm chart to deploy webui servers for Rucio
keywords:
+13 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ spec:
          name: {{ template "rucio.fullname" . }}-aliases
      - name: httpdlog
        emptyDir: {}
      {{- if eq .Values.service.useSSL true }}
      - name: hostcert
        secret:
          secretName: {{ .Release.Name }}-hostcert
@@ -65,6 +66,7 @@ spec:
      - name: cafile
        secret:
          secretName: {{ .Release.Name }}-cafile
      {{- end }}
      {{- range $key, $val := .Values.additionalSecrets }}
      - name: {{ $key }}
        secret:
@@ -91,9 +93,11 @@ spec:
            - name: http
              containerPort: 80
              protocol: TCP
            {{- if .Values.service.useSSL }}
            - name: https
              containerPort: 443
              protocol: TCP
            {{- end }}
          volumeMounts:
            - name: config
              mountPath: /opt/rucio/etc/rucio.config.common.json
@@ -103,6 +107,7 @@ spec:
            - name: aliases
              mountPath: /opt/rucio/etc/aliases.conf
              subPath: aliases.conf
            {{- if .Values.service.useSSL }}
            - name: hostcert
              mountPath: /etc/grid-security/hostcert.pem
              subPath: hostcert.pem
@@ -112,6 +117,7 @@ spec:
            - name: cafile
              mountPath: /etc/grid-security/ca.pem
              subPath: ca.pem
            {{- end}}
            {{- range $key, $val := .Values.additionalSecrets }}
            - name: {{ $key }}
              mountPath: {{ $val.mountPath }}
@@ -145,6 +151,13 @@ spec:
              value: "/opt/rucio/etc/rucio.config.common.json"
            - name: RUCIO_LOG_FORMAT
              value: '[%{%Y-%m-%d %H:%M:%S}t]\t%v\t%h\t%{X-Forwarded-For}i\t%{X-Rucio-RequestId}i\t%>s\t%I\t%B\t%D\t\"%r\"\t\"%{X-Rucio-Auth-Token}i\"\t\"%{User-Agent}i\"\t%{X-Rucio-Script}i'
{{- if not .Values.service.useSSL }}
            - name: RUCIO_ENABLE_SSL
              value: "False"
{{- else }}
            - name: RUCIO_ENABLE_SSL
              value: "True"
{{- end }}
          resources:
{{ toYaml .Values.resources | indent 12 }}
    {{- with .Values.nodeSelector }}