Commit Graph

43 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
Frank Budinsky bfb9ab95ef
gateway-api: use v1 resources in examples (#14898) 2024-04-17 10:09: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
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
Frank Budinsky 2c52b04283
gateway-api: fix broken links and use v1beta1 in examples for now (#14662) 2024-02-27 13:30:16 -08:00
Keith Mattix II 3c94567ce1
Change Istio Classic terminology to Istio APIs (#13385)
* Change Istio Classic terminology to Istio APIs

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

* Fix stutter

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

* Change back parallel structure formation

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

---------

Signed-off-by: Keith Mattix II <keithmattix@microsoft.com>
2023-06-16 07:02:06 -07:00
Frank Budinsky b64832ac53
gateway-api: future proof gateway address (#12961)
* gateway-api: future proof gateway address

* regen
2023-03-28 14:28:39 -07:00
Frank Budinsky 0d65b3888d
gateway-api: change wait ready to wait programmed (#12937) 2023-03-24 12:12:01 -07:00
Frank Budinsky 96f0beac50
Add missing --set to install command (#12651)
* Add missing --set to install command

* remove quotes

* use @

* typo

* temporary disable prow dir

* remove temporary stuff
2023-02-13 17:01:40 -08:00
Niranjan Shankar 7e7cad05f3
Update Gateway selector in ingress demo for Helm Installation (#12486)
* Update ingress demo Gateway for Helm Installation

Signed-off-by: nshankar13 <nshankar@microsoft.com>

* Update tests

Signed-off-by: nshankar13 <nshankar@microsoft.com>

---------

Signed-off-by: nshankar13 <nshankar@microsoft.com>
2023-02-03 10:17:32 -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
Michael 06af444207
Fix a link in /tasks/traffic-management/ingress/ingress-control/ (#12322) 2022-12-02 08:46:13 -08:00
Frank Budinsky fd22c1babf
Add instructions for accessing ingress gateway installed using Helm (#12308)
* Add instructions for accessing ingress gateway installed using Helm

* typo

* fix label selector

* regen

* remove extra space
2022-11-29 10:40:18 -08:00
Eric Van Norman 0286955762
Update to latest 1.16 commit (#12215)
* Update to latest 1.16 commit

* Move to a later 1.16 commit

* Add temporary delay to allow gateway to delete
2022-11-11 21:07:11 -08:00
Frank Budinsky d9970beaa3
gateway-api: enable mutual tls test (#12156)
* gateway-api: enable mutual tls test

* verify_failure should retry

* fix
2022-10-31 13:27:43 -07:00
Frank Budinsky 3a2d27a49b
A few doc layout and clarity improvements (#12115) 2022-10-18 09:45:23 -07:00
Frank Budinsky dd6b1c09cc
gateway-api doc: ingress-sni-passthrough (#12087)
* gateway-api doc: ingress-sni-passthrough

* use kustomize for crds

* debug

* more debug

* use standard crd install

* try profile=none

* uninstall

* confirm install

* disable test for now

* regen
2022-10-17 10:39:10 -07:00
Frank Budinsky d0fadfed00
Add gateway-api instructions: secure-ingress (#12051)
* Add gateway-api instructions: secure-ingress

* fix lint and test

* fixes

* mtls problem

* not work

* update option key

* regen

* mtls support

* wait

* improvements

* longer timeout

* lint
2022-10-07 12:37:15 -07:00
Frank Budinsky 5e89d73d81
Add gateway-api instructions to getting-started and bookinfo docs (#12021)
* Add gateway-api instructions to getting-started and bookinfo docs

* fix lint

* fix cleanup

* regen

* fix lint

* fix setup

* fix include path

* v1alpha2 -> v1beta1

* regen

* install k8s crds

* fix lint

* fix cleanup

* lint

* workaround duplicate crd problem

* fix cmd

* fixes

* lint

* more fixes

* typo

* regen

* uncomment failing snip

* no choice in getting-started

* lint

* typo

* remove duplicate section title
2022-10-03 12:11:48 -07:00
Eric Van Norman afd153c961
Fix ingress control doc related to other providers and numbering (#11969)
* Fix ingress control doc related to other providers and numbering

* Run make gen

* Add back TCP_INGRESS_PORT

* Revert to dash seperator for consistency
2022-09-20 10:37:38 -07:00
Rodrey 7f608e925a
Update index.md (#11886)
* Update index.md

Added a quick tip for Kind users to get LoadBalancers to work.

* Added more context on Kind-related tip.

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2022-09-14 17:58:14 -07:00
Istio Automation d39873ede8
[master] Add minikube in the instructions per Kubernetes environment (#11613)
* Add minikube in the instructions per Kubernetes environment

I was coming from https://istio.io/latest/docs/examples/bookinfo/ "Follow these instructions to set the INGRESS_HOST and INGRESS_PORT ..." and did not realize I would have to setup the minikube tunnel as explained in the [Getting Started Guide](https://istio.io/latest/docs/setup/getting-started/#determining-the-ingress-ip-and-ports)

For this reason I suggest to add it here as well.

* incorporated reviewers suggestions

* snips and tests for the new code snippet in docu

* ran make snips
* updated test.sh with the new functin names
* also the functions
  snip_determining_the_ingress_ip_and_ports_{3,5,6,7,8,9} have changed
  but they seem not to be used in test.sh

* followed reviewer suggestion to revert sip numbers

- used the annotation snip_id=none to skip the snippet, see https://github.com/istio/istio.io/blob/master/tests/README.md
- took back the snip renumbering
- checked that generating snips does not bring them back again: make
  snips

* used custom name for generated snip

- now using minikube_tunnel as snip_id, resulting in a generated snip id snip_minikube_tunnel
- apparently still the remaining snips get renumbered
- updated test.sh with the 2 changed snip calls

Co-authored-by: Martin Knechtel <martin.knechtel@sap.com>
2022-07-20 08:35:39 -07:00
Eric Van Norman 9689696934
Update minikube instructions related to ingress host and port (#11326)
* Update minikube instructiuons related to ingress host and port

* Rune make gen

* Update test script with new snippet names (renumbered)
2022-05-24 07:48:10 -07: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
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
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
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11: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
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
Eric Van Norman ba89d40479
Fix spelling (#6510) 2020-02-20 07:48:55 -08:00
Martin Taillefer 6165cb9821
Replace cookies with local storage. (#5949)
- We don't need cookies for istio.io, the few settings we do have should be
managed with browser-local storage instead. This is a better privacy posture,
and avoids sending needless data to the server for every request.
2019-12-02 13:02:51 -08:00
Martin Taillefer 4d4e6ae28e
General cleanup items. (#5325)
- Fix a bunch of heading capitalization.

- Remove words that shouldn't be in the dictionary
and update the text accordingly.

- Added a few @@ sequences to reference content files from text blocks.

- Used a few {{< source_branch_name >}} sequences to refer to the proper
branch in GitHub rather than master.
2019-11-04 06:41:54 -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
Frank Budinsky c8ac8eb91c Better organize operations guide material (#5163)
\
2019-10-16 09:59:04 -07:00
Adam Miller 07178c1348 Reorganized the Operations node (#4765) 2019-08-16 16:03:31 -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