Commit Graph

48 Commits

Author SHA1 Message Date
Craig Box 9140d5208c
Update to v1 in all API examples (#15515)
* s/v1[ab].*/v1/g

* Fix tests with new snip versions

* always be kind
2024-08-06 22:59:22 -04:00
Craig Box ba064414ff
Update documentation to not refer to experimental Gateway APIs (#15150)
* Update documentation to not refer to experimental APIs

* missed TCPRoute, we did have one example of that

* fix snip

* and again

* and again

* caught error, thanks @ericvn!
2024-05-21 21:56:02 -04:00
Frank Budinsky bfb9ab95ef
gateway-api: use v1 resources in examples (#14898) 2024-04-17 10:09:41 -07:00
Frank Budinsky e30ab6491d
Add namespace labels to test framework diff snapshots (#14773)
* Add namespace labels to test framework diff snapshots

* fix lint

* failing tests

* more failed tests

* more failures

* more fixes

* one more

* fix fault injection
2024-03-25 09:07:25 -07:00
Frank Budinsky c727b0c083
Fix snip generator stripping leading space in expected output (#14693)
* Fix snip generator stripping leading space in expected output

* also fix _out

* strip trailing newline

* regen

* tweak for readability

* remove ambient label
2024-03-07 12:29:19 -08:00
Frank Budinsky 2f77c0318d
Minor wording fixes to egress gateway doc (#14672) 2024-03-01 10:53:35 -08:00
Frank Budinsky 2c52b04283
gateway-api: fix broken links and use v1beta1 in examples for now (#14662) 2024-02-27 13:30:16 -08:00
Frank Budinsky a55a462cdc
gateway-api: istio.io/gateway-name -> gateway.networking.k8s.io/gateway-name (#14635) 2024-02-21 14:30:22 -08:00
seokyun.ha a32d28629a
add quote for istioctl command (#14632)
Co-authored-by: bluehorn07 <bluehornblues@gmail.com>
2024-02-21 06:20:22 -08:00
Simone Rodigari c130ecb3ea
[Egress Gateway task] Remove troubleshooting section and add tip for cert verification (#14577)
* remove troubleshooting section and add tip for cert verification

* remove indent and fix capitalisation

* add tip to verify cert for gateway api and update snips

* address frank's comments

* adjust egress-gateway/test.sh as per latest changes

* fix gateway api verify cert output

* verify contains snip out instead of hardcoded string

* fix indentation of command output for mtl verify cert

* remove apply PeerAuthentication and use _verify_same in test

* revert to verify_contains
2024-02-07 08:49:23 -08:00
Frank Budinsky 37f6ccccc1
Small improvements to egress gateway doc (#14502)
* Small improvements to egress gateway doc

* regen
2024-01-25 12:20:41 -08:00
Frank Budinsky a8a2de802c
gateway-api: add Gateway API instructions to egress gateways doc (#14473)
* gateway-api: add Gateway API instructions to egress gateways doc

* network policies

* regen snips

* gtw test

* demo profile

* fix test

* more test fixes

* use gw

* remove crds

* wait for routes

* fix snip

* try retry request

* sleep

* sleep longer

* try next section

* lint

* use profile none

* uninstall -y

* go.sum
2024-01-17 08:12:58 -08:00
Jakub Horák a5b270cba4
Improve clarity of Egress Gateway docs (#11458)
* Improve clarity of Egress Gateway docs

Make the step 13 more clear, since it is creating a DestinationRule in the test-egress namespace and not in the default namespace.

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway/index.md

Co-authored-by: craigbox <craigbox@google.com>

Co-authored-by: craigbox <craigbox@google.com>
2022-06-20 10:36:26 -07:00
John Howard a7c63369c4
Remove "file mount" egress gw doc (#10143)
* Remove file mount egress documentation

This is actively leading users down a bad practice. We previously did
the same for Ingress - the results were we got a lot less bugs about
file mount being very hard to use.

As is, users are directed here as the default - only if they happen to
know what "SDS" is (an implementation detail) will they realize the
other doc is better.

* gen snips

* fix test

* Fix inject
2021-08-26 10:16:00 -07:00
Pengyuan Bian 0546fa1223
Fix egress gateway command line set. (#9082)
fixes https://github.com/istio/istio/issues/31146
2021-03-01 09:18:24 -08:00
Eric Van Norman bea8d187e5
Silence curl command (#8773)
* Silence curl command

* Update more files with -sS (adding S to show errors)

* Over-agressive on the -S and causing some tests to fail.

* Remove more curl -S flags
2021-01-20 09:45:50 -08:00
Frank Budinsky a70e78f25e
Test cleanup (#8564)
* Framework inject set +e at start of cleanup test script

* tabs

* fix typo

* add nl

* fix doc
2020-11-24 16:26:19 -05:00
Frank Budinsky 7bf89ace1a
Update egress tasks (#8343)
* Update egress tasks

* regen
2020-10-23 09:37:52 -07:00
Roland Kool 0fa3b1b874
Add warning on egress gw instructions (#8214)
* Add warning on egress gw instructions

Documentation is misleading when repeating the steps for multiple
hosts. The example breaks down. Add a warning describing how to
configuration should look like when additional hosts are configured.

* fix typo

* change to tip, make text more compact

* change other warning as well
2020-10-09 06:15:10 -07:00
Frank Budinsky 82ceae7d73
Accessing external services task test and more egress task cleanup (#8064)
* Egress tasks cleanup and final test

* cleanup

* fix lint

* regen

* strip trailing space from output

* lint

* lint

* review comment

* regen

* fixes

* ignore space

* wait for istiod

* restart sleep

* regen

* fix sleep restart

* debug

* fix check

* fix

* more debug

* more debug

* cleanup and disable last check
2020-09-09 14:39:26 -07:00
Frank Budinsky 28d609fc84
Fix and test wildcard egress task (#8050)
* Fix and test wildcard egress task

* change startup

* change startup

* lint

* more lint

* fixes from vadim

* fixes

* fix gateway filter

* add EOF

* regen snips
2020-09-01 06:17:09 -07:00
Suchith J N 4b601f607e
automated test for zipkin dashboard and modify snippet generation to take boilerplate into account (#8003)
* automated test for viewing traces from zipkin dashboard (expectation is that traces are seen correctly)

* fix shellcheck linting errors

* remove verification of traces and just check if zipkin dashboard is accessible through port-forward

* Modify snippet generation logic to take {{< boilerplate >}} into account

* snippets for boilerplate

* fix shellcheck (linting) issues

* snippets generated with new logic

* automated test - check if zipkin dashboard is accessible by port-forwarding (as we cannot verify screenshot and the trace is already verified in istio/istio integration test

* clean up ZIPKIN_URL comment

* Address code review comments
1. Simplify boilerplate snippet filenames (remove .md_snips)
2. Sourced filenames should be in double quote(") instead of single quote(')

* fix gencheck_istio flake

* do not generate or include boilerplate snippets if there is not {{<text>}} in them

* fix linting errors in snip.py

* fix bug - filter out boilerplates without snippets very early
2020-08-26 08:37:50 -07:00
Neeraj Poddar 122ab65b1b
Add warning for network policy enforcement (#7967)
* Add warning for network policy enforcement

* Address review feedback
2020-08-17 11:31:01 -07:00
Frank Budinsky 41d56d97ff
Remove -it from kubectl exec calls (#7916) 2020-08-11 12:40:58 -07:00
Frank Budinsky 4801cd62fa
Verify test cleanup (#7889)
* Verify test cleanup

* disable istio-system checks

* more tolerant checks

* fix lint

* more lint

* limited check cleanup

* always check

* snapshot tweak
2020-08-11 08:19:21 -07:00
Navraj Singh Chhina e9d63da862
Egress Gateway Automated Doc Test (#7832)
* add missing cleanup for vs nginx

* add test

* fix sourcepod

* add ...

* use verify contains

* revert boilerplate

* disable SC2155

* remove waitfordep
2020-08-04 12:21:30 -04:00
Vadim Eisenberg 54113c6864
add warnings about using DNS resolution (#7788)
* add warnings about using DNS resolution

* the gateway perform -> the gateway performs

* Apply comments of @frankbu, part 1

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove "the" from "the DNS resolution"

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove the from "the DNS resolution", if ... were ... would -> if ... is ... will

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

* remove the from

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-26 10:42:55 -07:00
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07:00
Morven Cao 831950b1c9
fix egressgateway install. (#7674) 2020-07-07 07:44:05 -07:00
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Shamsher Ansari 183efe691c
Update http 1.1 to http 2 (#7301) 2020-05-13 07:09:42 -07:00
Jonh Wendell 30ea242d0d
Use `sniHosts` instead of `sni_hosts` in examples (#7178)
* Use `sniHosts` instead of `sni_hosts` in examples

* Trigger netlify
2020-04-29 07:55:32 -07:00
Gregory Hanson 2adfb33c25
Remove MTLS DR from Egress Gateway Task (#6795)
* celan up destination rule differences for auto mtls on by default

* lint fixes
2020-03-06 12:12:56 -08:00
Frank Budinsky 9fbae823c1
[Release-1.5] Remove tasks referring to the deprecated tool (#6587)
* Also remove faq mentioned it

* Also in egress task
2020-03-05 16:39:16 -05:00
Istio Automation 2edbaeaf4b
Remove deep dive mtls taks. (#6706)
* remove deep dive

* update links

* lint fixing egs gw

* more removal

* link 1.0.3 lint
2020-03-04 13:15:26 -08:00
Martin Taillefer ae41b8fcdd
Site improvements. (#6003)
- Update common files.

- Switch to latest Hugo version.

- Thanks to the new Hugo, retire the text_hack shortcode.
The hack is no longer needed.
2019-12-06 06:59:22 -08:00
Martin Taillefer 6165cb9821
Replace cookies with local storage. (#5949)
- We don't need cookies for istio.io, the few settings we do have should be
managed with browser-local storage instead. This is a better privacy posture,
and avoids sending needless data to the server for every request.
2019-12-02 13:02:51 -08:00
Frank Budinsky 60f73570f0 Another ops guide incremental improvement (#5830)
* Another ops guide incremental improvement

* fix broken links

* more lint errors

* one more lint

* fix aliases
2019-11-25 11:58:39 -08:00
Frank Budinsky a6a5769f12
Organize security tasks (#5474)
* Organize security tasks

* lint errors

* fixes

* more fixes
2019-11-07 15:54:27 -05:00
Martin Taillefer 4d4e6ae28e
General cleanup items. (#5325)
- Fix a bunch of heading capitalization.

- Remove words that shouldn't be in the dictionary
and update the text accordingly.

- Added a few @@ sequences to reference content files from text blocks.

- Used a few {{< source_branch_name >}} sequences to refer to the proper
branch in GitHub rather than master.
2019-11-04 06:41:54 -08:00
Frank Budinsky f220f655a7 Deprecate helm install (#5270)
* Deprecate helm install

* fix lint

* address review comments

* correction
2019-10-29 06:37:34 -07:00
Naoki Oketani 92eac8892c Quote jsonpath to support zsh (#5211) 2019-10-21 10:02:37 -07:00
Martin Taillefer d6445fc726
Update reference docs. (#5173)
preliminary.istio.io will now display reference material for the release-1.4 branches
of istio/istio, istio/api, and istio/operator.
2019-10-17 11:09:11 -07:00
John Howard fbc726c6b7 Remove usages of curl inside istio-proxy (#5073)
* Remove usages of curl inside istio-proxy

Distroless builds of Istio do not contain curl, so we should not tell
users to use it. Pilot-agent handles this functionality for us

* Fix lint error
2019-09-27 16:46:22 -07:00
Vadim Eisenberg 28db342298 Minor egress fixes (#5025)
* fix the protocol in an HTTPS URL

* add "Enable Envoy's Access Logging" step to egress tasks
2019-09-21 23:41:11 -07:00
Romain Lenglet 78a3473b94 Fix Envoy stats examples in egress docs (#4903) 2019-09-12 06:03:56 -07:00
Martin Taillefer d0cf1e171e
Move English content to content/en as agreed in WG meeting. (#4789)
Once this goes in, I'll move content_zh to content/zh.
2019-08-14 15:45:31 -07:00