Commit Graph

28 Commits

Author SHA1 Message Date
Vadim Eisenberg 2f1e1a6020 Use two separate ingress gateways for two hosts (#3529)
* use a separate gateway for bookinfo in the case of multiple hosts

* set the name parameter to be "istio" instead of "istio-ingressgateway"

Since the original istio-ingressgateway was deployed with the name parameter "istio".
Otherwise, the following error will be received:

The Deployment "istio-ingressgateway" is invalid: spec.template.metadata.labels: Invalid value: map[string]string{"chart":"gateways", "heritage":"Tiller", "istio":"ingressgateway", "release":"istio-ingressgateway", "app":"istio-ingressgateway"}: `selector` does not match template `labels`

The problem is that the "release" label contains the name parameter of helm template,
and if this label will not match in the new and the original deployments of istio-ingressgateway,
kubectl apply will fail.
2019-03-06 09:07:30 -08:00
Eric Van Norman 9dde74f016 Remove .b from cert path httpbin.new.example.com curl (#3495) 2019-03-06 07:40:33 -08:00
Jimmy Chen 4ff728348d restore the order of docs (#3503) 2019-03-05 06:18:33 -08:00
Jimmy Chen 692125f6b4 Add guide for external cert management at ingress gateway using SDS (#3224)
* add ingress sds

* update

* update

* Revise

* update

* Revise

* Update

* update

* revise

* update

* Remove key cert path when SDS is enabled

* Split SDS task into separate file

* Revise

* add mount/ and sds/

* fix broken link

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/_index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/mount/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Update content/docs/tasks/traffic-management/secure-ingress/sds/index.md

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>

* Revise

* Revise

* update

* Apply suggestions from code review

Co-Authored-By: JimmyCYJ <28548492+JimmyCYJ@users.noreply.github.com>
2019-03-01 15:28:31 -08:00
Martin Taillefer dd782b3d12
Improve the looks of warnings, info blobs, and tips. (#3181) 2019-01-31 12:11:53 -08:00
Vadim Eisenberg d6eb09bb9e clarify secure ingress gateway troubleshooting regarding killing the pod to reload certificates (#3112)
* put the instructions to kill the pod after checking that the key/certificate are loaded

* add "if you created the secret, but..." before killing the pod

* the secret <secret name> -> the <secret name> secret

* kill -> delete
2019-01-22 09:47:56 -08:00
Martin Taillefer 1c1242ffc4
Fix spelling and grammar stuff throughtout the site. (#3114) 2019-01-21 09:35:38 -08:00
Serge Bishyr d0c7df1b96 Fix the typo on the secure ingress page (#3012)
Fixed in the documentation command
- Typo, the `jsonpath` contain extra dot char: `.items[0]..metadata.name` instead of `.items[0].metadata.name`
- The jsonpath without a weapping in quote chars won't work on all the systems and could lead to some errors of type: `no matches found: jsonpath={.items[0].metadata.name}`
2019-01-02 09:57:28 -08:00
Vadim Eisenberg ced6ee13d1 rewrite the note about ingress gateway secret access (#2892)
* rewrite the note about ingress gateway secret access

* rewrite the sentence about deploying the ingress gateway in a separate namespace
2018-11-19 09:03:03 -08:00
Frank Budinsky f6f3b79a75 Clarify task wording (#2736) 2018-10-05 09:52:57 -07:00
Frank Budinsky ee2f55a5ad Add host header and some clarifications (#2643)
* Add host header and some clarifications

* small fixes

* tweaks

* another tweak

* egress -> ingress

* clarify
2018-09-18 10:11:25 -07:00
Vadim Eisenberg bb22b22308 Use kubectl with EOF instead of cat with pipe (#2620)
* handle kubectl create/apply -f - <<EOF

in the same way as "cat <<EOF | kubectl apply -f -"

* replace cat <<EOF | kubectl apply/create -f - with kubectl apply/create -f - <<EOF
2018-09-15 14:37:23 -07:00
Frank Budinsky 955dfc9700 remove -H flag no longer needed (#2320) 2018-08-20 09:39:50 -07:00
Vadim Eisenberg d5cb694285 Extend the secure ingress task with multiple ingress certificates/hosts (#2238)
* generate certificates in httpbin.example.com directory

* add initial section for ingress for multiple hosts

* add a cleanup step for the directories related to certificates

* fix formatting

* add subsection: Redeploy istio-ingressgateway with the new certificates

* rename httpbin-gateway into mygateway

* add redeployment of Gateway for two hosts

* add -o /dev/null -s -w "%{http_code}\n" to the bookinfo's curl

* fix italics in sending a request to bookinfo

* add verify that httpbin.example.com is accessible as previously

* add -v to curl to bookinfo, show certificates printed

* remove -n istio-system from virtualservice bookinfo

* add Host header to curl requests

* put empty lines around the code blocks

* fix spell checker errors
2018-08-16 11:52:04 -04:00
Christoph Held 4da4ded184 Added host header to curl command (#2181) 2018-08-13 09:25:34 -07:00
Oliver Liu 682db1e3e3 Update Security Concepts (#1912) 2018-07-30 20:46:36 -07:00
Jason Young c27351268b use kubectl for managing Istio API resources (#2002)
* use kubectl consistently throughout for Istio API resource C.R.U.D operations

xref: https://github.com/istio/istio.github.io/issues/1843

* fix typo

* review comments

* remove unnecessary instructions to use `replace` instead of `create`

* fix linter in `zh` content
2018-07-27 10:57:41 -07:00
Gregory Hanson 59e10c2495 bug with new certs getting picked up (#1987) 2018-07-26 11:45:22 -04:00
Frank Budinsky 7e66c3f40a Remove v1alpha3 notice (#1890) 2018-07-20 07:24:35 -07:00
Vadim Eisenberg 9de471a035 add a check of Envoy's certificates to the troubleshooting section (#1845)
* add a check of Envoy's certificates to the troubleshooting section

based on https://github.com/istio/istio/issues/7009#issuecomment-405195183

* fix tabs for lint checker
2018-07-17 04:56:36 -07:00
Vadim Eisenberg be5c87b2da add a sentence: When prompted, select `y` for all the questions. (#1844) 2018-07-17 04:54:36 -07:00
Martin Taillefer 597f7ce3b4
Enable more linting rules (#1824)
Fix feported linting errors.
2018-07-15 07:49:11 -07:00
Vadim Eisenberg 818e23232d Extend secure ingress troubleshooting (#1774)
* add ./ to the script to generate certificates

* add a step to verify the subject of the ingress gateway certificate

* add a step to verify the subject of the CA certificate

put the mutual TLS troubleshooting into a separate subsection

* fix the level of the mutual TLS troubleshooting

* remove redundant empty lines

* verify the subject is correct -> verify that the subject is correct

* another case: verify the subject is correct -> verify that the subject is correct
2018-07-12 08:00:37 -07:00
Stephen Gilson 98b999cdf7 Copy edit of Securing Gateways with HTTPS. (#1733) 2018-07-10 11:00:28 -07:00
Martin Taillefer 07ed229051
Simplify linking to GitHub content. (#1669)
- Add <github_file> <github_blob> and <github_tree> to make it simpler to link to the right
place on GitHub.

- Use these new sequences throughout the docs.

- Also, fix bad HTML generated for the TOC in certain cirsumstances.

- Fix extra blank line inserted at the bottom of indented code blocks.
2018-07-04 04:16:49 -07:00
Martin Taillefer 0541000be8
Switch from ``` to {{< text >}} to indicate text blocks. (#1644)
This fixes a number of cases of incorrect formatting of code blocks
throughout the site.
2018-06-30 07:11:21 -07:00
Vadim Eisenberg 580c9e0dec Finalize secure gateways task (#1625)
* change title to Securing Gateways with HTTPS

* rephrase the reference to the ingress task
2018-06-28 09:31:28 -07:00
Vadim Eisenberg 201cbd5928 Add secure ingress task (#1590) 2018-06-28 06:50:03 -07:00