summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/plugins/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'src/k8splugin/plugins/deployment')
-rw-r--r--src/k8splugin/plugins/deployment/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/plugins/deployment/plugin.go b/src/k8splugin/plugins/deployment/plugin.go
index 97330b5b..84d01a7d 100644
--- a/src/k8splugin/plugins/deployment/plugin.go
+++ b/src/k8splugin/plugins/deployment/plugin.go
@@ -31,7 +31,7 @@ func Create(data *krd.ResourceData, client kubernetes.Interface) (string, error)
if namespace == "" {
namespace = "default"
}
- obj, err := krd.DecodeYAML(data.YamlFilePath)
+ obj, err := krd.DecodeYAML(data.YamlFilePath, nil)
if err != nil {
return "", pkgerrors.Wrap(err, "Decode deployment object error")
}