Commit Graph

341 Commits

Author SHA1 Message Date
Pengyuan Bian 9422cf509a
add link to envoy attributes (#7979) 2020-08-19 10:53:11 -07:00
Suchith J N 366b1bfa4d
Automated test for customizing TCP metrics (#7944)
* automated test for customizing TCP metrics

* remove pullpolicy set to IfNotPresent

* fix python linter issues

* fix linting errors and address PR comments - fix verification steps

* fix verification and simplify patching configuration based on latest changes

* fix linter issues and the expression to grep (istio -> istio_requests_total)

* try with default profile instead of demo/none

* Edit documentation to use bookinfo for demonstration and add some more snippets

This is in-line with other observability tasks
https://preliminary.istio.io/latest/docs/tasks/observability/metrics/tcp-metrics/
https://preliminary.istio.io/latest/docs/tasks/observability/metrics/querying-metrics/
https://preliminary.istio.io/latest/docs/tasks/observability/metrics/using-istio-dashboard/

* fix linting errors - quoting the command to fetch productpage pod name

* change profile to default as it involves istio state changes and use _verify_lines to match multiple words
2020-08-19 10:14:12 -07:00
Eric Van Norman 1bc2f7de66
Updates to Kiali page (#7977) 2020-08-19 07:33:04 -07:00
Suchith J N 7eb06711d8
Automated test for Querying metrics from prometheus (#7966)
* automated test for querying metrics from Prometheus

* automated test for querying metrics from Prometheus

* remove IfNotPresent from tests/test.mk

* remove request timeout

* fix linter(shellcheck) issues

* address code review comments

* address review comments
2020-08-18 08:30:40 -07:00
Frank Budinsky ce4cbcf9a8
Deprecated tasks do not need tests + small fwording fix (#7971) 2020-08-18 06:45:39 -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
Kenjiro Nakayama d91deef0a0
Fix invalid inline code (#7963)
* Fix invalid inline code

* Change to tcpReportingDuration
2020-08-14 17:36:27 -07:00
Pengyuan Bian 976850a101
monir fix on metric customization doc (#7962) 2020-08-14 15:14:49 -07:00
Pengyuan Bian fffff79771
Clean up metric customization to get rid of envoyfilter based text editing (#7952)
* clean up metric customization to get rid of envoy filter based text
editing

* lint

* lint

* Apply suggestions from code review

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

* fix lint

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-14 09:54:32 -07:00
Shamsher Ansari a94027d955
Update zipkin dashboard images and tracing description (#7910)
* Update zipkin dashboard images

* Fix lint

* Remove words from .spelling

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

* crop zipkin list img and update list description

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-12 13:58:36 -07:00
Neeraj Poddar c94a3f2e80
Explain pod annotation overrides for tracing (#7923)
* Explain pod annotation overrides for tracing

* Review comments
2020-08-11 19:36:29 -07:00
John Mazzitelli a44e199c3b
[kiali] update for kiali that ships with istio 1.7 (#7913) 2020-08-11 13:06:08 -07:00
Frank Budinsky 41d56d97ff
Remove -it from kubectl exec calls (#7916) 2020-08-11 12:40:58 -07:00
Neeraj Poddar c018390966
Augment tracing configurability doc (#7907)
* Augment tracing configurability doc

* Minor fixes

* 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>

* Fix YAML snippet

* Review comments

* Fix lint errors

* Fix lint errors

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-08-11 10:34:24 -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 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
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Justin Pettit 877b438829
Authn policy (#7433)
* authn-policy: Point users to Istio installation guide.

Have users install Istio through the installation guide instead of
explicitly instructing them to run "istioctl manifest apply" in the
task.  This will make it easier to automate the task later.

* authn-policy: Make steps and expected response clear for testing.

* Add authn-policy user guide test.
2020-05-29 12:11:47 -07:00
Lin Sun a5fceca006
add a test for ingress SNI passthrough (#7380)
* add a test

* fix path

* fix lint 1

* fix lint 2

* hope to get lint pass now

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

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

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

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* Update tests/trafficmanagement/ingress/scripts/ingress_sni_passthrough.sh

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

* add fix from frank

* fix name

* update output

* mark test: yes

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-05-27 11:38:07 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Justin Pettit 21e03db9d9
Add authz-ingress user guide test. (#7407) 2020-05-27 06:40:06 -07:00
Frank Budinsky 77d3dc6bf1
Fix mirroring test (#7399)
* Fix mirroring test

* fix typo

* fixes

* export vars

* lint
2020-05-26 12:57:19 -07:00
Frank Budinsky 4e0103110d
Cleanup mirroring test (#7387)
* Cleanup mirroring test

* sleep

* fix mtls-migr cleanup

* debug

* debug2

* debug3

* debug4
2020-05-24 14:35:09 -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
Nupur Garg 666a081e79
Fix Documentation for Customizing Metrics and TCP Metrics Task (#7339)
* Fix Documentation for Customizing Metrics and  TCP Metrics Task
Ref: https://github.com/istio/istio/issues/23782
Ref: https://github.com/istio/istio.io/issues/7184
Ref: https://github.com/istio/istio.io/issues/7280

* fix lint

* Fix lint

* Fix lint

* Fix lint

* Fixed based on feedback

* Fix lint
2020-05-21 09:25:39 -07:00
Frank Budinsky e0e8648fe5
Clean up traffic shifting test (#7369)
* Clean up traffic shifting test

* add var

* v1beta1
2020-05-21 06:31:45 -07:00
Justin Pettit 46607a1c43
authz-td-migration: Don't error when deleting non-existent items. (#7361) 2020-05-19 18:20:20 -07:00
Justin Pettit 7782eb1d0a
Authz jwt (#7338)
* snip.py: Replace github file token with release-specific URL.

* verify.sh: Show the expected output as well as the actual output.

* snip.py: Update the githubfile regex to not include email addresses.

When generating snip scripts, pairs of "@" signs indicate a link to
GitHub repo content.  However, JWT attribute values contained pairs of
email addresses such as:

    `testing@secure.istio.io/testing@secure.istio.io`

which would be treated as an email address and mangled.  This commit
rewrites the regex to not match on email addresses.

* Add authz-jwt user guide test.
2020-05-17 13:51:45 -04:00
Frank Budinsky 90103ae557
Cleanup circuit breaking test (#7335)
* Cleanup circuit breaking test

* remove old files

* updated expected
2020-05-15 16:59:58 -07:00
Shamsher Ansari 879132e36e
Update Python and Java code snippet (#7330)
Netlify flake
2020-05-15 13:57:01 -04:00
jacob-delgado 86577d028e
Remove experimental link in feature status page; change to development (#7251)
Force merge because of Netlify
2020-05-15 13:15:37 -04:00
Justin Pettit 8cacec48de
Authz deny (#7315)
* Add authz-tcp user guide test.

* Add run and verify functions for user doc tests.
2020-05-14 16:10:20 -07:00
Douglas Reid b2a72e0ae2
Fix classify docs (#7290)
* fix(classify-metrics): remove problematic config

* add extra bit for catching config errors
2020-05-13 13:09:55 -07:00
Xavier Canal i Masjuan 40efd46787
Updating screenshots for kiali task (#7302) 2020-05-13 09:34:49 -07:00
John Howard 0f7c1cc467
Update circuit breaker docs (#7272)
* Update circuit breaker docs

* snips
2020-05-13 07:56:48 -07:00
Shamsher Ansari 183efe691c
Update http 1.1 to http 2 (#7301) 2020-05-13 07:09:42 -07:00
Shamsher Ansari 50793ab875
Add Type colomn for svc output (#7299)
Force merge because of netlify flake
2020-05-13 09:49:38 -04:00
jacob-delgado 48f82d8a21
Move comment to proper line (#7293) 2020-05-13 06:48:06 -07:00
John Howard 7038ff4a6d
Trivial grammar error fix (#7276) 2020-05-12 18:38:26 -07:00
Frank Budinsky 4f7622e3aa
More doc testing (#7253)
* Ingress control test

* Ingress control test

* fix lint

* fix package

* fix path

* improve _verify_like

* curl -s

* debug

* fix compare

* remove flaky verify call

* fix path

* regen
2020-05-12 05:58:07 -07:00
Frank Budinsky 80443a4b6c
Cleanup and fix TCP traffic routing test (#7265)
* Cleanup and fix TCP traffic routing test

* use ingress IP

* cleanup doc

* curl 20 times
2020-05-11 17:39:55 -07:00
mandarjog 4118c3bbd6
Fix yaml configuration and some explanation (#7252)
* Fix yaml configuration and some explanation

* fix lint

* Update content/en/docs/tasks/observability/metrics/classify-metrics/index.md
2020-05-11 13:40:41 -04:00
Shamsher Ansari 648ebcb1c5
Add default timeout (#7255)
Force merge because netlify flake
2020-05-11 13:09:47 -04:00
Justin Pettit e77f3e8e2d
Add authz-tcp user guide test. (#7176)
Force merge because of netlify flake
2020-05-11 10:25:00 -04:00
Frank Budinsky affe99f97a
More traffic management task tests (#7250)
* More traffic management task tests

* lint errors

* fix kubectl output

* fix arg check

* login to bookinfo

* curl --user

* temporary kludge for login not working

* fault injection test

* rename test

* fix cleanup

* timeouts tests

* regen

* make sure sleep pods are gone
2020-05-10 15:05:22 -07:00
Frank Budinsky dcfdce05dc
Delete all snippet generating code from istioio test framework (#7239)
* Cleanup and remove all snippet generateing from istioio test framework

* fix lint

* one more lint

* remove dead code
2020-05-08 06:07:34 -07:00
Shamsher Ansari f58fffb5d1
Update deprecated flags for meshConfig (#7236) 2020-05-07 09:54:26 -07:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04:00
Eric Van Norman 392a2bee14
Update test framework to use 1.6.0-beta.0 (#7214)
* Update test framework to use 1.6.0-beta.0

* Go back to copies from env var

* Add more test targets, fix mtls test (new PA added)

* Update to use Istio SHA from go.mod (convert to long SHA)

* Try and remove TAG from prow

* Debug TAG not being set

* Fix paralization issue

* Remove some extra output

* Review comments
2020-05-06 10:49:27 -07:00
Guy Templeton 9397d21b55
Correct Envoy Access Log links (#7226) 2020-05-05 16:47:09 -04:00
Oliver Liu 1e73594260
Restructure the cert management tasks. (#7209)
* Restructure the cert management tasks.

* Small fix.

* Fix references.

* Fix links

* Small fix.

* Update content/en/docs/tasks/security/cert-management/plugin-ca-cert/index.md

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

* Small fix.

* Change the weights.

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-05-04 14:57:29 -04:00