Commit Graph

129 Commits

Author SHA1 Message Date
Kalya Subramanian 56eb12c044
AKS Egress instructions (#13967)
Signed-off-by: Kalya Subramanian <kasubra@microsoft.com>
2023-10-09 12:37:22 -07:00
Frank Budinsky e8e9b35f2c
gateway-api: doc tests should not run with alpha CRDs by default (#13782)
* gateway-api: Doc tests should not run with alpha CRDs by default

* Fix broken tests

* cleanup

* replace bad wikipedia server ip
2023-08-30 17:15:08 -07:00
ognyvrac c71712c34d
Add warning for TLS verification in TLS origination guide (#13472)
* TLS verification

* add whitespace

* fix indentation

* use relative url

* apply comments
2023-06-29 06:02:03 -07:00
Faseela K 01da15421a
Add docs for ocsp staple support (#13307)
* Add docs for ocsp staple support

Signed-off-by: Faseela K <faseela.k@est.tech>

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

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

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2023-06-08 11:58:05 -07:00
Wei Shan Sun 3a1d24e297
Update doc for internal IP ranges for egress control (#13287)
* clarify the internal IP ranges for IBM Cloud Kubernetes Service

* Trigger Build

* add example of the command output

* paraphrase the text

* update snips.sh
2023-06-08 06:30:04 -07:00
Faseela K 31fbb11a68
Enhance mTLS origination example (#13297)
* Enhance mTLS origination example

Signed-off-by: Faseela K <faseela.k@est.tech>

* rebase

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-06-07 00:08:03 -07:00
Faseela K 8ba8228b1a
Add proxy-config secret command for verification (#13294)
* Add proxy-config secret command for verification

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix test failure

Signed-off-by: Faseela K <faseela.k@est.tech>

* remove secure-ingress changes

Signed-off-by: Faseela K <faseela.k@est.tech>

* incorporate review comments

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-06-06 10:19:49 -07:00
Faseela K 504290f56d
remove unused SE cleanup step (#13295)
Signed-off-by: Faseela K <faseela.k@est.tech>
2023-06-06 07:55:48 -07:00
Faseela K 5dfb323027
Document CRL usage (#13275)
* Document CRL usage

Signed-off-by: Faseela K <faseela.k@est.tech>

* incorporate review comments

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix lint

Signed-off-by: Faseela K <faseela.k@est.tech>

* Update content/en/boilerplates/crl-tip.md

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

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2023-06-05 06:21:18 -07:00
Mariam John 8b3aae7f9e
Cleanup some old documention left over in Egress task (#12832)
`Configure traffic through egress gateway with SNI proxy` section was removed from the docs in the 1.14 release
but that is still mentioned in the setup instructions for the task `Egress using Wildcard Hosts`.
2023-03-06 06:12:44 -08:00
Eric Van Norman 510f278525
Update lint checker configuration. (#12602)
* Update lint checker configuration.

* Uses mdl.rb in the root

* Fix trailing lines

* Reset mdl.rb

* Fix for adding an empty line
2023-02-07 13:18:34 -08:00
Eric Van Norman 93ea5bb3ae
Update values so istioctl x wait works (#12508)
* Update values so istioctl x wait works

* Remove extra values

* Update all snippet instances of `istio install` for wait_for_istio

* Fix value
2023-01-24 15:46:18 -08:00
Frank Budinsky 565ddc4cc5
Fix wildcard egress section titles (#12513) 2023-01-24 14:57:48 -08:00
Faseela K caf376ef37
fix egress-tls-origination test (#11857)
The test waits for vs resource, that is not even created.
Wait on SE and DR is only needed.

Signed-off-by: Faseela K <faseela.k@est.tech>

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-09-08 06:09:21 -07:00
Faseela K 13da430536
egress tls origination - clarify required RBAC (#11804)
Signed-off-by: Faseela K <faseela.k@est.tech>

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-09-06 07:22:31 -07:00
Tong Li 46eb244468
Replace experimental uninstall command with uninstall command (#11736)
* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Update content/en/docs/setup/upgrade/canary/index.md

Replace experimental uninstall command with uninstall command

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

* Apply suggestions from code review

Replace experimental uninstall command with uninstall command

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

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

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

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

* Replace experimental uninstall command with uninstall command

Signed-off-by: Tong Li <litong01@us.ibm.com>

Signed-off-by: Tong Li <litong01@us.ibm.com>
Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-08-25 08:00:21 -07: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 2525eb5ea5
Wildcard egress: remove arbitrary domain section (#11291)
* Wildcard egress: remove arbitrary domain section

This doc has been a nuisance for many years. It recommends an extremely
complex and dangerous pattern, relying on deploying nginx, extremely
complex EnvoyFilters enabling unsupported, custom, alpha Envoy c++
filters, and a number of other scary practices. IMO this does not belong
in Istio docs at all, and certainly not in our top level taks.

* Add back single wildcard

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-06-06 15:36:31 -07:00
Faseela K 471750a0f1
Egress TLS Origination - fix typos (#11332)
Signed-off-by: Faseela K <faseela.k@est.tech>
2022-05-20 05:59:30 -07:00
Faseela K db2b88790e
Document Egress mTLS origination at sidecar using credentialName in DR (#11301)
* Documentation for egress mTLS origination at sidecar using credentialName in DR

The feature is already merged. So trying to add a documentation for the same.

Signed-off-by: Faseela K <faseela.k@est.tech>

* Remove duplicate code and point to the existing documentation

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix test failures

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix test failures

Signed-off-by: Faseela K <faseela.k@est.tech>

* Add tests for mTLS origination at sidecar

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-05-19 08:16:58 -07:00
Frank Budinsky a326daa3e0
Add webhooks to test framework snapshot (#11281)
* Add webhooks to test framework snapshot

* missing return

* fix lint

* some fixes

* more fixes

* final fixes

* one more
2022-05-13 10:12:49 -07:00
Frank Budinsky 616d2afdc4
Possible fix for test flake (#10982) 2022-02-28 11:19:58 -08:00
Frank Budinsky 3d8e81d7d9
Document EnvoyProxy priority problem (#10935)
* Document EnvoyProxy priorty problem

* fix lint

* make more future-proof

* tweak
2022-02-23 21:04:00 -08:00
Istio Automation 3d1ad88e4b
[master] GKE typo fix (#10881)
* Typo fix for GKE

* make gen

Co-authored-by: Noah Nsimbe <37845280+NoahNsimbe@users.noreply.github.com>
Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2022-02-08 17:07:55 -08:00
Faseela K ac40646148
Remove unwanted cleanup step in mtls example (#10778)
Signed-off-by: Faseela K <faseela.k@est.tech>
2022-01-12 08:19:07 -08:00
Faseela K d99f954936
Minor fix in egress mtls example cleanup (#10720)
* Minor fix in egress mtls example cleanup

The document mentions some resources for cleanup
which are not actually created as part of this exercise.

Signed-off-by: Faseela K <faseela.k@est.tech>

* Adding make gen output files

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-01-05 15:23:28 -08:00
刘旭 87d20b5d3e
fix weak algorithm (#10545) 2021-11-29 20:41:42 -08: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
John Howard 6df4ad7635
Remove warning about removed limitation (#10030)
* Remove warning about removed limitation

This hasn't been accurate since ~1.8

* fix other occurance
2021-07-09 14:11:47 -07:00
Eric Van Norman 341db5d855
Update istio test refererence for 1.10 (#9680)
* Update istio test ref

* Change test back to previous instructions as regression was reverted
2021-05-04 14:59:29 -07:00
Eric Van Norman 517c0208e3
Update istio test ref - fix timeout failures? (#9325)
* Update istio test ref - fix timeout failures?

* Go back to figure out why ext cp setup is failing (samples not starting)

* Again including #31560

* After 31561

* Past #31410

* test ref sha=688973e58828ffbcff2ccd9eeab41a12527c217a

* test ref 9d5ba69765 #31401

* Update test ref to latest istio and change 504/408 for egress test

* Update to get around quay.io outage
2021-03-23 06:29:04 -07:00
Meng Wang 4ed801d0f8
Wildcard configuration for arbitrary domains with non root user (#9350)
* Wildcard configuration with non root user

* Generate snips.sh for wildcard-egress-hosts
2021-03-22 12:41:07 -07:00
Eric Van Norman 1822198759
Remove content-length from egress test (#9148) 2021-03-08 08:57:32 -08: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
Eric Van Norman 5d984eb560
Update istio.io/istio ref to 1.9.0-beta.0 (#8562)
* Update istio/istio ref to latest master

* Move to latest before testing.

* Update release in Makefile

* Fix some tests

* Update to latest isti.io/istio again

* Update to latest istio.io/istio

* Update to latest istio.io/istio

* Update ref to latest master

* Fix instioctl-analyze

* Add back @howardjohn commit I inadvertantly deleted

* Fix lint

* Pick up new stio: fix empty iop read from stdin for operator

* go mod tidy without itermediate go gets

* Update to current stats-filter's

* Needed another 'make gen'

* More go.* changes for changes in ref'd istio/istio

* Update istio to 1.9.0-beta.0
2021-01-19 11:57:22 -08:00
Frank Budinsky 4fac23cf3d
Some traffic management doc fixes (#8673) 2020-12-16 08:41:55 -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
Nathan Mittler 616f45b1d5
Several test framework improvements (#8524)
Overview of the changes:

- Adding ability to verify that expected output occurs a number of times consecutively. This is needed for https://github.com/istio/istio.io/pull/8402.

- Moving snapshot checking logic to Go code so that it can be separated out into separate test steps, which are timed and contain their own output directories/files. This makes the code cleaner and also makes the snapshot logic more transparent.

- Updating debug.sh to use newer bash syntax that allows it to dynamically select a free file descriptor. Without this, I was seeing all commands echoed to my console in goland.
2020-11-23 09:23:54 -05:00
Frank Budinsky cb14c08f69
remove unused cleanup step (#8370) 2020-10-27 08:53:37 -07: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
Eric Van Norman 459c6e56a0
Fix flaky failure (#8204) 2020-09-24 14:00:15 -07:00
Eric Van Norman 4b19932627
Test flake - increase timeout and echo actual wait duration. (#8198) 2020-09-24 14:00:07 -07:00
Eric Van Norman 70d361b30d
Try different timeout for tasks/security/authorization/authz-ingress (#8163)
* Try longer timeout for tasks/security/authorization/authz-ingress/test.sh

* Go back to old 5m timeout and add failure on timeout back in

* Test with individual wait_for_istio call updates

* Revert to simply changing timeout (but keep duration in output)

* Fix call

* Comment out istioctl wait call

* Add TODO remark

* Fix lint error

* Add temporary sleep until _wait_for_istio is re-enabled

* Add wait for sleep deployment to complete
2020-09-22 19:25:13 -07:00
Eric Van Norman d56bada3e6
egress-gateway-tls-origination - Additional secrets need cleaning (#8175)
* Additional secrets need cleaning

* Missed make gen
2020-09-21 10:32:31 -07:00
Frank Budinsky f4cf61ec5d
Simplify startup of egressgateway-with-sni-proxy (#8148)
* Simplify startup of egressgateway-with-sni-proxy

* fix

* set value
2020-09-17 07:39:48 -07:00
Eric Van Norman cc1a34f99c
Update test reference - master (#8103)
* Update test reference

* Test framework changes

* Another required change

* Update Tag to 1.8

* Pick istio/istio commit that actually exists

* Disable ISTIO_META_DNS_CAPTURE

* Add --skip-confirmation to istioctl installl commands

* Increase test timeout. First pass at fixes.

* Update to later istio/istio that fixes DNS and minor fixes

* test fixes

* Pick up go.mod `replace` changes from #8118

* Fix istioctl-analayze and mirror

* Fix mtls-migration test

* Update istio to include commit to fix egress

* Re-enable verify with fix

* Update istio/istio ref for egress fix

* Fix tasks/security/authorization/authz-td-migration - remove ns

* Shorten wait timeout so tests complete in under an hr

* Let tests continue after wait timeout

* Fix --skip-confirmation to -y and use yes | in tests

* revert yes | to echo y |

* Additional echo y fix

* Code review comments

* Change verify from same to contains as k8s 1.19 has extra warning lines.
2020-09-16 11:44:20 -07:00
Frank Budinsky f75e329945
Remove hardcoded cluster-ip-range (#8149) 2020-09-15 17:10:38 -04: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