-
Notifications
You must be signed in to change notification settings - Fork 91
Make istioctl consistent for manager and mixer commands #649
Comments
Client and server configuration code layout could also be reorganized under common |
Would you like some help with this? Either a "UI design" of what the CLI commands should be or an implementation? |
I expect this to be largely dependent on the outcome of istio/api#94. In particular, we're trying to figure out what goes into the common meta header vs. resource specific body, e.g. are scope/subject encoded in resource name v.s. fields in spec. I'd like to target this work to start after ALPHA release to avoid code / UI churn. |
Over on the Mixer issues, a user has requested a command to list subjects. I'd like to see commands to list scopes and anything else that is exposed by the mixer REST API. This work item is dependend on istio/api#94 which is a design item. How does the team collaborate on design items? Are there design meetings in addition to the standups? |
There has been design discussions inside mixer team with a write-up regarding the future directions of the mixer and its config. It seems like the current config API is going to be largely deprecated but I don't know details. |
Issue moved to istio/galley #12 via ZenHub |
istioctl's proxy rules are fully self-describing and only verbs are external to the configuration file. Mixer commands are not and require passing additional kind, scope, and subject as command line parameters. Unify this scheme between manager and mier for user-facing APIs so that
istio <verb> -f <rule.yaml>
is sufficient for all istio configuration.... where proxy rule would remain the same,
... and mixer rule would look something like the following,
Implementation
ServiceConfig exists as a top-level proto for fully self-described mixer rule but it is marked as deprecated. This should be un-deprecated (or equivalent added) and top-level proto message added to contains both mixer and proxy rules (via oneof, google.protobuf.Any, etc). istioctl would then parse YAML (or prototext) versions of this top-level proto and send to mixer/manager API server.
The text was updated successfully, but these errors were encountered: