Commit Graph

40 Commits

Author SHA1 Message Date
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
Michael a4d4f8bb18
Fix indentations and remove unecessary step numbers (#13230)
* Fix indentations and remove unecessary step numbers in /security/authorization/

* revert tabset indentations and wrap some long clauses
2023-05-23 18:29:05 -07:00
Faseela K ff6b3ee3d1
Specify EXTERNAL_CA env under .Values.pilot.env (#12908)
* Specify EXTERNAL_CA env under .Values.pilot.env

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

* make snips

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

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-03-20 13:56:43 -07:00
Faseela K 2de8b7cf3f
Add docs test for custom CA k8s (#12910)
* Add docs test for custom CA k8s

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

* wait for secrets to be created

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

* Fix tests

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

* address review comments

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

---------

Signed-off-by: Faseela K <faseela.k@est.tech>
2023-03-20 13:30:45 -07:00
Frank Budinsky 486c559488
Small fixes to custom CA doc (#12856) 2023-03-08 08:09:47 -08:00
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
Michael ba253743fb
Fix some typos in custom-ca-k8s (#12689) 2023-02-16 07:20:23 -08:00
Jackie Elliott 28749ecfc2
Update custom ca integration with k8s CSR demo (#12527)
* Update custom ca integration with k8s CSR demo to include foo and
bar namespace creation and remove an unnecessary tab from the
sleep pod command.

Signed-off-by: jaellio <jaellio@microsoft.com>

* Fix lint error

Signed-off-by: jaellio <jaellio@microsoft.com>

---------

Signed-off-by: jaellio <jaellio@microsoft.com>
2023-01-27 10:02:50 -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
Chen Xintong 1f7a0ea5a7
Fix custom CA integration doc typo (#12318)
* Fix custom CA integration doc typo

* restore 1.14 and 1.15 release change
2022-12-01 08:48:15 -08:00
Iris e202a0995d
add multi-signer docs (#11419)
* addess review comments

* address review comments

* address review comments
2022-07-15 16:15:58 -07: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
John Howard e1bc209fa0
Remove doc on "Istio DNS Certificate Management" (#11369)
* Remove doc on "Istio DNS Certificate Management"

This document gives harmful advice. This feature was intended to be used
for signing control plane certificates, and actually doesn't work for
other cases (cross namespace or any modern Kubernetes version are
completely broken).

* use archive link

* name trick
2022-06-06 11:16:26 -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
craigbox a27bd06486
Fix numbering due to errant spacing (#10135) 2021-08-01 18:12:51 -07:00
Steve Zhang 4bdea0495f
fixed docs errors when working on issues#33906 (#10076)
* fixed docs errors when working on issues#33906

* change the deploying Istio yaml after testing

* fix lint

* fixed issue according to comments
2021-07-30 05:35:49 -07:00
Steve Zhang aa636228be
components section has been missed, need to add in (#10042)
* components section has been missed, need to add in

* one more doc error
2021-07-08 06:34:39 -07:00
ChristinaMak 9b02f2f215
Flag experimental pages with dagger (#9895)
* Flag experimental pages with dagger

* Use dagger symbol in title

* Dagger in navigation titles for experimental status

* Experimental asterisk note

* Asterisk with space

* Spacing between title and asterisk

* Flag experimental and alpha status
2021-06-23 04:46:20 -07:00
Shamsher Ansari 03d2ac377d
Fix typo in EXTERNAL_CA env (#9944) 2021-06-18 04:53:14 -07:00
craigbox 8554c3e941
Experimental tidy-ups (#9772)
* Experimental tidy-ups

* replace #8980

* add one that's Alpha; should possibly change word?
2021-05-18 06:46:43 -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
jacob-delgado 9cf3366e97
Use experimental as feature stage (#8772)
* Use experimental as feature stage

Pre-alpha/Development are deprecated in favor of Experimental (see
https://github.com/istio/community/pull/495). Update docs to reference
this phase.

* Add DNS proxying to experimental phase

* Do not mix alpha and experimental

* DNS Proxying is Alpha in 1.9; add to feature status page

* Fix virtual machine install doc based on review

* Fix linting issue
2021-01-15 13:01:58 -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
John Howard 356edf9d14
Update ICP to IOP (#8481) 2020-11-10 10:09:36 -08:00
Lin Sun 872c42ca80
remote not generated files to avoid confusion (#8407) 2020-11-02 11:52:44 -08:00
shankgan 4ccf0886e6
Adding support for experimental Custom CA integration using Kubernetes CSR API (#8341)
* * Adding security task for experimental custom ca integration feature for 1.8

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

Make-Gen Changes
2020-11-02 08:13:57 -08: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
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