Commit Graph

86 Commits

Author SHA1 Message Date
jacob-delgado 06018d723c
Run make gen with new protoc (#3051)
* Run make gen with new protoc

* Update dependencies
2024-01-17 09:03:58 -08:00
John Howard 38de472a5f
Drop json schema generation (#2875)
We only generate this for some resources and not others, and no one has
complained -- so there doesn't seem to be much value in maintaining
this, but it provides a lot of boilerplate.

Rather than "fixing" it to be used for all types, seems better to just
drop this. We already have the schema as proto and OpenAPI (via CRD).
2023-08-02 19:44:43 -07:00
Matt Kramer 064529d3bb
chore: Fix typo in VirtualService docs (#2847)
* Fix typo in VirtualService docs

* Run make gen
2023-07-06 13:44:32 -07:00
zirain 49a8f67e97
update `proxy_inbound_listen_port` doc (#2735)
* update doc

* fix make gen

* fix gencheck
2023-03-21 19:43:21 -07:00
Sathish d80de99025
Format corrections of JWTRule document (#2720)
* Fix indentation of jwt doc

* Update comment line of jwtrule

* Fix indentation of jwt doc

* Update comment line of jwtrule

* Rebase with latest master

---------

Co-authored-by: Sathish Swaminathan <sathish.swaminathan@ibm.com>
2023-03-13 12:07:22 -07:00
Istio Automation f26e759dd3
Automator: update common-files@master in istio/api@master (#2523) 2022-10-21 08:24:46 -07:00
Faseela K d1ffe5e901
Running make gen (#2446)
Running make gen for some other change resulted in many additional
changes showing up in my local repo. So pushing a separate review for the same.

Signed-off-by: Faseela K <faseela.k@est.tech>
2022-08-04 07:28:26 -07:00
Istio Automation fbb909b586
Automator: update common-files@master in istio/api@master (#2443) 2022-08-03 06:08:58 -07:00
Eric Van Norman 5294aace93
Run `make gen` with current tooling (#2409) 2022-07-06 07:17:29 -07:00
John Howard 9d336787a4
Migrate from gogo/protobuf to golang/protobuf (#2293)
* Migrate gogo/protobuf to golang/protobuf

* generated changes

* Fixes to deepcopy
2022-03-23 08:11:37 -07:00
Istio Automation aadf1ba23c
Automator: update common-files@master in istio/api@master (#2007) 2021-05-25 17:10:56 -07:00
John Howard 2bcca53775
Move protobuf generation/configuration to buf (#1833)
https://docs.buf.build/

Buf is the successor to https://github.com/uber/prototool which we
already use for linting.

This dramatically simplifies our Makefiles, which are both extremely
complicated and have led to numerous bugs historically, such as
https://github.com/istio/api/issues/1678.

This will make changes to the generation much simpler as well. For
example, to migrate to gogo protobuf, we will just need to change `gogo`
-> `go` in one location, rather than trying to wrangle 500 lines of
Makefiles. Additionally, its quite a bit faster - the whole proto stuff
is done in <1s now.
2021-01-28 17:47:43 -08:00
John Howard edb1e1a51c
Update makefile for new docs plugin (#1821)
* Update makefile for new docs plugin

* Update common
2021-01-20 07:41:17 -08:00
jacob-delgado 328c3a3713
Generate protos (#1822)
* Run make clean gen

* Run make proto-commit
2021-01-13 16:39:59 -08:00
John Howard 174a9fd5f2
Regenerate json code (#1677)
* Regenerate json code

I am not sure why this wasn't done automatically, might be a bug in our
auto update logic

* resync
2020-10-07 12:35:42 -07:00
John Howard 9a994ae513
Import new DeepCopy changes (#1613)
* deepcopy

* Better reuse implementation

* Update common

* update others
2020-09-01 13:35:38 -07:00
Jian Zeng e094649aa7
feat: generate deepcopy methods for all the types (#1454) 2020-06-02 12:32:24 -07:00
Diem Vu 90a9607296
Remove alpha authentication CRD (#1393) 2020-04-17 15:31:36 -07:00
Yangmin Zhu 162cd100b1
Hide v1alpha1 RBAC and Authentication policy (#1351)
* hide RBAC

* hide authN
2020-03-25 06:38:22 -07:00
Jason Wang 11f0c7211a
Generate with latest build tool (#1349) 2020-03-24 16:02:30 -07:00
Shamsher Ansari 62026b23fc
Update ECMAscript to RE2 (#1327) 2020-03-15 11:12:15 -07:00
Diem Vu 98a77fbfb2
Deprecate authentication policy (#1290) 2020-02-26 18:46:34 -08:00
Diem Vu 7a503499ce Deprecate obsolete fields in authN alpha policy. (#1206)
* Deprecate obsolete fields in authN alpha policy.

* Update comments

* Address comments
2020-01-03 09:52:23 -08:00
Suresh Visvanathan 73d66eb8c8 Even with permissive mode, the TLS require client cert (#1191) 2019-12-10 12:45:43 -08:00
Jason Wang d2b87eef56 Use annotations for CRD gen (#1192)
* change crd gen to use annotations

* Add more annotations to crds

* revert generated kubernetes file

* regen with new container

* use the new image and regen

* cleanup and regen
2019-12-05 15:45:47 -08:00
Frank Budinsky 7a8183d7e4 Fix broken aliases (#1170) 2019-11-15 09:12:46 -08:00
Frank Budinsky e071453522 Reorganize reference docs (#1165) 2019-11-11 12:03:08 -08:00
Jason Wang e511348728 Generate with new container (#1164)
* Generate with new container

* update common file
2019-11-08 17:19:11 -08:00
Jason Wang 3fcb499e2a Regen based on new container (#1152) 2019-11-01 15:10:11 -07:00
Martin Taillefer e871b2898d
Update common files. (#1146)
- Make the gen target invoke tidy-go and mirror-licenses.
2019-10-24 13:08:52 -07:00
Jason Wang d00922a1ff Add CRD structural schema generation (#1142)
* modify cue configuration

* Add CRD structural schema generation

* remove preserveUnknowFields
2019-10-23 17:20:41 -07:00
Diem Vu 1bbff2ef25 Remove unimplemented/unused labels in authn target selector (#1118)
* Remove unimplemented/unused labels in authn target selector

* Rebase
2019-10-22 13:51:09 -07:00
Jason Wang 1187adbd14 Use field_behavior as an option for required fields (#1125)
* use field_behavior opiton for required fields

* modify makefile to replace import path for field_behavior

* generate after image update

* changes after comments from policy and telemetry team

* regen after changes

* update networking and rebase
2019-10-14 10:42:57 -07:00
Martin Taillefer ebe44b4258
Update common files. (#1124) 2019-10-11 09:24:41 -07:00
Martin Taillefer 891d7f9d3d
Update common files. (#1121) 2019-10-09 21:18:35 -07:00
Martin Taillefer 67e00885e3
Add a gen-check target. (#1113)
- New common target to check that a repo is clean wrt generated files.
2019-10-02 09:51:41 -07:00
Martin Taillefer 03ce488f22
Fix logic to test if 'make' hasn't been run. (#1111) 2019-10-01 07:53:07 -07:00
Martin Taillefer ee1be9aa0d
Update to latest gogo. (#1107) 2019-09-30 09:40:08 -07:00
Rob Cernich 1b594bcab9 Support using api types with k8s code generation tools (#1081) 2019-09-25 11:01:16 -07:00
Martin Taillefer cd150f8ca1
Update common files. (#1075) 2019-09-08 08:12:11 -07:00
Jason Wang 55bf99d69a Correct Some Reference Example Field JSON Naming to camelCase (#1060)
* change some field name references to camelCase

* run proto lock
2019-08-27 13:34:53 -07:00
Jason Wang 232a0e04c0 Use the merged build tool image (#1044)
* Use the newly merged build tool image
2019-08-16 15:22:39 -07:00
Martin Taillefer a66c9b061e
Switch to latest tool container and upstream gogo/protobuf. (#1011) 2019-07-31 13:14:08 -07:00
Steven Dake 0988834cd4 DNM - a test of gogo forked tooling 2019-07-30 08:22:31 -07:00
Jason Wang 1361ec19ee
Add openapi schema to Istio protos (#989)
* Add openapi schema to Istio protos

* Update generated schema

* update output with the updated generator image

* Remove cue docker files as it is moved to tools repo

* Update json to current

* Update generated json with the latest change

* Update generation with latest changes

* remove some extra newlines in makefile
2019-07-29 16:33:55 -07:00
Martin Taillefer ae67f60b2e Generate a doc page for our annotations. (#993) 2019-07-25 21:09:24 +00:00
Yangmin Zhu ece3d93c51 fix RbacConfig comments and do not hide in documents (#966)
* fix RbacConfig comments

* update weight to put authentication right above authorization
2019-07-09 15:25:12 -07:00
Martin Taillefer c9118cd127
Update to latest doc gen tool. (#889) 2019-03-29 14:57:17 -07:00
Ed Snible 785ea83cee Be precise about 'workload' vs 'workload instance' (#876) 2019-03-22 06:42:40 -07:00
John Howard 87afa02b7b Merge release-1.1 into master (#872)
* Doc fixes.

* Add high-level overview and diagrams for MCP (#805)

* document MCP

* add additional note on NACK behavior

* add a note about ignoring stale nonces

* Add envoy metrics service configuration to ProxyConfig (#803)

* Add envoy metrics service configuration to ProxyConfig

Similar to the statsd sink config, this change is in preparation for adding support for the envoy metrics service API.

* Update proto.lock

* Reorder metrics_service_address just after statsd_udp_address

* Update comment in the authN API to match with 1.1 behavior (#808)

* Rename metrics_service_address to clarify that it is for Envoy's API (#809)

Since "metrics service" is so ambiguous, this change specifically denotes that the config is for Envoy's metrics service API. The comments also now link to detailed info about the metrics service API.

* Generate separate HTML page per proto under networking (#811)

* Generate separate pages for each networking proto

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* update

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* tweaks

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* Fix interdoc references

* separate doc and go gen

* change dash to underscore

* fix

* more fixes

* makefile fix

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* remove bad target

* Revert "change dash to underscore"

This reverts commit 7fbced66f6.

* final update

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* Revert "Generate separate HTML page per proto under networking (#811)"

This reverts commit 5f14eadd since it breaks the ability
to generate reference docs in istio.io

* Update to latest tools.

* Revert "Update to latest tools."

This reverts commit 231fadc5 which I accidentally pushed to the
wrong place.

* fix mcp update error diagram (#810)

* update istio/tools (#815)

* Revert "Revert "Generate separate HTML page per proto under networking (#811)"" (#818)

* Minor updates for building docker images. (#817)

* Add spell checking for docs. (#819)

* Add a bunch of words to the custom dictionary.

* Document exportTo restrictions (#820)

* Doc fixes. (#821)

* Proxy config: Add tls_certs_to_watch field (#824)

* Proxy config: Add tls_certs_to_watch field

* Address PR comment

* Revert "Proxy config: Add tls_certs_to_watch field (#824)" (#825)

This reverts commit e613e358ae.

* Update gateway and sidecar hosts doc (#826)

* Update gateway and sidecar hosts doc

* regen

* review comments

* Update API docs (service entry, gateway, sidecar) (#831)

* Update sidecar and gateway docs

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* gen docs

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* update service entry

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* updates

Signed-off-by: Shriram Rajagopalan <shriramr@vmware.com>

* add configurable dns refresh rate to mesh for strict dns cluster,  (#832)

* add configurable dns refresh rate to mesh for strict dns cluster, issue #12181

* add lock file

* Hosts are not ignored in ServiceEntry for HTTPs (#833)

* Hosts are not ignored in ServiceEntry for HTTPs

* Clarify

* Reword

* Generate protos

* Address code review comments

* Fix typo

* generate

* make mixer config marshal deterministic (#846)

Signed-off-by: Kuat Yessenov <kuat@google.com>

* Fix some doc errors. (#854)

This started out to just fix a bad link to unblock work on
istio.io, but I ended up fixing a bunch of typos/incorrect format
throughout.

* Fix two more broken links. (#856)

* Fix CRD examples for release-1.1 (#859)

* fix MeshNetworks demo (#841)

* fix MeshNetworks demo

* generate

* update

* last minute doc fixes (#865)

Signed-off-by: Shriram Rajagopalan <rshriram@gmail.com>

* Clarify comment for server_name field in Mixer oop auth config (#800)

* add mixerclient config to istio.io reference docs (#827)

* Envoyfilter docs fix (#867)

* Tweaks to get the mixer client config docs to be published. (#868)

* Change where the Mixer client docs are published.
2019-03-21 13:54:42 -07:00