Revise wording for Secret stringData

The previous term “method” is confusing when this text becomes part of
the API reference, where stringData is just a field. Reword this.
This commit is contained in:
Tim Bannister 2021-02-15 18:12:06 +00:00
parent 1ed3607a86
commit 0aa2e975a4

View File

@ -5754,9 +5754,9 @@ type Secret struct {
Data map[string][]byte `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
// stringData allows specifying non-binary secret data in string form.
// It is provided as a write-only convenience method.
// It is provided as a write-only input field for convenience.
// All keys and values are merged into the data field on write, overwriting any existing values.
// It is never output when reading from the API.
// The stringData field is never output when reading from the API.
// +k8s:conversion-gen=false
// +optional
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`