Skip to content

Conversation

myidpt
Copy link

@myidpt myidpt commented Nov 7, 2019

In previous PRs, we removed "demo-auth" from the installation guide, but we didn't add general auth enablement instructions, so users won't be able to learn how to enable auth from the installation page. Also the security tasks are referring to the installation page which is missing the security enablement instructions. This PR fixes these issues.

@myidpt myidpt requested review from howardjohn and frankbu November 7, 2019 22:33
@myidpt myidpt requested a review from a team as a code owner November 7, 2019 22:33
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Nov 7, 2019
@istio-testing istio-testing added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 7, 2019
@myidpt myidpt requested a review from liminw November 7, 2019 22:35
@@ -49,8 +49,7 @@ This approach has the following benefits:

## Before you begin

* Follow the [install instructions](/docs/setup/install/istioctl/)
to set up Istio with SDS and global mutual TLS enabled.
Follow the [Istio installation guide](/docs/setup/install/helm/) to set up Istio with SDS and global mutual TLS enabled.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't we do this with istioctl?

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I need to test it. I will update to istioctl once I verified it's working.

Copy link
Author

Choose a reason for hiding this comment

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

It's still not working. We will update this when we have fixed it.

Copy link
Contributor

@liminw liminw 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 fix.

@myidpt myidpt requested a review from pitlv2109 November 7, 2019 22:47
Copy link
Member

@howardjohn howardjohn left a comment

Choose a reason for hiding this comment

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

lgtm other than should always point to istioctl

@@ -130,7 +130,18 @@ $ helm template install/kubernetes/helm/istio --name istio --namespace istio-sys

{{< /tab >}}

{{< tab name="sds" cookie-value="sds" >}}
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
{{< tab name="demo mTLS" cookie-value="mtls" >}}

Copy link
Author

Choose a reason for hiding this comment

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

Frank, let's not call it "demo" since we have decided to not have two demos :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

The instruction says to choose a configuration profile (https://deploy-preview-5482--preliminary-istio.netlify.com/docs/setup/additional-setup/config-profiles/), so you can't just say "Mutual TLS" on the label, since there's no such profile.

Currently your tab is installing the demo profile with mTLS enabled. If you don't want to label it as such, then I suggest changing the contents of that tab to say that you can turn on mTLS for any configuration profile and explain what options the user needs to set and then give the instruction as just an example. Take a look at the CNI tab, it is written that way.

I would also change the SDS tab back to just sds, like it was before, because the configuration profiles already says that the sds profile turns on mutual TLS.

I would also suggest putting the Mutual TLS tab second last, after sds but before CNI, so the first 4 are straight profile selections, while the last 2 are how to turn on a special feature with any profile.


{{< /tab >}}

{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
{{< tab name="sds mTLS" cookie-value="sds" >}}

@@ -225,7 +236,18 @@ $ helm install install/kubernetes/helm/istio --name istio --namespace istio-syst

{{< /tab >}}

{{< tab name="sds" cookie-value="sds" >}}
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
{{< tab name="demo mTLS" cookie-value="mtls" >}}


{{< /tab >}}

{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
{{< tab name="sds mTLS" cookie-value="sds" >}}

@@ -304,7 +326,18 @@ $ kubectl delete namespace istio-system

{{< /tab >}}

{{< tab name="sds" cookie-value="sds" >}}
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS enabled" cookie-value="mtls" >}}
{{< tab name="demo mTLS" cookie-value="mtls" >}}


{{< /tab >}}

{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{{< tab name="mTLS (SDS) enabled" cookie-value="sds" >}}
{{< tab name="sds mTLS" cookie-value="sds" >}}

@frankbu
Copy link
Collaborator

frankbu commented Nov 7, 2019

@geeknoid, I think it's OK to use mTLS, instead of mutual TLS here, because they're tab labels that we want to keep short. They don't cause spelling errors in this context either.

Fix according to the feedback.

Co-Authored-By: Martin Taillefer <geeknoid@users.noreply.github.com>
@myidpt
Copy link
Author

myidpt commented Nov 8, 2019

Talked with @geeknoid, mTLS is not straight-forward for average readers. I agree we should use "Mutual TLS" here.

Copy link
Collaborator

@frankbu frankbu left a comment

Choose a reason for hiding this comment

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

Let's merge this and I will send a followup PR to address the remaining issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/security cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. kind/docs size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants