Commit Graph

75 Commits

Author SHA1 Message Date
Jacob Delgado a531ef9319 Use with latest tools image 2024-05-30 16:25:13 -06:00
jacob-delgado 3d9a233170
Run make gen (#3120) 2024-03-11 17:59:56 -07:00
Jay Miracola 1d69bda94b
Remove defaultRevision (#2798)
* Remove defaultRevision

* added reserved lines to pass make gen

* make gen new base
2024-01-24 20:30:03 -08:00
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 8919509ecb
Add compatibilityVersion to IstioOperator (#3046)
For https://github.com/istio/istio/pull/48449

Why a top level field instead of a value? This allows a consistent UX
for users of helm or istioctl. This makes it easier to document,
especially in istioctl precheck: `install with --set compatibilityVersion=1.20 to retain the old default.`
2024-01-12 20:34:01 -08:00
Peter Jausovec a6b42dfa8a
docs: fix rendering of links and code snippets (#3036)
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
2024-01-04 22:29:58 -08:00
Peter Jausovec 206821b2bf
docs: use Kubernetes instead of k8s in the proto field comments (#3033)
Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
2024-01-03 17:38:06 -08:00
Karan Nadagoudar 89a175a4b2
Add loadBalancerClass to the serviceSpec of the Operator (#3030) 2023-12-18 09:31:49 -08:00
Eric Van Norman 1c3997104b
Run 'make gen' with new build-tools image (#2944) 2023-10-03 14:43:48 -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
John Howard 481bb4006e
Add ztunnel component to operator API (#2682)
Part of https://github.com/istio/istio/issues/40879
2023-02-16 08:50:22 -08:00
zirain 185a974fe1
fix depguard (#2636)
* fix depguard

* fix build
2023-01-17 06:54:30 -08:00
Gustaf Lindstedt 3e6a019275
Add `appProtocol` field to operator/v1alpha1 ServicePort (#2627) 2023-01-11 08:54:12 -08:00
zirain 1b2e343342
hpa: Policies move to v2beta2 (#2515)
* hpa: Policies move to v2beta2

* fix proto-commit-force
2022-10-31 11:27:00 -07:00
Eric Van Norman a51f8f8389
Run `make gen` with the new build-tools to generate new html (#2509) 2022-10-17 06:58:09 -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
Xinnan Wen 579e7e6982
bump k8s hpa api mirrored in operator api to v2beta2 (#2273)
* bump k8s hpa api mirrored in operator api to v2beta2

* rebase and update quantity type

* update proto lock

* add release notes
2022-05-05 15:06:56 -07:00
John Howard 5ebfc628bd
buf: migrate to v1 API (#2297) 2022-03-25 06:19:22 -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
John Howard e6bb02d631
operator: use camelCase (#2286)
* operator: use camelCase

operator relies on merging using K8s libraries. K8s libraries use the
`json` tag. protobuf doesn't have a way to configure this (`json_tag` is
for `protobuf.json`, not `json`) and never will.

JSON tag comes from the protobuf name. So we can make it camelCase to
fix the above issue. This will have no impact on unmarshalling with jsonpb -- which we use in
all cases aside from the merging -- any casing is allowed.

This may be a breaking change in the protobuf sense (but NOT to Istio
users), but it doesn't really matter as until last week the operator
protobuf was not a real protobuf at all and relied on `sed` to make it
into the shape we want. Therefor, its not possible someone depended on
the operator protobuf being protobuf-compatible.

* add comment

* gen

* extra line

* comment

* gen
2022-03-17 10:47:52 -07:00
John Howard 5796da5cb8
Regen docs after docs change (#2287) 2022-03-16 17:02:31 -07:00
John Howard 5f8b290601
operator: move to real protobuf (#2272)
* Remove fixup_structs

* rlock
2022-03-14 10:26:22 -07:00
John Howard 3297f46868
Update common (#2263)
* Update common

* lint

* release locks

* fix LC_ALL
2022-03-03 16:01:52 -08:00
Frank Budinsky 0ee0abf2a9
Components for remote and config cluster installations. (#2030)
* Components for remote and config cluster installations.

* regen

* revert to istiod_external

* regen

* proto.lock

* undo

* Revert "regen"

This reverts commit 1090057802.

* Revert "proto.lock"

This reverts commit 1a321e4a2f.

* regen

* update proto.lock
2021-06-22 13:21:55 -07:00
Frank Budinsky 4f71f5a6cb
Remove istiodRemote component (#2018) 2021-06-08 08:40:05 -07:00
Morven Cao 15c6bb524b
fix incorrect type for maxUnavailable/minAvailable of PDB. (#1952) 2021-04-25 19:29:00 -07:00
Kebe 90c8315bf6
Fix BoolValueForPB.GetValue allow nil (#1939) 2021-04-09 13:57:42 -07:00
Shamsher Ansari fbefbc937c
Add more info if custom ns is used to install Istio (#1894)
* Add more info if custom ns is used to install Istio

* update comments
2021-03-18 03:47:59 -07:00
Eric Van Norman 36a7e33783
gofumpt operator/v1alpha1/deepcopy.go (#1882) 2021-02-17 08:39:45 -08:00
Sam Naser dee73e3940
Add default revision to operator (#1806)
* add default_revision and revision_tags to operator

* remove revision_tags from operator.proto

* add release note

* fix conflicts
2021-02-17 05:05:26 -08:00
Morven Cao e51932d667
add volume and volumeMount to k8s settings. (#1812)
* add volume and volumeMount to k8s settings.

* add release note.

* rebase code.
2021-02-01 00:07:11 -08: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
Xinnan Wen 9314e18b88
deprecate addon field from the operator (#1701)
* deprecate addon field from the operator

* add releasenote and update comment
2020-11-03 13:44:05 -08:00
Shamsher Ansari fa43aa102e
Add example for how to use IstioOperatorSpec (#1667)
* Add example for how to use IstioOperatorSpec

* use yaml example
2020-10-13 14:22:08 -07:00
Shamsher Ansari 00671adacb
Fix link and bullet point rendering for IstioOperatorSpec (#1646)
* Fix link and bullet point rendering for IstioOperatorSpec

* Use list instead of code blocks

* Use list item for status
2020-09-29 11:17:39 -07:00
Shamsher Ansari d7cf1f5167
Remove redundant operator installation configs docs (#1651) 2020-09-25 18:11:35 -07:00
Shamsher Ansari 17ee85a2cc
Update url for helm installation options (#1638) 2020-09-17 09:08:26 -07:00
Pengyuan Bian 701568332f
remove policy and telemetry component from operator API (#1611) 2020-08-28 16:00:38 -07:00
Morven Cao b0d73f1d2a
add pod securitycontext for operator api. (#1589)
* add pod securitycontext for operator api.

* address comments.
2020-08-12 19:50:26 -07:00
Liam White 844ce7d2a3
Fix quantity and lock down others to a more specific type (#1567)
* Fix quantity and lock down others to correct IntOrString

Signed-off-by: Liam White <liam@tetrate.io>

* fix imports

Signed-off-by: Liam White <liam@tetrate.io>
2020-08-05 06:48:42 -07:00
Xinnan Wen 83c0d06cba
add pending to operator status (#1499)
* add pending to operator status

* add message to overall status

* address comment

* address comment
2020-07-20 11:59:14 -07:00
John Howard bac02847c8
Move operator to gogo proto (#1483)
* Move operator to gogo proto

* switch to gogo

* fix gen
2020-06-25 13:03:14 -07:00
Martin Ostrowski 2f6a9b1363
Add k8s field to base component (#1465) 2020-06-09 16:50:57 -07:00
Martin Ostrowski 001ca68fb1
Consolidate operator API to one file to maintain field order (#1464)
* Consolidate opeator API to one file to maintain field order

* Mirror Tolerations

* Remove json gen

* Rebuild

* Restore deepcopy

* Remove unneeded sed

* Rebuild

* Lint

* Update releaselocks

* Move deepcopy from autogenerated path

* Copyright banner

* Gofmt
2020-06-09 16:01:37 -07:00
Jian Zeng e094649aa7
feat: generate deepcopy methods for all the types (#1454) 2020-06-02 12:32:24 -07:00