mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #94161 from RyPeck/mark-volume-projection-as-optional
Make ProjectedVolumeSource optional
This commit is contained in:
commit
08d20fb1d9
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": {
|
||||
|
@ -3852,6 +3852,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