Add support for CRDs

This commit is contained in:
Jingfang Liu
2018-06-11 14:12:48 -07:00
parent 9459665c96
commit 4f05482e00
8 changed files with 114 additions and 1 deletions

View File

@@ -44,6 +44,9 @@ type Kustomization struct {
// URLs and globs.
Resources []string `json:"resources,omitempty" yaml:"resources,omitempty"`
// CRDs specifies relative paths to custom resource definition files.
CRDs []string `json:"crds,omitempty" yaml:"crds,omitempty"`
// An Patch entry is very similar to an Resource entry.
// It specifies the relative paths within the package, and could be any
// format that kubectl -f allows.