rename options to annotations

pull/2671/head
Kira 8 years ago
parent 3407f3af91
commit 5f92a6a356

@ -81,6 +81,6 @@ message Metadata {
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
string tillerVersion = 15; string tillerVersion = 15;
// Options is an unstructured key value map for user to store arbitrary data. // Annotations is an unstructured key value map for user to store arbitrary data.
map<string,string> options = 16; map<string,string> annotations = 16;
} }

@ -96,8 +96,8 @@ type Metadata struct {
// TillerVersion is a SemVer constraints on what version of Tiller is required. // TillerVersion is a SemVer constraints on what version of Tiller is required.
// See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons // See SemVer ranges here: https://github.com/Masterminds/semver#basic-comparisons
TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"` TillerVersion string `protobuf:"bytes,15,opt,name=tillerVersion" json:"tillerVersion,omitempty"`
// Options is an unstructured key value map for user to store arbitrary data. // Annotations is an unstructured key value map for user to store arbitrary data.
Options map[string]string `protobuf:"bytes,16,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 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"`
} }
func (m *Metadata) Reset() { *m = Metadata{} } func (m *Metadata) Reset() { *m = Metadata{} }
@ -210,9 +210,9 @@ func (m *Metadata) GetTillerVersion() string {
return "" return ""
} }
func (m *Metadata) GetOptions() map[string]string { func (m *Metadata) GetAnnotations() map[string]string {
if m != nil { if m != nil {
return m.Options return m.Annotations
} }
return nil return nil
} }
@ -226,31 +226,31 @@ func init() {
func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) } func init() { proto.RegisterFile("hapi/chart/metadata.proto", fileDescriptor2) }
var fileDescriptor2 = []byte{ var fileDescriptor2 = []byte{
// 409 bytes of a gzipped FileDescriptorProto // 412 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xd4, 0x40, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x52, 0x5d, 0x6b, 0xd5, 0x40,
0x14, 0x35, 0xdd, 0x8f, 0x6c, 0x6e, 0x5a, 0x5d, 0x2e, 0x52, 0xc6, 0x22, 0x12, 0x17, 0x1f, 0xf6, 0x10, 0x35, 0xbd, 0x9f, 0x99, 0x58, 0x0d, 0x83, 0x94, 0xb5, 0x88, 0x84, 0x8b, 0x42, 0x9e, 0x52,
0x69, 0x0b, 0x0a, 0x52, 0xea, 0x9b, 0x50, 0x7c, 0xd0, 0xee, 0x4a, 0xf0, 0x03, 0x7c, 0x1b, 0x93, 0x50, 0x90, 0xe2, 0x83, 0xa0, 0x50, 0xfa, 0xa0, 0xbd, 0x95, 0xe0, 0x07, 0xf8, 0xb6, 0x26, 0x43,
0x4b, 0x77, 0xe8, 0x66, 0x26, 0xcc, 0x4c, 0x2b, 0xfb, 0x63, 0xfd, 0x2f, 0x32, 0x37, 0x99, 0x6e, 0xef, 0xd2, 0x64, 0x37, 0xec, 0x6e, 0x2b, 0xf7, 0x47, 0xfb, 0x1f, 0x64, 0x37, 0xd9, 0x26, 0x95,
0x0a, 0xbe, 0xdd, 0x73, 0xce, 0xdc, 0x93, 0x9c, 0xcb, 0x81, 0x17, 0x5b, 0xd9, 0xaa, 0xf3, 0x6a, 0xbe, 0xcd, 0x39, 0x67, 0xe6, 0xec, 0x9e, 0x61, 0xe0, 0xf9, 0x8e, 0x77, 0xe2, 0xa4, 0xda, 0x71,
0x2b, 0xad, 0x3f, 0x6f, 0xc8, 0xcb, 0x5a, 0x7a, 0xb9, 0x6a, 0xad, 0xf1, 0x06, 0x21, 0x48, 0x2b, 0x6d, 0x4f, 0x5a, 0xb2, 0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