Skip to content

Commit

Permalink
Add support for LoadBalancerSourceRanges as per issue #81 (#82)
Browse files Browse the repository at this point in the history
* Add support for LoadBalancerSourceRanges as per issue #81

* Fixed goldpinger service.yaml
  • Loading branch information
acarbonaro authored Feb 28, 2023
1 parent 4931000 commit 79398f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/goldpinger/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ name: goldpinger
sources:
- https://github.com/bloomberg/goldpinger
- https://github.com/okgolove/helm-charts
version: 5.5.0
version: 5.6.0
4 changes: 4 additions & 0 deletions charts/goldpinger/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ spec:
name: http
selector:
{{- include "goldpinger.selectorLabels" . | nindent 4 }}
{{- if .Values.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges:
{{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}
{{- end }}
1 change: 1 addition & 0 deletions charts/goldpinger/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ service:
port: 80
annotations: {}
labels: {}
loadBalancerSourceRanges: {}

ingress:
enabled: false
Expand Down

0 comments on commit 79398f4

Please sign in to comment.