Commit Graph

39 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
adityasamant25 50d5e8ccfd
Correct the indentation in the cleanup section of the egress-tls-origination task (#15045) 2024-05-08 04:27:50 -07:00
Keith Mattix II 600676f54a
Fix egress mtls origination test (#14914)
* Fix egress mtls origination test

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Refactor the egress snips for tests

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Fix go.mod

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

* Remove unneded change

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2024-04-23 09:59:50 -07:00
John Howard bf71dc9b05
Remove note about insecure usage of TLS (#14910)
This is now secure by default!
2024-04-17 17:12: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
Eric Van Norman 46e09c42ab
Disable some failing tests (blocking issues created), fix others (#14763)
* Disable some failing tests (blocking issues created), fix others

* Update apiVersion

* Update apiVersion

* Remove comment
2024-03-21 12:46:05 -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
Eric Van Norman 90fba9ac70
Update to latest istio commit. Fix egress test (#14400) 2024-01-02 13:25:00 -08: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
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
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
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
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
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
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 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
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07:00
Navraj Singh Chhina 9bd857e565
Bump istio/istio dep and enable TLS origination tests (#7714)
* add missing cleanup for vs nginx

* bump istio and re enable tls origination tasks

* update istio to master

* bump to stable istio/istio

* make gen
2020-07-13 14:32:28 -04:00
Eric Van Norman 78088360fe
Update istio/istio ref and reenable tests (#7669)
* Update istio/istio ref and reenable tests

* Update istio/istio reference

* Update istioctl build to have version for images

* Fix lint and pull a newer istio/istio

* Disable egress tests
2020-07-09 13:29:32 -07:00
Frank Budinsky 01c4cce951
Add proper wait for config calls to tests (#7620)
* Add wait for config calls to tests

* two more
2020-06-24 09:48:29 -07:00
Frank Budinsky 25c3be4772
Some random poor quality doc fixes (#7589)
* Some random poor quality doc fixes

* change profiles
2020-06-19 11:25:02 -07:00
Hongyi Zhang 5fbb14bedc
Convert all old tests to new tests (#7522)
* add an example task to test

* main test function: save progress

* a working example: routing request

* improve log info and error handling

* introduce makefile

* run each test as a subtest; remove common setup from test.sh

* add another test.sh: fault-injection

* improve error handling

* check test environment

* add two more test.sh files

* fix make command for istio setup

* update two test.sh files from upstream

* add comments and update README.md

* update test.sh files from upstream

* support multiple test names

* update README

* update README.md for new framework

* remove documentation of migration steps

* undo format changes

* change separation line to '# @cleanup'

* move go code and makefile from content/ to tests/

* change package name

* make for loop more readable

* change the set of auto-sourced scripts

* add docs for all functions

* approach to deal with folders with the same name

* minor fixes to ensure everything still runs

* fix make gen error

* add a TIMEOUT argument

* make sure util/debug.sh works with new framework

* make lint-go happy

* [BIG CHANGE] allow different istio setup configs

* make linters happy

* make linters happier

* changed wording and function orders

* make error return as the 2nd argument

* add TODOs

* Update content/en/docs/tasks/traffic-management/traffic-shifting/test.sh

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* Update tests/README.md

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

* only test english docs

* Update tests/README.md

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

* allow test.sh as suffix

* move adding setup configs to tests/setup

* recommend full paths

* Update tests/README.md

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

* require full test paths

* converting old tests to new tests: traffic-management and misc

* converting old tests to new tests: security

* remove old tests

* Update content/en/docs/tasks/security/cert-management/dns-cert/test.sh

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

* simplify setup configs

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

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

* Update content/en/docs/tasks/security/authentication/mtls-migration/test.sh

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

* Update content/en/docs/tasks/security/authorization/authz-http/test.sh

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

* do not let istioctl prompt y/n

* Update content/en/docs/tasks/traffic-management/ingress/ingress-sni-passthrough/test.sh

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

* Update content/en/docs/tasks/traffic-management/ingress/secure-ingress/test.sh

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

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/test.sh

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

* simplify stuff

* rename dns-cert test.sh to test_broken.sh

* fix dns-cert doc and test

* remove egress=disabled

* fix test

* Update content/en/docs/tasks/observability/logs/access-log/test.sh

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

* Update content/en/docs/tasks/security/authentication/authn-policy/test.sh

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-11 11:15:48 -07:00
Navraj Singh Chhina e7616b2ac0
Disable ShellChecking for SC2164 (#7507)
* add missing cleanup for vs nginx

* disable SC2164 which checks safe cd

* make gen
2020-06-08 13:56:32 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
John Howard e9e963a617
Add TLS origination doc test (#7367)
* Add TLS origination doc test

* Fix build

* Add header

* lint
2020-05-21 14:10:26 -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
Vadim Eisenberg 66f2d2a02c Use subset in the destination rule of TLS origination (#5795)
* use a subset in the destination rule for TLS origination

this way the TLS origination will only be applied for the traffic directed by the
virtual service for TLS origination. TLS origination will not be applied for the original TLS traffic

* add a check that the original TLS traffic works as before
2019-11-19 09:51:45 -08: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
Ryan Michela 351710d058 Egress TLS origination port 443 must be HTTPS (#5049)
* Port 443 must be HTTPS

* Port 443 must be HTTPS
2019-09-26 12:05:15 -04:00
Frank Budinsky ca7559cab2 Remove Nomad & Consul docs (#4805)
* Remove Nomad & Consul docs

* broken links

* more broken links

* more broken links

* fix spelling errors

* remove broken ref
2019-08-16 12:13:30 -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