Commit Graph

276 Commits

Author SHA1 Message Date
Navraj Singh Chhina b76fd3d2f4
Using an External HTTPS Proxy Automated Test (#7886)
* add missing cleanup for vs nginx

* add test

* fix sourcepod

* add ...

* use verify contains

* revert boilerplate

* disable SC2155

* remove waitfordep

* add test

* fix newline

* weird cleanup

* add back test

* oops make gen

* Apply suggestions from code review

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

* weird cleanup

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-10 15:39:55 -04:00
Eric Van Norman b1f43215cd
Collecting Metrics for TCP Services automated test (#7826)
* TCP Metrics automated test

* Fix url and spelling

* More cleanup

* Cleanup - no browser tests

* More cleanup

* Updates - review comment, actually call Prometheus

* code review comments

* Add back second itstioctl kill
2020-08-10 10:22:07 -07:00
Shamsher Ansari fa94077d95
Update output for disable envoy access logging (#7899) 2020-08-10 06:14:57 -07:00
Navraj Singh Chhina 1cb1ce6a51
Egress Kubernetes Services Automated test (#7887)
* add missing cleanup for vs nginx

* add test

* move cleanup
2020-08-07 22:31:55 -07:00
Shamsher Ansari d5446d7ef1
Fix Prometheus and Grafana svc not found during observability (#7878)
* Fix Prometheus and Grafana svc not found during observability

* fix review comments
2020-08-06 12:49:29 -04:00
Frank Budinsky c84690b958
Fix broken circuit-breaking test (#7866)
* Fix broken circuit-breaking test

* supress stderr

* curl -quiet

* tweak
2020-08-04 16:42:23 -04: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
Lucas Ponce 6900c85d8a
Update Kiali overview (#7825) 2020-07-31 11:21:43 -07:00
Frank Budinsky e43d0b6ff5
Small doc fixes (#7818) 2020-07-30 07:04:43 -07:00
John Howard 265936889f
Update addon installation docs for 1.7 (#7802)
* Update addon installation docs for 1.7

* lint

* More fixes

* Update output
2020-07-29 13:02:27 -04:00
Vadim Eisenberg f00434d282
fix kubectl patch instructions for meshConfig.outboundTrafficPolicy (#7798)
take into account the case when meshConfig.outboundTrafficPolicy is not defined
2020-07-28 09:33:45 -07: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
Vadim Eisenberg 8e51aad4fa
use Istio Operator to control the policy of accessing external services (#7786)
set spec.meshConfig.outboundTrafficPolicy.mode to ALLOW_ANY or REGISTRY_ONLY

the previous approach does not work
2020-07-24 12:31:05 -07:00
Eric Van Norman db796eab17
Branch cut changes for release-1.7 (#7767)
* Branch cut changes for release-1.7

* Missed make gen
2020-07-22 09:12:06 -07:00
Navraj Singh Chhina 9dd06e5201
Minimum OpenSSL Version Required (#7763)
* add missing cleanup for vs nginx

* add openssl req

* Apply suggestions from code review

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-22 08:32:35 -07:00
Navraj Singh Chhina 5e0a9ce847
[Release 1.7] Egress Gateway TLS Origination using SDS (#7719)
* add missing cleanup for vs nginx

* init sds doc

* squash commits

add simple TLS task

address issues

fix lint and secret configuration

add secret format specification

add mutual TLS task

fix lint and rename older task

make gen again

fix name

keep old directory

add warnings

lint

fix cacert issue

lint

* secure

* make gen

* rebase master

* make secret types clearer

* Apply suggestions from code review

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

* run make gen

* lint

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* make gen

* add tls test

* move mesh creation

* suggestions

* add mtls test

* fix typo

* move secret section

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-21 12:00:40 -07:00
Istio Automation 47b600af7a
bugfix (#7761)
Co-authored-by: King Ye <kingye.me@gmail.com>
2020-07-21 09:20:27 -04:00
Navraj Singh Chhina d8ea809c56
Simplify TLS Origination with Gateways Task (#7754)
* add missing cleanup for vs nginx

* simplify TLS

* lint the task

* bug fix

* escape heredoc

* fix task

* remove unnecessary cleanup

* remove spaces

* address comments

* fix typo

* remove file func
2020-07-20 15:12:33 -07:00
Ismo Puustinen b2466fba09
kiali: fix a broken link. (#7738) 2020-07-20 10:20:14 -04:00
Gregory Hanson 4811aa23f8
Fix for Egress Gateway TLS Origination Task (#7732)
* one possible fix for egress tls origination fix

* update snips

* re-enable egress gateway mtls origination test
2020-07-20 10:09:29 -04:00
Morven Cao 61f317d145
fix quote issue for certificate generating command. (#7749) 2020-07-19 22:07:24 -04:00
Ram Vennam 1ea2db035e
typo (#7744) 2020-07-17 14:07:27 -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
Albert Sun 2f1ba00487
Add IBM Cloud Kubernetes Service specific instructions for node port Ingress Host (#7663)
* Add IBM Cloud Kubernetes Service specific instructions for Ingress Host

The previous instruction put IBM cloud under other environments, and the command set the Ingress Host to the wrong address.

* Update content/en/docs/setup/getting-started/index.md

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

* Moved IBM Cloud instructions above Docker

* Add IBM Cloud Node port Ingress host instructions to same documentation

* Update Ingress Control Tests

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

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

* update snips.sh

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

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

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

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

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

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-07-07 13:18:01 -07:00
Morven Cao 831950b1c9
fix egressgateway install. (#7674) 2020-07-07 07:44:05 -07:00
Frank Budinsky 93458dd587
Temporarily disable broken tests (#7667)
* Temporarily disable broken tests

* use @setup

* use @setup

* another one
2020-07-06 16:56:19 -07:00
Frank Budinsky 412f03105c
Kubernetes Ingress Test + fixes (#7662)
* Kubernetes Ingress Test + fixes

* cleanup

* fix circuit-breaking test

* fix lint

* remove -it
2020-07-06 07:54:35 -07:00
Frank Budinsky 0fd97d3817
No tests needed for deprecated docs (#7660) 2020-07-06 07:12:18 -07:00
Frank Budinsky eadc0629dc
Authz TD migration test (#7653)
* Authz TD migration tests

* cleanup

* remove samples source
2020-06-30 20:23:20 -07:00
Nicolas Haller 471cdfef12
Add selector on the squid deployment manifest (#7646) 2020-06-30 17:08:56 -04:00
Frank Budinsky 67e181ce34
More test framework doc (#7635)
* More test framework doc

* Update tests/README.md

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>

* Update tests/README.md

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>

* tweak

* tweak

* increase default retry

* increase retries to 8

* fix test failing

* disable istioctl install

* fix lint

Co-authored-by: Hongyi Zhang <hongyizhang@google.com>
2020-06-30 11:06:42 -07:00
Aurelie Vache 577611c1a2
fix(customize-metrics): typo (#7623) 2020-06-25 06:35:58 -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
Fernando Ripoll 0a8cb8313b
Replace deprecated api versions in EN docs (#7598) 2020-06-22 07:40:39 -07:00
Pengyuan Bian 52136f3809
fix identation of extra tags annotation (#7602) 2020-06-22 06:16:51 -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
John Howard ebed96e2bc
Add kiali integrations page (#7562)
* Add kiali integrations page

The primary purpose for this is to just have a page here for consistency
with other addons, most of the content still lives in the other doc I
link to here. That may change in the future but for now I think it makes
sense to just get something here and we can refactor in the future.

* Apply suggestions from code review

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

* Apply suggestions from code review

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-17 07:52:01 -07:00
Hongyi Zhang a4f252ff2c
fix bug where *_test.sh doesn't source snips.sh (#7545)
* fix bug where *_test.sh doesn't source snips.sh

* remove 'source snips.sh' from scripts
2020-06-12 11:12:53 -07:00
Navraj Singh Chhina 3f6e0312cf
Egress Gateway TLS Origination Test Suite (#7501)
* add missing cleanup for vs nginx

* Add test for Gateway TLS Origination

* fix copyright

* Add Gateway mTLS origination

* replace <password> with password

* fix lint and autogen yes response

* oops typos

* make gen

* escape SC2154 :)

* apply suggestions and fix lint

* squash commits and cleanup branch

wrong quotes

more typos

make snips again

linter :'(

make linter happy

newline blocks

make gen 2

tab linting

try this

change service deletion

oops was deploying sleep twice

ignore nginx version lines for expected response

add update snips

lint again

make snips 3

redo check

do some magic

do some magic 2

lint tabs

remove incorrect snip matching

hack tls origination sleep deployment

hack 2

* this test is super flaky

* delete virtual service

* move scripts

* move scripts

* move to new testing framework

end file with newline and cleanup

typo

* content length shouldn't be included in snips

* comment out the final HTTP check

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/mtls_test.sh

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

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/tls_test.sh

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

* Update content/en/docs/tasks/traffic-management/egress/egress-gateway-tls-origination/tls_test.sh

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

* ignore cleanup errors

* add source back in

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-12 13:04:06 -04: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
Douglas Reid bce48d42e7
refactor(telemetry): move wasm telemetry docs to proxy extensions (#7525)
* refactor(telemetry): move wasm telemetry docs to proxy extensions

* retry deleting dir

* update links

* lint cleanup
2020-06-11 10:56:49 -07:00
Hongyi Zhang 420a54447b
Migration to a new framework for doc testing (#7465)
* 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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-09 14:11:53 -07:00
Frank Budinsky 669e35b3ea
Cleanup access log test (#7513) 2020-06-09 13:39:59 -07:00
Iris 2bb1952f32
add test for Access log (#7423)
* add test for access log

* fix k8s test

* fix k8s test
2020-06-09 06:59:09 -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
Jonathan Kogan 55e4e8e118
Fixed code typo (#7489) 2020-06-05 14:06:05 -07:00
jacob-delgado c29007987c
Add example for proxy.istio.io/config annotation (#7348)
* Add example for proxy.istio.io/config annotation

* Code review comment

* Update content/en/docs/tasks/observability/distributed-tracing/configurability/index.md

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

* Update content/en/docs/tasks/observability/distributed-tracing/configurability/index.md

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-06-04 19:30:49 -07:00
Frank Budinsky 1d5fa543ef
Fix circuit-breaker snips (#7475) 2020-06-04 19:23:44 -07:00