added an openapi field to the kustomization file

This commit is contained in:
Natasha Sarkar
2021-01-22 16:06:57 -08:00
parent 021c3ce3fc
commit 866dbf2017
4 changed files with 315 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ type Kustomization struct {
// MetaData is a pointer to avoid marshalling empty struct
MetaData *ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
// OpenAPI contains information about what kubernetes schema to use.
OpenAPI map[string]string `json:"openapi,omitempty" yaml:"openapi,omitempty"`
//
// Operators - what kustomize can do.
//