Skip to content

Commit 9d16863

Browse files
committed
Make ProjectedVolumeSource optional
1 parent ba10448 commit 9d16863

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

api/openapi-spec/swagger.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/generated.proto

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/core/v1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,7 @@ type ServiceAccountTokenProjection struct {
16151615
// Represents a projected volume source
16161616
type ProjectedVolumeSource struct {
16171617
// list of volume projections
1618+
// +optional
16181619
Sources []VolumeProjection `json:"sources" protobuf:"bytes,1,rep,name=sources"`
16191620
// Mode bits used to set permissions on created files by default.
16201621
// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.

0 commit comments

Comments
 (0)