mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
referenced the V1Secret type (#105901)
This commit is contained in:
parent
c9ddd248b6
commit
c2fba6b84d
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -8929,7 +8929,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"type": {
|
||||
"description": "Used to facilitate programmatic handling of secret data.",
|
||||
"description": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
@ -5105,6 +5105,7 @@ type Secret struct {
|
||||
Data map[string][]byte `datapolicy:"password,security-key,token"`
|
||||
|
||||
// Used to facilitate programmatic handling of secret data.
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
|
||||
// +optional
|
||||
Type SecretType
|
||||
}
|
||||
|
@ -4531,6 +4531,7 @@ message Secret {
|
||||
map<string, string> stringData = 4;
|
||||
|
||||
// Used to facilitate programmatic handling of secret data.
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
|
||||
// +optional
|
||||
optional string type = 3;
|
||||
}
|
||||
|
@ -5919,6 +5919,7 @@ type Secret struct {
|
||||
StringData map[string]string `json:"stringData,omitempty" protobuf:"bytes,4,rep,name=stringData"`
|
||||
|
||||
// Used to facilitate programmatic handling of secret data.
|
||||
// More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
|
||||
// +optional
|
||||
Type SecretType `json:"type,omitempty" protobuf:"bytes,3,opt,name=type,casttype=SecretType"`
|
||||
}
|
||||
|
@ -2066,7 +2066,7 @@ var map_Secret = map[string]string{
|
||||
"immutable": "Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.",
|
||||
"data": "Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4",
|
||||
"stringData": "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": "Used to facilitate programmatic handling of secret data.",
|
||||
"type": "Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types",
|
||||
}
|
||||
|
||||
func (Secret) SwaggerDoc() map[string]string {
|
||||
|
Loading…
Reference in New Issue
Block a user