-
Notifications
You must be signed in to change notification settings - Fork 576
Create policy/v1beta1 protos. #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Makefile
Outdated
@@ -214,12 +214,18 @@ mixer_adapter_model_v1beta_protos := $(shell find $(mixer_adapter_model_v1beta_p | |||
mixer_adapter_model_v1beta_pb_gos := $(mixer_adapter_model_v1beta_protos:.proto=.pb.go) | |||
mixer_adapter_model_v1beta_pb_doc := $(mixer_adapter_model_v1beta_path)/istio.mixer.adapter.model.v1beta.pb.html | |||
|
|||
policy_v1beta_path := policy/v1beta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn’t it be v1beta1?
policy/v1beta/cfg.proto
Outdated
@@ -0,0 +1,214 @@ | |||
// Copyright 2016 Istio Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2018
Also can we use this opportunity to name this file to something more seo friendly ? I believe this is a key piece of mixer reference docs. So it could use a more friendly name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignore the renaming comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use v1beta1 for consistency with the standard pattern.
Do the same for mixer/adapter/model too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to see how that should reflect in |
istio/old_vendor-istio_repo#2 is merged Ran dep ensure A bit surprised the api SHA change didn’t trigger any file change istio/api#376 (comment)
I think I know why: it's pruned / not used yet We should change the bot a bit to also update vendor and the config to not prune istio.io/api |
* vendor_update_Feb17_2018 Ran dep ensure —update Also bump up fortio version Fixes #3585 * Update to head istio/old_vendor-istio_repo#2 is merged Ran dep ensure A bit surprised the api SHA change didn’t trigger any file change istio/api#376 (comment)
policy/v1beta/cfg.proto
Outdated
// $front_matter: redirect_from: /docs/reference/policy/policy-and-telemetry-rules.html | ||
|
||
// Describes the rules used to configure Mixer's policy and telemetry features. | ||
package istio.policy.v1beta; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why it's not v1beta1? no plan to make incompatible changes in beta?
Hi Joy,
This has been now fixed
https://github.com/istio/api/blob/master/policy/v1beta1/cfg.proto#L26
…On Sun, Feb 18, 2018 at 1:47 PM Joy Zhang ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In policy/v1beta/cfg.proto
<#376 (comment)>:
> +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+import "google/protobuf/struct.proto";
+import "policy/v1beta/value_type.proto";
+
+// $title: Policy and Telemetry Rules
+// $overview: Describes the rules used to configure Mixer's policy and telemetry features.
+// $location: https://istio.io/docs/reference/policy/istio.policy.v1beta.html
+// $front_matter: redirect_from: /docs/reference/policy/policy-and-telemetry-rules.html
+
+// Describes the rules used to configure Mixer's policy and telemetry features.
+package istio.policy.v1beta;
why it's not v1beta1? no plan to make incompatible changes in beta?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#376 (review)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AK6xEzeFAi5ObDomt-UMg9SbdKg25lRnks5tWJpigaJpZM4SHzDe>
.
--
*Thanks,*
*-SG*
|
Yes. it looks great. If we plan to move CRDs any time soon, please coordinate with @cmluciano |
Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
$
comments for docgen.