diff --git a/charts/pomerium/templates/proxy-service.yaml b/charts/pomerium/templates/proxy-service.yaml index f7e5353..554af2c 100644 --- a/charts/pomerium/templates/proxy-service.yaml +++ b/charts/pomerium/templates/proxy-service.yaml @@ -31,6 +31,10 @@ spec: {{- end }} {{- if .Values.proxy.service.externalTrafficPolicy }} externalTrafficPolicy: {{ .Values.proxy.service.externalTrafficPolicy }} + {{- end }} + {{- if .Values.proxy.service.loadBalancerSourceRanges }} + loadBalancerSourceRanges: +{{ toYaml .Values.proxy.service.loadBalancerSourceRanges | indent 4 }} {{- end }} ports: - port: {{ template "pomerium.proxy.trafficPort.number" . }} diff --git a/charts/pomerium/values.yaml b/charts/pomerium/values.yaml index faa3a38..9e7bdf9 100644 --- a/charts/pomerium/values.yaml +++ b/charts/pomerium/values.yaml @@ -174,6 +174,7 @@ proxy: annotations: {} nodePort: "" type: "" + loadBalancerSourceRanges: {} deployment: annotations: {} extraEnv: {}