Unverified Commit 6d3e87a0 authored by William Tucker's avatar William Tucker Committed by GitHub
Browse files

Merge pull request #275 from alexm-stfc/haproxy-ingress

Add allowlist for haproxy in addition to nginx.
parents ea52def8 cf3a4ca2
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@ metadata:
  labels: {{ include "esgf.component.labels" (list . "ingressPublish" .Values.ingress.labels) | nindent 4 }}
  annotations:
    nginx.ingress.kubernetes.io/whitelist-source-range: {{ .Values.index.search.publishIpRange }}
    haproxy-ingress.github.io/allowlist-source-range: {{ .Values.index.search.publishIpRange }}
    {{ include "esgf.ingress.auth" . | indent 4 }}
    {{- with .Values.ingress.annotations }}
    {{ toYaml . | nindent 4 }}