Commit Graph

20 Commits

Author SHA1 Message Date
majeshps e9ecc67a71
Fix minor nits on the security tasks page Plugin CA Certificate (#12709)
* Fix minor nits on the security tasks page Plugin CA Certificate

Partially fixes: #12695

* Fix minor  nits on the security tasks page for certificate management
2023-03-03 10:09:06 -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
Istio Automation 4add341878
[master] SHA-1 signatures will not work with Golang 1.18 (#11546)
* SHA-1 signatures will not work with Golang 1.18

Support for SHA-1 signatures is disabled by default in Go 1.18 or newer. When generating the certificates please use OpenSSL on MacOS to make sure the certificates will work with istio.

* Lint fixes

* Lint fix

Co-authored-by: Saverio Proto <saverioproto@microsoft.com>
Co-authored-by: craigbox <craigbox@google.com>
2022-07-06 09:58:29 -07:00
Frank Budinsky a326daa3e0
Add webhooks to test framework snapshot (#11281)
* Add webhooks to test framework snapshot

* missing return

* fix lint

* some fixes

* more fixes

* final fixes

* one more
2022-05-13 10:12:49 -07:00
John Howard 4396197f50
Use consistent quoting in API examples (#9373)
This matches istio/api examples and all Kubernetes best practices. This
quoting sets a bad precedent that is copy and pasted around the web.
2021-03-23 09:33:57 -07:00
Oliver Liu 09e3f8e17e
Improve the plug-in cert task. (#8904)
* Improve the plug-in cert task.

* Small fix.

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

Co-authored-by: Sven Mawson <sven@google.com>

* Describe the recommendation of using hierarchical CA.

* Small fix.

* Apply suggestions from code review

Co-authored-by: Sven Mawson <sven@google.com>

* Apply suggestions from code review

Co-authored-by: Sven Mawson <sven@google.com>

Co-authored-by: Sven Mawson <sven@google.com>
2021-02-04 16:06:15 -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
Lin Sun 872c42ca80
remote not generated files to avoid confusion (#8407) 2020-11-02 11:52:44 -08:00
imgbot[bot] 9459c7bc88
[ImgBot] Optimize images (#8179)
*Total -- 3,177.95kb -> 3,160.18kb (0.56%)

/content/en/docs/tasks/security/cert-management/plugin-ca-cert/ca-hierarchy.svg -- 14.87kb -> 9.67kb (34.99%)
/content/en/about/community/customers/hotels-com.svg -- 12.99kb -> 10.11kb (22.15%)
/page-test.png -- 20.22kb -> 17.97kb (11.12%)
/content/en/about/community/customers/nearpod.svg -- 11.77kb -> 11.44kb (2.8%)
/content/en/docs/ops/deployment/deployment-models/blue-green.svg -- 81.51kb -> 80.16kb (1.65%)
/content/en/docs/ops/deployment/deployment-models/endpoint-discovery.svg -- 82.72kb -> 81.92kb (0.97%)
/content/en/docs/setup/install/multicluster/primary-remote.svg -- 83.37kb -> 82.59kb (0.95%)
/content/en/docs/setup/install/multicluster/multi-primary.svg -- 91.08kb -> 90.26kb (0.89%)
/content/en/docs/setup/install/multicluster/primary-remote-multi-network.svg -- 96.83kb -> 96.01kb (0.85%)
/content/en/docs/setup/install/multicluster/multi-primary-multi-network.svg -- 110.31kb -> 109.45kb (0.78%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/istio_setup.svg -- 25.85kb -> 25.68kb (0.65%)
/content/en/about/community/customers/avito.svg -- 1.77kb -> 1.76kb (0.22%)
/content/en/about/community/customers/cash-app.svg -- 4.78kb -> 4.78kb (0.12%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/mtls_plaintext.svg -- 216.38kb -> 216.21kb (0.08%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_paths.svg -- 273.61kb -> 273.44kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/RequestAuthN_jwks.svg -- 275.79kb -> 275.63kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_paths.svg -- 279.11kb -> 278.94kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_principals.svg -- 286.37kb -> 286.21kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_policies_sourceIP.svg -- 296.11kb -> 295.95kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_requestPrincipals.svg -- 297.02kb -> 296.85kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_var_sourceIP.svg -- 298.21kb -> 298.04kb (0.06%)
/content/en/blog/2020/large-scale-security-policy-performance-tests/AuthZ_paths_vs_sourceIP.svg -- 317.29kb -> 317.12kb (0.05%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-09-28 17:13:16 -04:00
Nathan Mittler b06ce95f96
Update docs for pluggin in CA certs (#8099)
The new recommended approach is to generate the certs and to use intermediate certs for each cluster.
2020-09-16 17:39:21 -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
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07: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
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
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
Shamsher Ansari 9fe272272b
update doc to use istioctl install (#7396) 2020-06-01 11:02:27 -07:00
Frank Budinsky e11cf24f0d
Add test: attribute to all md files (#7413) 2020-05-27 09:11:26 -07:00
Frank Budinsky f45bc9e1a8
Remove obsolete '# ' uses from all tests (#7233) 2020-05-06 19:17:11 -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