Skip to content

Commit

Permalink
feat: support loadBalancerSourceRanges for hook
Browse files Browse the repository at this point in the history
  • Loading branch information
msvticket committed Sep 16, 2024
1 parent c699cbe commit c6f38c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/lighthouse/templates/webhooks-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ spec:
name: http
selector:
app: {{ template "webhooks.name" . }}
{{ with .Values.webhooks.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges: {{ toYaml . | nindent 2 }}
{{ end }}
2 changes: 2 additions & 0 deletions charts/lighthouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ webhooks:
externalPort: 80
internalPort: 8080
annotations: {}
# Uncomment to set loadBalancerSourceRanges for service
# loadBalancerSourceRanges: []

resources:
# webhooks.resources.limits -- Resource limits applied to the webhooks pods
Expand Down

0 comments on commit c6f38c0

Please sign in to comment.