Recorder CRD, Records API, Redis deployment (#818)
This commit is contained in:
committed by
Ta-Ching Chen
parent
07ca5df8d0
commit
74a3a54543
@@ -1723,6 +1723,10 @@ func specSave(resource interface{}, specFile string) error {
|
||||
typedres.TypeMeta.APIVersion = SPEC_API_VERSION
|
||||
typedres.TypeMeta.Kind = "TimeTrigger"
|
||||
data, err = yaml.Marshal(typedres)
|
||||
case crd.Recorder:
|
||||
typedres.TypeMeta.APIVersion = SPEC_API_VERSION
|
||||
typedres.TypeMeta.Kind = "Recorder"
|
||||
data, err = yaml.Marshal(typedres)
|
||||
default:
|
||||
return fmt.Errorf("can't save resource %#v", resource)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user