Skip to content

IP Whitelist in Helm#3536

Merged
istio-merge-robot merged 4 commits intoistio:masterfrom
Rigdon:helm-ip-whitelist
Feb 17, 2018
Merged

IP Whitelist in Helm#3536
istio-merge-robot merged 4 commits intoistio:masterfrom
Rigdon:helm-ip-whitelist

Conversation

@Rigdon
Copy link
Copy Markdown
Contributor

@Rigdon Rigdon commented Feb 15, 2018

I added an option to specify includeIPRanges in the helm chart in order to match the corresponding argument to istioctl when using automatic sidecar injection.

I also fixed an issue with the value name for the sidecar injector where it didn't match the name of the sidecar injector subchart, and thus the values weren't available to it.

M. Ryan Rigdon added 3 commits February 15, 2018 17:27
@Rigdon Rigdon requested a review from a team February 15, 2018 22:36
@istio-testing
Copy link
Copy Markdown
Collaborator

Hi @Rigdon. Thanks for your PR.

I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

I understand the commands that are listed here.

Details

Instructions 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. I understand the commands that are listed here.

# cpu: 100m
# memory: 128Mi
nodeSelector: {}
includeIPRanges: {}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs please: what is the syntax, example (with 2 ranges to see the delim ), what is the effect of setting it up ( disable egress rules )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also - not sure if the naming is right, it may be quite confusing.
iptablesCaptureWhitelist ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@costinm I added a description there in the values.yaml.tmpl with a link to the istioctl docs. I can change the name if we want but I think it makes sense for it to match the corresponding argument to istioctl kube-inject.

@Rigdon
Copy link
Copy Markdown
Contributor Author

Rigdon commented Feb 16, 2018

I added a description there in the values.yaml.tmpl with a link to the istioctl docs. I can change the name if we want but I think it makes sense for it to match the corresponding argument to istioctl kube-inject.

Copy link
Copy Markdown
Contributor

@costinm costinm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks for the change - maybe you can file a bug to discuss a better name for kube-inject, and adding a field to the mesh config ( I don't believe we have one ).

@istio-merge-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: costinm

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@sdake
Copy link
Copy Markdown
Member

sdake commented Feb 16, 2018

@Rigdon did you test this change? We had a prior problem where sidecarInjection did not work with a - in it because of a flaw in Helm 2.7.2+ which is as yet unresolved.

@istio-merge-robot
Copy link
Copy Markdown

/test all [submit-queue is verifying that this PR is safe to merge]

@istio-merge-robot
Copy link
Copy Markdown

Automatic merge from submit-queue.

@istio-merge-robot istio-merge-robot merged commit 20fa150 into istio:master Feb 17, 2018
@costinm
Copy link
Copy Markdown
Contributor

costinm commented Feb 17, 2018

Once again it is pretty critical to get the helm templates included in the automated tests ( in particular using 'helm template' or istioctl ). I hope this was tested manually and the - doesn't break stuff, easy to
revert otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants