Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Enable whitelisting for gateway service (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoehdoi authored and Julien Garcia Gonzalez committed Nov 18, 2019
1 parent dc7801b commit 26166d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/aqua-app-server/templates/gate-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ metadata:
heritage: "{{ .Release.Service }}"
spec:
type: {{ .Values.gate.service.type }}
{{- if eq .Values.gate.service.type "LoadBalancer" }}
loadBalancerSourceRanges:
{{ toYaml .Values.gate.service.loadBalancerSourceRanges | indent 4 }}
{{- end }}
selector:
app: {{ .Release.Name }}-gateway
ports:
Expand Down
3 changes: 3 additions & 0 deletions helm/aqua-app-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ gate:
service:
type: ClusterIP
externalPort: 3622
loadBalancerSourceRanges: []
# - 10.0.0.0/8
# - 172.19.0.0/16
publicIP: aqua-gateway
replicaCount: 1
ingress:
Expand Down

0 comments on commit 26166d5

Please sign in to comment.