k3s/api
Kubernetes Submit Queue 169bfbc7f5
Merge pull request #66102 from nikhita/add-optional-comment-tags
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

apiextensions: add optional comment tags

Adds `// +optional` comment tags to fields which are optional/omitempty for CRD types.

These tags are used for openapi generation:

0cf8f7e6ed/pkg/generators/openapi.go (L361-L362)

0cf8f7e6ed/pkg/generators/openapi.go (L81-L89)

**Release note**:

```release-note
NONE
```
2018-08-21 07:59:00 -07:00
..
api-rules Remove references to the config structs that have moved to their own shared packages 2018-08-14 19:02:06 +03:00
openapi-spec Merge pull request #66102 from nikhita/add-optional-comment-tags 2018-08-21 07:59:00 -07:00
swagger-spec Autogen 2018-08-13 14:57:02 -04:00
OWNERS Create api-{approvers,reviewers} alias 2017-10-18 10:54:28 -07:00