Commit Graph

28 Commits

Author SHA1 Message Date
John Howard 773205214e
Remove releaselocks/ (#2288)
We currently have two redundant ways to test for breaking changes in
proto: proto-commit and releaselocks. These do the same thing, but add
substantial noise.

Release locks have also not been updated since 1.6.

The original intent was to test for breaking changes between versions.
However, since we test for breaking changes on each commit, there is no
need for the extra check; if it would have failed as "breaking change
from 1.0 -> HEAD" then it would also fail with "breaking change from
HEAD^ -> HEAD".

Finally, there are some weird LC_ALL issues with sorting that make the
releaselocks really hard to use, especially for newcomers. I spent hours
trying to fix it without success
2022-03-17 15:29:43 -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 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
Nathan Mittler 1bf4189352
Updating LB enum to allow switch in default (#2232)
Switching the default zero value to UNSPECIFIED. This allows us
to better detect when the user has set a value for the enum. If
the user previously specified ROUND_ROBIN, it will still be
handled properly, but will be assigned a new enum value.

In addition, the value LEAST_CONN is now deprecated in favor of
a new value LEAST_REQUEST. It was previously poorly named and
only remains for backward compatibility.

There is a chance that this change could break existing tools
if they rely on binary marshaling/unmarshaling of the proto.
There are currently no tools within Istio that do this,
however.
2022-02-08 07:22:31 -08:00
John Howard 88e56fb49a
Add tooling to automatically sync proto versions (#2021)
* Add script to sync protobuf versions

* Updates to protobuf files

* Update generated code

* Fix release locks
2021-07-01 11:52:09 -07:00
John Howard da389fc06d
Update common-protos (#1815)
Pulls in update from common files. A bunch of files we don't use were
removed. For some reason the locking mechanism is asserting stuff in
common-protos when it probably shouldn't. I can look into this, but for
now just updated the locks.
2021-01-15 08:29:53 -08:00
John Howard 19bfd18ca7
Rename Authorization Policy proto for consistency (#1671)
Every other API is named `<kind in snake case>.proto`, but authz. It is
named authorization.policy. This impacts the generated code. For
consistency, renaming it to match all of our other APIs
2020-10-04 15:55:36 -07:00
Kuat 3c2193e749
cleanup: remove mixer artifacts (#1555)
* remove mixer artifacts

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

* releaselocks

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

* bad script

Signed-off-by: Kuat Yessenov <kuat@google.com>
2020-07-23 10:08:24 -07:00
Neeraj Poddar cec4d6d759
Remove unimplemented Sidecar Localhost APIs (#1529)
* Remove unimplemented APIs

* Reserve fields

* Override proto status check file
2020-07-16 10:01:34 -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
Yangmin Zhu d98da5d2d0
authz: remove alpha RBAC API (#1427)
* authz: remove alpha RBAC API

* update
2020-05-18 17:58:11 -07:00
Jason Wang 6d29a38039
Add release 1.6 release lock (#1436) 2020-05-18 13:38:17 -07:00
John Howard 8c8385e634
Change proxyConfig.concurrency to wrapper (#1418)
* Change proxyConfig.concurrency to wrapper

This allows distinguishing between 0 and undefined. See
https://github.com/istio/istio/issues/23470 for motivation

* update locks
2020-05-06 10:06:27 -07:00
John Howard baab1f25e9
Make operator.meshConfig an interface type (#1384)
* Make operator.meshConfig an interface type

Otherwise we lose information as the round trip of json -> meshconfig ->
json is lossy. See https://github.com/istio/istio/issues/22948 for more
information

* fix protolock

* Add shell

* release lock

* test
2020-04-16 11:46:46 -07:00
Shriram Rajagopalan ce1b8dd24c
Localhost TLS termination and initiation in Sidecar (#1333)
* Localhost TLS termination and initiation in Sidecar

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* cleanup gateway SDS documentation

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* nits

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* release lock status

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* update release locks

* nits

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* undo

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
2020-03-26 12:33:17 -07:00
Shriram Rajagopalan 8217d7225b
VMs: Separate endpoints from service entry into WorkloadEntry (#1331)
* Separate endpoints from service entry

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* fixes

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* sync

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* move message out

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* renaming

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* generate files

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* update release lock status

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* make gen

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* bad merge

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
2020-03-24 17:53:57 -07:00
Shriram Rajagopalan 32b3c42553
Remove old envoyfilter fields (#1344)
* Remove old envoyfilter fields

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* release lock status

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
2020-03-24 08:51:20 -07:00
John Howard 6bfc9cb1f4
Add UNSPECIFIED option for ingress mode (#1342)
* Add UNSPECIFIED option for ingress mode

Otherwise, its impossible to tell if something is set or if its OFF,
meaning we cannot change the default. This blocks
https://github.com/istio/istio/pull/22326

I am not sure if this is something that is legal to change though...

* Fix locks
2020-03-23 12:55:49 -07:00
Martin Ostrowski cca495b82b
Change int or strings fields to interface type for yaml unmarshal (#1297)
* Change int or strings fields to interface type for yaml unmarshal

* Update 1.5 proto lock
2020-02-25 18:45:46 -08:00
Martin Ostrowski 9564cdd03c
Tag must be interface{} type for unmarshaling (#1275)
* Tag must be interface{} type for unmarshaling

* Update releaselocks
2020-02-07 18:09:12 -08:00
Jason Wang 10b8d8b27e Add release-1.5 protolock (#1258)
* Add release-1.5 protolock

* fix go linter

* proto commit
2020-01-28 11:40:49 -08:00
aattuluri 9a5ec23e27 Add locality load balancer settings on destination rule (#1141)
* Move locality load balancer settings to destination rule and use it in config.

* Add proto generated files with protolock

* Update based on proto run.

* Fix conventions

* Additional changes after generation

* Update the protolock status files.

* Add locality load balancer settings under port traffic policy

* Moved locality load balancer settings under load balancer settings.

* Remove extra lines added.

* Update after make gen.
2019-10-28 11:16:01 -07:00
Jason Wang e33ecc3d73 add release 1.4 protolock (#1131) 2019-10-16 15:45:07 -07:00
Jason Wang bfa91e88ab Change quota charge to int32 (#1129)
* Change quota charge to int32

* update proto lock

* retro add release locks
2019-10-15 14:07:38 -07:00
Yangmin Zhu 3a122a92ea remove the out-dated authorization policy (#1031)
* remove the out-dated authorization policy

* fix releaselock-1.1
2019-08-12 18:22:52 -07:00
Shriram Rajagopalan 812ed88951
Enhancing EnvoyFilter with listener/cluster/route mods (#899)
* Add replace/merge semantics in EnvoyFilter

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

* updates

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

* Using JSON XPaths

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* doc updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* protolock

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* proto lock

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* release-lock status

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* undo

* Revert "undo"

This reverts commit ae659a19b3.

* proper undo

* multiple matches

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* doc updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* rework apis

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* fixes

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* update release lock

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* updates

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* fixes

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* port names

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>

* hide from docs

Signed-off-by: Shriram Rajagopalan <rshriram@tetrate.io>
2019-06-24 14:16:44 -04:00
Jeff Mendoza 4ea7534227 Setup CI to test for incompatible changes against 1.0 and 1.1 (#707)
* Test for incompatible changes against existing releases.

Add Makefile target to test curent protos against proto.lock files
from previous releases.

* Review comments.
2019-03-12 11:01:35 -07:00