Commit Graph

71 Commits

Author SHA1 Message Date
刘旭 87d20b5d3e
fix weak algorithm (#10545) 2021-11-29 20:41:42 -08:00
John Howard db62971c31
Expand the gateway-api docs for 1.12 (#10481)
* Expand the gateway-api docs for 1.12

This introduces a lot more details, highlights changes in 1.12, and
discusses the differences between Istio and Gateway-API.

* erics comments

* clarify

* gen
2021-11-12 13:34:44 -08:00
Eric Van Norman df10dca654
Update test ref (#10423)
* Update to latest istio/istio commit for istio.io tests

* Update to latest istio commit

* Additional istioctl analyze output

* Fix istioctl-analyze test

* Fix gateway doc

* Fix setting of INGRESS_HOST and more cleanup

* Fixes for unbound INGRESS_HOST

* lint fix

Co-authored-by: John Howard <howardjohn@google.com>
2021-10-20 09:07:12 -07:00
Eric Van Norman 3b2cd03943
Update test reference to latest istio (#10336)
* Update test reference to latest istio

* Update helm output

* Update install/operator test to allow <pending> IP for running locally.

* fix lint

* Gateway changes

* Fix gateway

* Remove remaining webhook to make tests pass

* Change to use istioctl tag remove
2021-09-16 11:53:40 -07:00
Istio Automation c01da14edd
[master] Add the information that you can concatenate CA certs (#10057)
* Add the information that you can concatenate CA certs

Add the information that you can concatenate CA certs if you want to accept MTLS from client providing certificate signed by different CAs

* english review comments

* adding back key and also adding "value"

Co-authored-by: Laurent Demailly <ldemailly@gmail.com>
2021-07-11 13:26:54 -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
Brian Avery 8f9f335365
Add table of contents test status (#10010) 2021-06-29 09:55:49 -07:00
刘旭 7dbf1b0d1f
use sha256 (#9981) 2021-06-25 07:26:16 -07:00
Kenjiro Nakayama 4c52540083
Update Gateway API doc (#9889)
* Update Gateway API doc

This patch updates Gateway API doc to use:

- Gateway CRD v0.3.0
- Remove `PILOT_ENABLED_SERVICE_APIS` as it is enabled by default.

* Run make gen
2021-06-07 09:13:05 -07:00
Frank Budinsky ff6edbb5bb
Fix recently changed doc aliases with temporary /latest hack (#9740) 2021-05-13 12:43:53 -07:00
Eric Van Norman d9658dae3d
Restore istioctl experimental wait in _wait_for_istio() (#9426) 2021-04-05 13:02:04 -07:00
John Howard 984dbf0e01
Add info about SNI routing (#9276)
* Add info about SNI routing

* Apply suggestions from code review

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

* add to common problems

* address comments

* fix lint

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2021-03-24 16:19:29 -07:00
Shamsher Ansari f23fcb5fb0
Rename Service APIs to Gateway API (#9347)
* Rename Service APIs to Gateway API

* update alias

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

* fix missing url

Co-authored-by: craigbox <craigbox@google.com>
2021-03-22 07:29:35 -07:00
craigbox 6b0fde5d3e
s/service-apis/gateway-api/ (#8988)
* Update index.md

* Update index.md
2021-02-16 13:14:39 -08:00
jacob-delgado 5c1db367d0
1.9.0 announcement (#8910) 2021-02-09 10:01:18 -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
Sam Naser 6abdcec827
Service API task doc test (#8796)
* mark as tested

* generate snips

* test progress

* add -I to curl output in command

* regenerate snips

* doc test fixes

* Add HTTP/1.1 to expected output

* change to use verify_elided
2021-01-20 08:38:48 -08:00
John Howard aa8a33a823
Fix gateway example (#8787)
Fixes https://github.com/istio/istio.io/issues/8786
2021-01-15 16:01:06 -08:00
John Howard 92600cee30
Use correct CRD version (#8724)
Forgot to update after the official release
2021-01-05 06:31:55 -08:00
carolynhu 40e39adde9
Fix wrong link for Control Ingress Traffic task (#8679) 2020-12-17 06:33:03 -08:00
Frank Budinsky 66b9b52f04
Reorder ingress tasks (#8617) 2020-12-03 09:03:26 -08:00
John Howard eee75c78d7
Add documentation for experimental service APIs integration (#8497)
* Add documentation for experimental service APIs integration

The intent of this doc is to show users that Istio supports
service-apis, and the few steps needed to use them with Istio. It is NOT
intended as a source of truth for documentation for the APIs, deferring
to the upstream for all details
(https://kubernetes-sigs.github.io/service-apis/).

* apply suggestions

* Apply suggestions from code review

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-12-03 05:58:24 -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 132c2375bc
Add wait for gateway to multicluster tests (#8346)
This required some other changes WRT verification:

- Change __cmp_like to allow for not accepting <pending> for an IP address.

- Change __verify_with_retry to use a timeout rathan than number of retries. This is a more intuitive interface and aligns with the way we do retries in istio/istio. I also got rid of exponential backoff and allow both the timeout and delay between retries to be configured.
2020-10-26 06:45:38 -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 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
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
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
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
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 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
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
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
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
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -04: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
John Howard 4ca257992a
Refactor Secure Ingress tasks (#7025)
* Refactor Secure Ingress tasks

Ingress SDS is now the default and recommended. This removes the file
mount task, which is no longer recommended and will avoid confusion, and
cleans up the task a bit. I also documented the new supported secret
formats.

* use archive
2020-04-14 08:53:28 -07:00
John Howard 494b0d0219
Add documentation on Ingress support (#7012)
* Add documentation on Ingress support

Istio has supported Ingress for quite a while, but its not documented.
This explains how to use it and configure it.

Note to docs reviewers: Gateway is Istio's alternative to Kubernetes'
Inrgess object, and we prefer users to use Gateway. However, for reasons
like legacy users, we also support Ingress.

* fix lint

* fix lint

* fix lint

* improvements

.

* Apply suggestions from code review

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-03 11:51:30 -04:00
John Howard 6baafb5ef2
Remove cert-manager task with reference to new integration page (#6936)
* Remove cert-manager task with reference to new integration page

* fix alias

* Fix dead lines
2020-03-23 11:58:11 -07:00
Jimmy Chen 4cbae1d119
Update index.md (#6688)
Remove the container specifier from troubleshooting section, as in 1.5 the gateway and sds agent are running in the same container.
2020-03-02 14:43:10 -08:00
Vadim Eisenberg 30f40a0e7b
rewrite Secure Gateways (SDS) to use openssl for generating certs/keys (#6190)
* rewrite Secure Gateways (SDS) to use openssl for generating certs/keys

additional improvements:
1. Generate and use client certificate/private key for mutual TLS
2. Do not use quotes in YAMLs where not required

* add removing csr files and client.example.com files

* delete the directories with the certificates -> delete the certificates and the keys
2020-02-21 10:54:31 -05:00
Eric Van Norman ba89d40479
Fix spelling (#6510) 2020-02-20 07:48:55 -08:00
Bryant Hagadorn 87839e0d90
Updated cert-manager version (#6377)
* Updated cert-manager version

As of v.10 of cert-manager the `apiVersion` has changed to `cert-manager.io/v1alpha2`

* Edit Cert as well
2020-02-05 08:09:51 -08:00
Vadim Eisenberg ef932a9bb7 use openssl to generate certificates and keys (#6191) 2020-01-06 14:16:28 -08:00
Martin Taillefer c863bea599
Content changes to prepare to switch to the new Hugo. (#5993)
These fix problems encountered when switching to the new Hugo which has
a completely different markdown engine. I went through diffs of the generated
HTML and made required adjustments.
2019-12-05 12:44:01 -08:00