mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Make ProjectedVolumeSource optional
This commit is contained in:
parent
ba10448445
commit
9d16863e2f
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -8899,9 +8899,6 @@
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"sources"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.core.v1.QuobyteVolumeSource": {
|
||||
|
@ -3853,6 +3853,7 @@ message Probe {
|
||||
// Represents a projected volume source
|
||||
message ProjectedVolumeSource {
|
||||
// list of volume projections
|
||||
// +optional
|
||||
repeated VolumeProjection sources = 1;
|
||||
|
||||
// Mode bits used to set permissions on created files by default.
|
||||
|
@ -1615,6 +1615,7 @@ type ServiceAccountTokenProjection struct {
|
||||
// Represents a projected volume source
|
||||
type ProjectedVolumeSource struct {
|
||||
// list of volume projections
|
||||
// +optional
|
||||
Sources []VolumeProjection `json:"sources" protobuf:"bytes,1,rep,name=sources"`
|
||||
// Mode bits used to set permissions on created files by default.
|
||||
// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
|
||||
|
Loading…
Reference in New Issue
Block a user