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 dce9441
Show file tree
Hide file tree
Showing 2 changed files with 4 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 }}
1 change: 1 addition & 0 deletions charts/lighthouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ webhooks:
externalPort: 80
internalPort: 8080
annotations: {}
loadBalancerSourceRanges: nil

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

0 comments on commit dce9441

Please sign in to comment.