mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
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:
parent
1ed3607a86
commit
0aa2e975a4
@ -5754,9 +5754,9 @@ type Secret struct {
|
|||||||
Data map[string][]byte `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
|
Data map[string][]byte `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`
|
||||||
|
|
||||||
// stringData allows specifying non-binary secret data in string form.
|
// 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.
|
// 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
|
// +k8s:conversion-gen=false
|
||||||
// +optional
|
// +optional
|
||||||
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`
|
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`
|
||||||
|
Loading…
Reference in New Issue
Block a user