diff --git a/artifacts/bundle.yml b/artifacts/bundle.yml index 8a62b5a..23123ec 100644 --- a/artifacts/bundle.yml +++ b/artifacts/bundle.yml @@ -37,6 +37,8 @@ spec: type: string metadata: type: string + alpha: + type: string async: type: string pattern: '^(optional|required|unsupported)$' diff --git a/pkg/apis/automationbroker.io/v1/types.go b/pkg/apis/automationbroker.io/v1/types.go index a81d2a2..0b81f87 100644 --- a/pkg/apis/automationbroker.io/v1/types.go +++ b/pkg/apis/automationbroker.io/v1/types.go @@ -66,7 +66,9 @@ type BundleSpec struct { Async AsyncType `json:"async"` // Store the metadata as a json encoded string to preserve the genericness Metadata string `json:"metadata"` - Plans []Plan `json:"plans"` + // Store the alpha map as a json encoded string to preserve the genericness + Alpha string + Plans []Plan `json:"plans"` } // Plan - a plan for a bundle spec