Skip to content
Permalink
Browse files

Merge pull request #99105 from sftim/20210215_improve_secret_api_notes

Revise wording for Secret stringData field
  • Loading branch information
k8s-ci-robot committed Feb 17, 2021
2 parents e26acc0 + 284e03e commit 68839ab771848c2512e9fb62f6cd2b955ee33d4b

Some generated files are not rendered by default. Learn more.

@@ -4429,9 +4429,9 @@ message Secret {
map<string, bytes> data = 2;

// 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
map<string, string> stringData = 4;
@@ -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"`

Some generated files are not rendered by default. Learn more.

@@ -3080,7 +3080,7 @@
"additionalProperties": {
"type": "string"
},
"description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. 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.",
"description": "stringData allows specifying non-binary secret data in string form. 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. The stringData field is never output when reading from the API.",
"type": "object"
},
"type": {
"additionalProperties": {
"type": "string"
},
"description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. 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.",
"description": "stringData allows specifying non-binary secret data in string form. 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. The stringData field is never output when reading from the API.",
"type": "object"
},
"type": {
"additionalProperties": {
"type": "string"
},
"description": "stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. 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.",
"description": "stringData allows specifying non-binary secret data in string form. 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. The stringData field is never output when reading from the API.",
"type": "object"
},
"type": {

0 comments on commit 68839ab

Please sign in to comment.