[stable/mongodb] loadBalancerSourceRanges can be specified for mongodb Helm chart#15324
[stable/mongodb] loadBalancerSourceRanges can be specified for mongodb Helm chart#15324k8s-ci-robot merged 3 commits intohelm:masterfrom peter-moffatt:stable/mongodb/loadBalancerSourceRanges
Conversation
Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io>
|
Hi @peter-moffatt. Thanks for your PR. I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io>
|
/assign @sameersbn |
juan131
left a comment
There was a problem hiding this comment.
Thanks so much for this contribution @peter-moffatt
Could you please take a look to my suggestions? Thanks in advance.
| {{- end }} | ||
| {{- if .Values.service.loadBalancerSourceRanges }} | ||
| loadBalancerSourceRanges: | ||
| {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }} |
There was a problem hiding this comment.
Since you're using nindent, you can use a single line:
+ loadBalancerSourceRanges: {{ toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}
- loadBalancerSourceRanges:
- {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}There was a problem hiding this comment.
Thanks for the fast response. I've applied the change and confirmed it works as expected on my end.
| externalIPs: {{ toYaml .Values.service.externalIPs | nindent 4 }} | ||
| {{- end }} | ||
| {{- if .Values.service.loadBalancerSourceRanges }} | ||
| loadBalancerSourceRanges: |
There was a problem hiding this comment.
Change applied.
Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io>
juan131
left a comment
There was a problem hiding this comment.
Thanks for applying the suggestions! Approving your changes
|
/ok-to-test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: juan131, peter-moffatt The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…b Helm chart (helm#15324) * loadBalancerSourceRanges can be specified for mongodb Helm chart Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io> * Bump chart version Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io> * Minor change to formatting Signed-off-by: Peter Moffatt <peter.moffatt@prowler.io>
What this PR does / why we need it:
Allows
loadBalancerSourceRangesto be specified on the mongodb Service. This is required by anyone who wants to restrict the IP ranges which can access a deployed mongodb instance.@tompizmor
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]
[stable/chart])