From 51166b423be8105c08d77ac0a1ad8a74b6662ca2 Mon Sep 17 00:00:00 2001 From: Kira Date: Fri, 14 Jul 2017 09:57:57 +0800 Subject: [PATCH] update explanation of annotations --- _proto/hapi/chart/metadata.proto | 3 ++- pkg/proto/hapi/chart/metadata.pb.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_proto/hapi/chart/metadata.proto b/_proto/hapi/chart/metadata.proto index 1daaf3b6c..44ab82635 100644 --- a/_proto/hapi/chart/metadata.proto +++ b/_proto/hapi/chart/metadata.proto @@ -81,6 +81,7 @@ message Metadata { // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons string tillerVersion = 15; - // Annotations is an unstructured key value map for user to store arbitrary data. + // Annotations are additional mappings uninterpreted by Tiller, + // made available for inspection by other applications. map annotations = 16; } diff --git a/pkg/proto/hapi/chart/metadata.pb.go b/pkg/proto/hapi/chart/metadata.pb.go index 5fccc062c..0574e6df9 100644 --- a/pkg/proto/hapi/chart/metadata.pb.go +++ b/pkg/proto/hapi/chart/metadata.pb.go @@ -96,7 +96,8 @@ type Metadata struct { // TillerVersion is a SemVer constraints on what version of Tiller is required. // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"` - // Annotations is an unstructured key value map for user to store arbitrary data. + // Annotations are additional mappings uninterpreted by Tiller, + // made available for inspection by other applications. Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` }