Commit Graph

152 Commits

Author SHA1 Message Date
Daniel Hawton 0a08d3f59a
prepare for v1.26 as istio source is already branched (#16420)
* prepare for v1.26 as istio source is already branched

* fix for gateway version, they don't always do -rcN but also -rc.N

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable debug messages

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* fix changed istioctl outputs

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* dropped line

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* fix

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable multi-primary multi-network install test for now: #16427

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* remove test

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* more debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* debug

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* disable multi-primary test as well, same issue #16427

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* delete crds silent fail

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* get resource output to see about removing istioctl x wait

Signed-off-by: Daniel Hawton <daniel@hawton.org>

* remove istioctl x wait, repalce with a general sleep again #16429

Signed-off-by: Daniel Hawton <daniel@hawton.org>

---------

Signed-off-by: Daniel Hawton <daniel@hawton.org>
2025-04-24 01:35:55 -04:00
Faseela K 528bcaf8cb
Use IP_FAMILIES env for docs test (#16174)
* Use IP_FAMILIES env for docs test

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix helm install failure

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2025-01-16 09:14:54 -05:00
Ben Leggett c17f3c192a
Create hidden parallel doctest docs for ambient wrapper chart, so it at least gets exercised a bit (#16078)
* Install

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Upgrade

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup/lint

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix snip

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup tests

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Only needed locally for out-of-order runs apparently

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* refs

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Consistent naming of releases

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Forgot one

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
2024-12-20 21:48:16 -05:00
Craig Box 580ea900c7
Replace "sleep" sample throughout Istio docs (#15767)
* The big one.

* fix gencheck

* fix gen

* Change sort order of "curl" to be above "helloworld"

* switch another order
2024-10-11 19:00:47 -04:00
Faseela K d3f6b3b6e6
add README for multicluster docs tests (#15782)
* add README for multicluster docs tests

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix links

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2024-10-10 15:18:46 -04:00
Ben Leggett 2886593d5a
Fixup Helm CRD docs in light of istio/istio#53318 (#15744)
* (testing CI with latest)

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* also bump gateway ref

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* This is really hard for me, but the teapot must go

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Always use *published* release tags for gateway API.

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix snips

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fix go mod?

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup SE

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Headers come back as JSON now

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Some more header fixes

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* More fixes

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Le sigh

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Another `httpbin` difference

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Another stray header

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* More twiddles

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Indents, other headers

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Hmm

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Gen

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Just do this to avoid weird fragility

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup docs in light of https://github.com/istio/istio/pull/53318

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* lints

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* genfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* underscores

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup again

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Oh

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Go ahead and do this for now, it's simpler

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* sumfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Forgot to use the smarter form

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Do this centrally, to catch leftovers (we don't cleanup CRDs)

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* lint

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Satisfy shellcheck

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Stray ref

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Ah geez

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
2024-10-08 16:55:44 -04:00
John Howard c05f7637b1
Remove obsolete PILOT_ENABLE_CONFIG_DISTRIBUTION_TRACKING from tests (#15676)
This does nothing anymore
2024-09-10 11:21:35 -04:00
Ben Leggett e3638eeeb9
Attempt at modernizing the sidecar SPIRE integration doc (#15574)
* This is wildly out of date

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Replace snippet syntax to make the site compile

* more

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Update content/en/docs/ops/integrations/spire/index.md

Co-authored-by: Craig Box <craig.box@gmail.com>

* Review comments, lints, fixups

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Genfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Twiddle

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Tests

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Wrong namespace

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Statefulset now

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* More test fixup

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* fix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Reviews, testfix

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

* Gen

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>

---------

Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
Co-authored-by: Craig Box <craig.box@gmail.com>
2024-08-22 23:50:25 -04:00
Craig Box 66494b4150
add istioctl install page for ambient and improve install docs experience (#15483)
* first draft of istioctl docs

* Apply suggestions from code review

Co-authored-by: Daniel Hawton <daniel@hawton.org>

* fix one broken link

* Add tests & change sort order

* sigh, forgot this one

* fix test

* fix test

* make gen

* move and improve Helm installation docs

* fix tests & gencheck

* fix moar tests

* fix fix moar tests

* fix fix fix moar tests

* Switch order of cleanup

* add cascade=foreground to measure impact on tests

* lint really cares about blank lines

* Fixes from Ben's code review

* changing headers means changing tests.. wish we enforced snip_ids

---------

Co-authored-by: Daniel Hawton <daniel@hawton.org>
2024-08-21 16:57:24 -04:00
Craig Box c6e477a54c
Fix ambient doc tests (#15500)
* snip_annotate_bookinfo_gateway

* disable shellcheck

* Update content/en/docs/ambient/usage/extend-waypoint-wasm/index.md

Co-authored-by: Ben Leggett <854255+bleggett@users.noreply.github.com>

* Update content/en/docs/ambient/usage/extend-waypoint-wasm/index.md

grrr, I remember seeing that

Co-authored-by: Daniel Hawton <daniel@hawton.org>

---------

Co-authored-by: Ben Leggett <854255+bleggett@users.noreply.github.com>
Co-authored-by: Daniel Hawton <daniel@hawton.org>
2024-07-31 18:13:06 -04:00
Faseela K 8394b1d9b6
Add ambient profile for docs test (#15210)
* Add ambients docs test profile

Signed-off-by: Faseela K <faseela.k@est.tech>

* update copyright

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2024-06-02 06:57:04 -04:00
Eric Van Norman c739dc68e8
Allow / in compare like prefixes (#14944) 2024-04-23 14:35:29 -07:00
Eric Van Norman cc3a534e60
Update to use current version (#14909)
* Update to use current version

* Try just replacing APP VERSION with ...

* Add versionregex to verify_like and update to include APP VERSION

* Allow more fields with verify_like

* Move column heading

* Update header and add additional verify comments
2024-04-22 10:56:32 -07:00
Xiaopeng Han d73302933b
add missing component in _rewrite_helm_repo (#14276) 2023-12-06 09:44:02 -08:00
Faseela K 2302040f2f
Add docs test for dual-stack support (#14257)
Signed-off-by: Faseela K <faseela.k@est.tech>
2023-12-06 01:56:48 -08:00
Frank Budinsky e8e9b35f2c
gateway-api: doc tests should not run with alpha CRDs by default (#13782)
* gateway-api: Doc tests should not run with alpha CRDs by default

* Fix broken tests

* cleanup

* replace bad wikipedia server ip
2023-08-30 17:15:08 -07:00
Eric Van Norman 69d7a98825
Updated job names as they cannot use an underscore (#13409) 2023-06-19 12:16:09 -07:00
Eric Van Norman f317970d3c
Move from trustworthy-jwt yaml to default-yaml (#13152)
* Move from trustworthy-jwt yaml to default-yaml

* Update to K8s 1.27.0

* Minor update

* Remove apiVersion as in istio/istio #44687
2023-05-02 12:45:36 -07:00
SRodi dd4f01fa26
Create generic args.md with common args consumed by test scripts (#13087)
* generic-args-md

* create generic boilerplates/args.md
* include gw_api_version, full_version, previous_version
* update install/operator/test.sh to source and use new vars
* update test/util/gateway-api.sh to source and use new gw var
* remove gateway-api-version.md
* relates to #13085

* fix linting fail for args.md

* remove sed command for revision string, use param expansion
2023-04-21 08:59:23 -07:00
SRodi 26a64c0781
fix-test-doc-verify-like (#13049)
* fix env vars according to tests/util/verify.sh
2023-04-14 06:36:36 -07:00
Frank Budinsky cd2608bf8b
Fix gtw wait in util functions (#12953) 2023-03-27 08:42:58 -07:00
Eric Van Norman abf5268f8a
Update test reference to latest istio commit (#12895)
* Update test reference to latest istio commit

* make clean g&& go mod tidy

* Use tests/utils to delete sample

* Move some test script to use snippets

* Add _wait

* Remove extraneous source
2023-03-15 14:17:18 -07:00
zirain 6c486aae1d
fix lint (#12639) 2023-02-12 14:35:06 -08:00
Faseela K d8faad8fe3
Migrate ingress-sni-passthrough test to minimal profile setup (#12576)
* Migrate ingress-sni-passthrough test to profile minimal

Signed-off-by: Faseela K <faseela.k@est.tech>

* fix after snapshot test

Signed-off-by: Faseela K <faseela.k@est.tech>

* update minimal profile

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix cleanup test error

Signed-off-by: Faseela K <faseela.k@est.tech>

* review comments

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-02-11 00:13:05 -08:00
Eric Van Norman 8713ad1f41
Fix script comment (#12600) 2023-02-07 14:23:35 -08:00
Eric Van Norman cc76a09425
Update istio.io test reference to 1.17.0-beta.2 (#12591)
* Update istio.io test reference to 1.17.0-beta.2

* Update URL
2023-02-07 09:23:00 -08:00
Faseela K 4e69089d6f
Add minimal profile for docs test setups (#12569)
* Add minimal profile for test setups

Signed-off-by: Faseela K <faseela.k@est.tech>

* Fix setupConfig

Signed-off-by: Faseela K <faseela.k@est.tech>

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-02-02 06:53:49 -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
Eric Van Norman deada82e56
Is the first sllep delete affecting the later start? (#12495) 2023-01-20 13:31:13 -08:00
Frank Budinsky b4ec649054
Add gateway api instructions to external control plane doc (#12463)
* Add gateway api instructions to external control plane doc

* regen and lint

* fix test

* more test fixes
2023-01-16 08:45:30 -08:00
Frank Budinsky 69981b01b1
gateway-api: add gateway api instruction to request routing task (#12204)
* gateway-api: add gateway api instruction to request routing task

* lint

* regen

* improve gamma tip/warning

* lint

* add port

* fix samples.sh

* fixes
2022-11-10 14:32:57 -05:00
kezhenxu94 7d43f35867
Add documentations for SkyWalking integration and task (#11683)
* Add documentations for SkyWalking integration and task

* Add script to undeploy skywalking

* Clean up istio namespace

* Update index.md

* Address review comments

* Apply suggestions from code review

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2022-11-03 09:09:26 -07: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 f31d54066f
Fix broken sni-passthrough doc test (#12109)
* Fix broken sni-passthrough doc test

* remove exit
2022-10-18 00:24:38 -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
Eric Van Norman 20491e3165
use short_codes for gateway api version (#12042)
* use short_codes for gateway api version and tpye

* Update function name. Forcing name doesn't work for boilerplates?

* Fix lint

* Remove k8s_gateway_api_type

* Add update-gateway-version mkaefile target

* Fix version in test string

* Simplify id
2022-10-04 12:07:49 -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
zirain 4830422f75
fix open telemetry doc (#11732)
* fix OpenTelemetry doc

* replace istio.io/istio for test

* fix cleanup_otel_sample

* update test reference

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix gen

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

* fix otel-provider

* remove extra changes in the go.*

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-08-30 07:00:38 -07:00
Frank Budinsky cb70a40db3
Fix verify_like matching token prefix not ending in - (#11693)
* Fix verify_like matching token prefix not ending in -

* change test
2022-08-09 09:59:37 -07:00
Eric Van Norman d146b3bfce
Fix lint errors with new build tools (#11679)
* Fix lint errors with new build tools

* Move copyright so it doesn't get marked as a heading

I beleive Istio removed copyrights so we could do a bigger clense
later.
2022-08-03 14:09:23 -07:00
Ingwon Song 3ecc5aeb4a
Moving/Updating the WasmPlugin tutorial and Adding ImagePullPolicy description (#11379)
* Update for Wasm contents

* Fix the wrong cleanup code

* Fix the description of `extensibility` folder's description

* Apply suggestions from code review

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

* Update _index.md

* Regenerate snips

* Add old URL path as an alias

* Update content/en/docs/tasks/extensibility/_index.md

* Add description for the wasm pull policy

Signed-off-by: Ingwon Song <igsong@google.com>

* Apply suggestions from code review

Co-authored-by: Douglas Reid <douglas-reid@users.noreply.github.com>

* Apply suggestions from code review

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

* Applying the comment from @dgn

Co-authored-by: craigbox <craigbox@google.com>
Co-authored-by: Douglas Reid <douglas-reid@users.noreply.github.com>
2022-07-01 12:20:20 -07:00
Eric Van Norman bfc662d4e3
Update istio test reference - Requires code update for test framework (#11465) 2022-06-20 09:06:26 -07:00
Daniel Hawton 63d5724fde
Helm and gateway tests (#11276)
* add tests to gateway setup

* manually cleanup the minimal istio install

* Add canary upgrade test

* convert rewrite-repo to a helper function

* upgrade helm test

* lint fixes

* left over validatingwebhook from a prior test

* remove boilerplate check

* undo elided pod names

* gen snip

* Remove validatingwebhookconfigurations deletion

* remove webhook configs pending fix in istio

* remove webhook configs pending fix in istio

* revert some changes

* remove temp webhook removals

* remove revision labeled mutating webhooks

* revert revision-tags-middle change

* make gen
2022-06-07 08:34:59 -07:00
zirain 7a90100810
add otel telemetry doc (#10977)
* add otel telemetry doc

* fix nit

* fix gen

* update content

* remove patch meshconfig

* fix test.sh

* fix probability of failure
2022-03-15 11:45:41 -07:00
Ihor Sychevskyi dd7d71475d
update link (#10974) 2022-02-28 07:12:41 -08:00
Eric Van Norman e863de7b41
Update istio test ref (#10903) 2022-02-13 13:01:05 -08:00
Yangmin Zhu 84a63d0e33
add test for the dry-run task (#10526)
* add test for the dry-run task

* Update content/en/docs/tasks/security/authorization/authz-dry-run/index.md

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

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2021-12-08 07:50:27 -08:00
Eric Van Norman eed66e769b
Manual cherry-pick of #10352 (#10358) 2021-09-16 13:59:00 -07:00
Pengyuan Bian fb05d1584f
Revamp CNI doc. (#10090)
* wip

* rewrite install-cni page.

* Add troubleshoot guide.

* Add doc test.

* fix test.

* fix test.

* validation log message.

* update.

* update.

* fix.

* update.

* incorporate supportability review feedback.

* Update content/en/docs/ops/diagnostic-tools/cni/index.md

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

* Update content/en/docs/ops/diagnostic-tools/cni/index.md

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

* Apply suggestions from code review

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

* fix.

Co-authored-by: craigbox <craigbox@google.com>
2021-08-01 13:40:03 -07:00
Eric Van Norman d9658dae3d
Restore istioctl experimental wait in _wait_for_istio() (#9426) 2021-04-05 13:02:04 -07:00