Commit fffa29fa authored by Radu Carpa's avatar Radu Carpa Committed by rcarpa
Browse files

servers: support setting additional env values

I need to pass the node IP inside the pod for the servers which
use the proxy protocol. This is to allow traffic originating
from this IP to not use the proxy protocol. Otherwise the health
checks (readiness/liviness) probes coming from the kubelet fail.
parent ae3dffa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
name: rucio-server
version: 1.30.3
version: 1.30.4
apiVersion: v1
description: A Helm chart to deploy servers for Rucio
keywords:
+3 −0
Original line number Diff line number Diff line
@@ -232,6 +232,9 @@ spec:
              value: "{{ .Values.wsgi.daemonProcesses }}"
            - name: RUCIO_WSGI_DAEMON_THREADS
              value: "{{ .Values.wsgi.daemonThreads }}"
{{- with .Values.additionalEnvs }}
{{ toYaml . | indent 12 }}
{{- end}}
    {{- with .Values.nodeSelector }}
      nodeSelector:
{{ toYaml . | indent 8 }}
+6 −0
Original line number Diff line number Diff line
@@ -181,6 +181,12 @@ additionalSecrets: {}
  #   mountPath: /opt/rucio/etc/gcs_rucio.json
  #   subPath: gcs_rucio.json

additionalEnvs: {}
  # - name: NODE_IP
  #   valueFrom:
  #     fieldRef:
  #       status.hostIP

wsgi:
  daemonProcesses: "4"
  daemonThreads: "4"