Skip to content

Commit

Permalink
Merge pull request kubernetes#94161 from RyPeck/mark-volume-projectio…
Browse files Browse the repository at this point in the history
…n-as-optional

Make ProjectedVolumeSource optional
  • Loading branch information
k8s-ci-robot authored Aug 29, 2020
2 parents 044f910 + 9d16863 commit 08d20fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/generated.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions staging/src/k8s.io/api/core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 08d20fb

Please sign in to comment.